3 ms·
> Saying that one isa is faster or more energy efficient is like saying that c++ syntax is faster than java syntax Kind of. ISAs don't exist in a vacuum - for
by rbanffy 3y ago
> Saying that one isa is faster or more energy efficient is like saying that c++ syntax is faster than java syntax
Kind of.
ISAs don't exist in a vacuum - for a given transistor budget, they'll force chip design choices that will drive power consumption and performance. Decoding instructions is one thing, but reordering them quickly and efficiently is more impactful for both power (if it can be done with fewer transistors) and performance (if it can be done better/faster so that more instructions from more instruction flows can be retired at the same time).
I designed a beautiful ISA in college. It was a (mostly) stack machine with instructions designed to make a FORTH compiler extremely easy to implement. Unfortunately, it wouldn't be easy to evolve it past the point processors got faster than memory (I did not see that coming). It would, as originally designed, end up being unavoidably slow unless some fairly complicated caching were to be implemented.
Another interesting example is the Intel 432 and its bit-aligned instructions. A lot of silicon that could be better used elsewhere was dedicated to fetching instructions. It was also slower to implement.
On the x86 not being designed for efficiency, Intel has a whole line of CPUs designed for low-power environments. At some point, there was even a Motorola phone running Android on x86.
- snvzz 3y ago>On the x86 not being designed for efficiency, Intel has a whole line of CPUs designed for low-power environments. At some point, there was even a Motorola phone running Android on x86. Note it failed in the market, and was never competitive.
- rbanffy 3y agoIt failed on mobile phones. Atom and its descendants are in just about every cheap Windows tablet and small laptop, where being an x86 is advantageous.
- snvzz 3y agoWindows is (notably) not Android, and laptops/tablets do not run on the same power constraints a mobile phones does. Conversation went off the rails.