Skip to content

Commit

Permalink
Make fucomip an alias of fucompi
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Nov 24, 2023
1 parent 0d13304 commit 1540d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion common/h/mnemonics/x86_entryIDs.h
Expand Up @@ -209,8 +209,9 @@ e_fsubr,
e_fsubrp,
e_fucom,
e_fucomi,
e_fucomip,
e_fucomp,
e_fucompi,
e_fucomip = e_fucompi,
e_fucompp,
e_fxch,
e_fxrstor,
Expand Down
4 changes: 2 additions & 2 deletions common/src/arch-x86.C
Expand Up @@ -1043,7 +1043,7 @@ COMMON_EXPORT dyn_hash_map<entryID, std::string> entryNames_IAPI = map_list_of
(e_fucom, "fucom")
(e_fucomp, "fucomp")
(e_fucomi, "fucomi")
(e_fucomip, "fucomip")
(e_fucompi, "fucompi")
(e_fucompp, "fucompp")
(e_fxch, "fxch")
(e_fxrstor, "fxrstor")
Expand Down Expand Up @@ -3596,7 +3596,7 @@ static ia32_entry fpuMap[][2][8] = {
{ e_fstp, t_done, 0, true, { Ef, ST0, Zz }, 0, sNONE, 0 },
{ e_fstp, t_done, 0, true, { Ef, ST0, Zz }, 0, sNONE, 0 },
{ e_fnstsw, t_done, 0, true, { AX, Zz, Zz }, 0, s1W, 0 },
{ e_fucomip, t_done, 0, true, { ST0, Ef, Zz }, 0, s1RW2R, 0 }, // stack pop
{ e_fucompi, t_done, 0, true, { ST0, Ef, Zz }, 0, s1RW2R, 0 }, // stack pop
{ e_fcompi, t_done, 0, true, { ST0, Ef, Zz }, 0, s1RW2R, 0 }, // stack pop
{ e_No_Entry, t_done, 0, true, { Zz, Zz, Zz }, 0, sNONE, 0 },
}
Expand Down

0 comments on commit 1540d81

Please sign in to comment.