diff options
author | Michael Matz <matz@suse.de> | 2023-02-13 18:20:44 +0100 |
---|---|---|
committer | Michael Matz <matz@suse.de> | 2023-02-13 18:41:05 +0100 |
commit | 25a0d393c728314e257789b948c3a2c98aca7a70 (patch) | |
tree | 03ac3f8d1339bed5dca5c12aec0347a3f52df40d /opcodes | |
parent | da59d966b8d182653f9bf3cfa93f921e8993757b (diff) | |
download | binutils-25a0d393c728314e257789b948c3a2c98aca7a70.zip binutils-25a0d393c728314e257789b948c3a2c98aca7a70.tar.gz binutils-25a0d393c728314e257789b948c3a2c98aca7a70.tar.bz2 |
PR30120: fix x87 fucomp misassembled
this fixes the entry for 'fucomp' to use the correct Reg value
(otherwise it's assembled as 'fucom').
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/i386-opc.tbl | 2 | ||||
-rw-r--r-- | opcodes/i386-tbl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 4b7b789..2e39b71 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -651,7 +651,7 @@ fcompp, 0xded9, FP, NoSuf, {} fucom, 0xdd/4, i387, Modrm|NoSuf, { FloatReg } // alias for fucom %st(1) fucom, 0xdde1, i387, NoSuf, {} -fucomp, 0xdd/4, i387, Modrm|NoSuf, { FloatReg } +fucomp, 0xdd/5, i387, Modrm|NoSuf, { FloatReg } // alias for fucomp %st(1) fucomp, 0xdde9, i387, NoSuf, {} fucompp, 0xdae9, i387, NoSuf, {} diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h index 585a5bb..021f607 100644 --- a/opcodes/i386-tbl.h +++ b/opcodes/i386-tbl.h @@ -5290,7 +5290,7 @@ static const insn_template i386_optab[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } } }, - { MN_fucomp, 0xdd, 1, SPACE_BASE, 4, + { MN_fucomp, 0xdd, 1, SPACE_BASE, 5, { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, |