4 ms·
x86 was designed back when people wrote significant chunks of code in assembly not because they wanted to shave some time off a critical subroutine, but because
by dietrichepp 10y ago
x86 was designed back when people wrote significant chunks of code in assembly not because they wanted to shave some time off a critical subroutine, but because they didn't even have a compiler. Under those conditions, I'd rather have x86 than PowerPC or ARM, it's just less typing.
- duaneb 10y agoWhile this is true, that form of coding is... dead. It doesn't produce better compilation backends—if you're working with strings, chances are the compiler will ignore most of the string instructions but LODS/LODSB/LODSW/LODSD.