Skip to content

Commit

Permalink
Make e_fstenv an alias of e_fnstenv
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Nov 24, 2023
1 parent 27d49e6 commit 00d015f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion common/h/mnemonics/x86_entryIDs.h
Expand Up @@ -186,9 +186,10 @@ e_fprem,
e_frstor,
e_fsave,
e_fst,
e_fstenv,
e_fnstcw,
e_fstcw = e_fnstcw,
e_fnstenv,
e_fstenv = e_fnstenv,
e_fstp,
e_fstsw,
e_fsub,
Expand Down
4 changes: 2 additions & 2 deletions common/src/arch-x86.C
Expand Up @@ -1033,7 +1033,7 @@ COMMON_EXPORT dyn_hash_map<entryID, std::string> entryNames_IAPI = map_list_of
(e_fsave, "fsave")
(e_fst, "fst")
(e_fnstcw, "fnstcw")
(e_fstenv, "fstenv")
(e_fnstenv, "fnstenv")
(e_fstp, "fstp")
(e_fstsw, "fstsw")
(e_fsub, "fsub")
Expand Down Expand Up @@ -3455,7 +3455,7 @@ static ia32_entry fpuMap[][2][8] = {
{ e_fstp, t_done, 0, true, { Ef, ST0, Zz }, 0, s1W2R, 0 }, // stack pop
{ e_fldenv, t_done, 0, true, { M14, Zz, Zz }, 0, s1R, 0 },
{ e_fldcw, t_done, 0, true, { Ew, Zz, Zz }, 0, s1R, 0 },
{ e_fstenv, t_done, 0, true, { M14, Zz, Zz }, 0, s1W, 0 },
{ e_fnstenv, t_done, 0, true, { M14, Zz, Zz }, 0, s1W, 0 },
{ e_fnstcw, t_done, 0, true, { Ew, Zz, Zz }, 0, s1W, 0 }
},
{ // D9
Expand Down
2 changes: 1 addition & 1 deletion dataflowAPI/src/convertOpcodes.C
Expand Up @@ -408,7 +408,7 @@ X86InstructionKind RoseInsnX86Factory::convertKind(entryID opcode, prefixEntryID
return x86_fst;
case e_fnstcw:
return x86_fnstcw;
case e_fstenv:
case e_fnstenv:
return x86_fnstenv;
case e_fstp:
return x86_fstp;
Expand Down

0 comments on commit 00d015f

Please sign in to comment.