]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: CPU-qualify {disp16} / {disp32}
authorJan Beulich <jbeulich@suse.com>
Fri, 17 Nov 2023 10:23:20 +0000 (11:23 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 Nov 2023 10:23:20 +0000 (11:23 +0100)
commit3086ed9a458f9bc3a52633fc2a10ffc3f21753f4
tree2aacba95741530a3bf6d1f7f7c9dca296e79c0fc
parented049bd6d8108f0e762c58b9c90334ea1f2cb0e9
x86: CPU-qualify {disp16} / {disp32}

{disp16} is invalid to use in 64-bit mode, while {disp32} is invalid to
use on pre-386 CPUs. The latter, also affecting other (real) prefixes,
further requires that like for insns we fully check the CPU flags; till
now only Cpu64/CpuNo64 were taken into consideration.
gas/config/tc-i386.c
gas/testsuite/gas/i386/prefix32.l
gas/testsuite/gas/i386/prefix32.s
gas/testsuite/gas/i386/prefix64.l
gas/testsuite/gas/i386/prefix64.s
opcodes/i386-opc.tbl
opcodes/i386-tbl.h