3 ms·
> Well, the entire debate is about generating architecture-independent code, so that's a good example. It should be possible to generate optimized code for AMD
by 1amzave 15y ago
> Well, the entire debate is about generating architecture-independent code, so that's a good example. It should be possible to generate optimized code for AMD and Intel using the same compiler. In practice, it doesn't really happen.
Wait, that's a good example? I still don't see how a compiler would (or should) care about VMM-acceleration ISA extensions. If I were writing a VMM and wanted to use those, how could I possibly express that without dropping into assembly?
- Locke1689 15y agoNo not VM code. Architecture independent arbitrary code. For any given C code your compiler should be able to generate optimized code for the Intel and AMD architectures. This doesn't actually happen. Sorry about the wording, I wrote that comment last night at 4 am.