Skip to content

Commit

Permalink
Implement fnop; closes angr/pyvex#290
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot committed Jan 12, 2023
1 parent e8a5589 commit e75200b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions priv/guest_amd64_toIR.c
Original file line number Diff line number Diff line change
Expand Up @@ -6009,6 +6009,10 @@ ULong dis_FPU ( /*OUT*/Bool* decode_ok,
put_ST_UNCHECKED(r_src, mkexpr(t1));
break;

case 0xD0: /* FNOP */
DIP("fnop\n");
break;

case 0xE0: /* FCHS */
DIP("fchs\n");
put_ST_UNCHECKED(0, unop(Iop_NegF64, get_ST(0)));
Expand Down
4 changes: 4 additions & 0 deletions priv/guest_x86_toIR.c
Original file line number Diff line number Diff line change
Expand Up @@ -4442,6 +4442,10 @@ UInt dis_FPU ( Bool* decode_ok, UChar sorb, Int delta )
put_ST_UNCHECKED(r_src, mkexpr(t1));
break;

case 0xD0: /* FNOP */
DIP("fnop\n");
break;

case 0xE0: /* FCHS */
DIP("fchs\n");
put_ST_UNCHECKED(0, unop(Iop_NegF64, get_ST(0)));
Expand Down

0 comments on commit e75200b

Please sign in to comment.