Skip to content

Commit da9e53a

Browse files
committed
Merge remote-tracking branch
'origin/GP-4249_ghidorahrex_x86_fbstp_fbld_fix' into patch (Closes NationalSecurityAgency#2426)
2 parents 47f5627 + 6481044 commit da9e53a

File tree

1 file changed

+4
-4
lines changed
  • Ghidra/Processors/x86/data/languages

1 file changed

+4
-4
lines changed

Ghidra/Processors/x86/data/languages/ia.sinc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4137,10 +4137,10 @@ define pcodeop f2xm1;
41374137
:FIADD spec_m32 is vexMode=0 & byte=0xDA; reg_opcode=0 ... & spec_m32 { ST0 = ST0 f+ int2float(spec_m32); }
41384138
:FIADD spec_m16 is vexMode=0 & byte=0xDE; reg_opcode=0 ... & spec_m16 { ST0 = ST0 f+ int2float(spec_m16); }
41394139

4140-
define pcodeop convert_bcd;
4141-
:FBLD spec_m80 is vexMode=0 & byte=0xDF; reg_opcode=4 ... & spec_m80 { fdec(); ST0 = convert_bcd(spec_m80); }
4142-
4143-
:FBSTP spec_m80 is vexMode=0 & byte=0xDF; reg_opcode=6 ... & spec_m80 { spec_m80 = convert_bcd(ST0); fpop(); }
4140+
define pcodeop from_bcd;
4141+
:FBLD spec_m80 is vexMode=0 & byte=0xDF; reg_opcode=4 ... & spec_m80 { fdec(); ST0 = from_bcd(spec_m80); }
4142+
define pcodeop to_bcd;
4143+
:FBSTP spec_m80 is vexMode=0 & byte=0xDF; reg_opcode=6 ... & spec_m80 { spec_m80 = to_bcd(ST0); fpop(); }
41444144

41454145
:FCHS is vexMode=0 & byte=0xD9; byte=0xE0 { ST0 = f- ST0; }
41464146

0 commit comments

Comments
 (0)