6 ms·
If you dropped 16-bit and i386 then you might be able to reuse some of the shorter instruction codes like 0x62 (BOUND) that aren't supported in x86-64. Decoder
by astrange 5y ago
If you dropped 16-bit and i386 then you might be able to reuse some of the shorter instruction codes like 0x62 (BOUND) that aren't supported in x86-64.
Decoders aren't the problem with variable length instructions anyway (and they can be good for performance because they're cache efficient.) The main problem is security because you can obfuscate programs by jumping into the middle of instructions.
- colejohnson66 5y agoNitpick: 0x62 can’t be reused as it’s already been repurposed for the EVEX prefix ;)
- astrange 5y agoOh yeah, I just knew there's some x86 emulators that don't bother implementing it and nobody's ever noticed.