Re:Three of Apple and Google’s former star chip designers la...
by chrisseaton on Saturday November 23, 2019 @05:38AM
(#21613454)
Are there any chips which support multiple ISAs? Could a single chip decode both AMD64 and ARM instruction streams? Or could the memory models not be unified so it's not possible?
[ Parent
| on HN ]
Re:Three of Apple and Google’s former star chip designers la...
by als0 on Saturday November 23, 2019 @06:23AM
(#21613584)
Yes there are chips that support multiple ISAs...although typically one ISA is more native. At least, I believe NVIDIA Denver qualifies as that[1]. Also I believe some Itanium chips had a (slow) x86 hardware decoder that changed the instructions into the native EPIC instruction set[2].
However, unifying the memory models sounds like a performance disaster for the ARM code. And having multiple decoders in hardware (as well as having enough of them) doesn't seem like a justifiable use of silicon real estate.
Re:Three of Apple and Google’s former star chip designers la...
by my123 on Saturday November 23, 2019 @06:50AM
(#21613665)
The x86 hardware decoder on Itanium turned out to be slower than a JIT, and was removed from hardware pretty quickly.
Also note that the x86 memory model is a perfectly valid implementation for an ARM chip, as it's a superset of the ARM memory model constraints. And the performance impact isn't that big really.
Re:Three of Apple and Google’s former star chip designers la...
by als0 on Saturday November 23, 2019 @07:13AM
(#21613729)
Yes, I agree with you. Many of the barrier instructions will end up as internal NOPs. Performance wouldn't be terrible. Power may suffer.
Re:Three of Apple and Google’s former star chip designers la...
by tyingq on Saturday November 23, 2019 @07:12AM
(#21613726)
Transmeta did this. It emulated the x86 ISA, though the actual ISA was not x86. They did a demo of it translating JVM bytecode directly to its own VLIW ISA with no x86 running at all.