]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: improve matching diagnostics when %st is involved
authorJan Beulich <jbeulich@suse.com>
Fri, 16 May 2025 08:32:19 +0000 (10:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 May 2025 08:32:19 +0000 (10:32 +0200)
commit101b4bb8f4ae546fe5f2291e9501bee4239123ff
tree9ace78862e21fa1df494f404f9608479976d9052
parenta7148a799b2a4c7e2be56b21f6d01018a6b27895
x86: improve matching diagnostics when %st is involved

Diagnosing operand size vs operand type mismatches doesn't work very
well when GPRs and FPRs are in the same register class, distinguished
just by size. Introduce a separate RegFP class.
gas/config/tc-i386.c
gas/testsuite/gas/i386/inval-type.l
gas/testsuite/gas/i386/inval-type.s
opcodes/i386-gen.c
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-reg.tbl
opcodes/i386-tbl.h