by plexchat · 10y ago · 0 comments
intel CPU is just crap from a design standpoint, and since they had to remain backward compatible, it's gotten a lot faster with lots and lots of tricks, but it still sucks in 32-bit mode. No amount of tricks will change that. It has to be run in 64-bit mode to gain a performance boost and simplify the code, whereas processors with fixed 32-bit instruction encoding run faster in 32-bit mode and code simplicity is a constant.
> ... far more elegant than a 32-bit four register intel CPU.
I count eight: EAX, EBX, ECX, EDX, ESI, EDI, EBP, ESP.
x86 has also advantage of supporting arbitrary immediate values, so you don't need to allocate registers just for constants.