|
|
|
|
|
by phire
2666 days ago
|
|
I even recall a remark in that study about how it was generating mostly RISC-like instructions, There is a very good reason for GCC's x86 backend to do this. Intel/AMD optimisation manuals provide a subset of x86 instructions that are worth using. Instructions that are actually fast in modern designs, that don't fall back to legacy microcode. This subset looks very RISC-like. Sure, x86 has CISC instructions that sometimes allow very dense code, but if you want your code to actually run fast you need to do it the RISC way. |
|