commit | 3e4a511bee874d73f9f749cc8cf3bc748b4d47b5 | [log] [tgz] |
---|---|---|
author | Jan Beulich <jbeulich@suse.com> | Fri Dec 22 09:34:10 2023 +0100 |
committer | Jan Beulich <jbeulich@suse.com> | Fri Dec 22 09:34:10 2023 +0100 |
tree | ef60a2e3f33f6e5ceabe27ffcdc316ed47d24ba9 | |
parent | ce7056886a6e52a4fc91b5e3b28da2c0735d0b19 [diff] |
x86-64: refuse "high" 8-bit regs with .insn and VEX/XOP/EVEX encodings Much like REX, those encodings - if permitting 8-bit regs at all, i.e. only starting with APX - permit use of "new" 8-bit registers only. %ah, %ch, %dh, and %bh cannot be encoded and hence should be rejected. Permit their use outside of 64-bit code though, as "new" registers simply don't exist there.