X86: Fix the indexing for ah in byte multiply instructions.
This commit is contained in:
parent
df1abc4412
commit
abe8fb3844
|
@ -63,8 +63,7 @@ def macroop MUL_B_R
|
||||||
{
|
{
|
||||||
mul1u rax, reg
|
mul1u rax, reg
|
||||||
mulel rax
|
mulel rax
|
||||||
# Really ah
|
muleh ah, flags=(OF,CF)
|
||||||
muleh rsi, flags=(OF,CF)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
def macroop MUL_B_M
|
def macroop MUL_B_M
|
||||||
|
@ -72,8 +71,7 @@ def macroop MUL_B_M
|
||||||
ld t1, seg, sib, disp
|
ld t1, seg, sib, disp
|
||||||
mul1u rax, t1
|
mul1u rax, t1
|
||||||
mulel rax
|
mulel rax
|
||||||
# Really ah
|
muleh ah, flags=(OF,CF)
|
||||||
muleh rsi, flags=(OF,CF)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
def macroop MUL_B_P
|
def macroop MUL_B_P
|
||||||
|
@ -82,8 +80,7 @@ def macroop MUL_B_P
|
||||||
ld t1, seg, riprel, disp
|
ld t1, seg, riprel, disp
|
||||||
mul1u rax, t1
|
mul1u rax, t1
|
||||||
mulel rax
|
mulel rax
|
||||||
# Really ah
|
muleh ah, flags=(OF,CF)
|
||||||
muleh rsi, flags=(OF,CF)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -122,8 +119,7 @@ def macroop IMUL_B_R
|
||||||
{
|
{
|
||||||
mul1s rax, reg
|
mul1s rax, reg
|
||||||
mulel rax
|
mulel rax
|
||||||
# Really ah
|
muleh ah, flags=(OF,CF)
|
||||||
muleh rsi, flags=(OF,CF)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
def macroop IMUL_B_M
|
def macroop IMUL_B_M
|
||||||
|
@ -131,8 +127,7 @@ def macroop IMUL_B_M
|
||||||
ld t1, seg, sib, disp
|
ld t1, seg, sib, disp
|
||||||
mul1s rax, t1
|
mul1s rax, t1
|
||||||
mulel rax
|
mulel rax
|
||||||
# Really ah
|
muleh ah, flags=(OF,CF)
|
||||||
muleh rsi, flags=(OF,CF)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
def macroop IMUL_B_P
|
def macroop IMUL_B_P
|
||||||
|
@ -141,8 +136,7 @@ def macroop IMUL_B_P
|
||||||
ld t1, seg, riprel, disp
|
ld t1, seg, riprel, disp
|
||||||
mul1s rax, t1
|
mul1s rax, t1
|
||||||
mulel rax
|
mulel rax
|
||||||
# Really ah
|
muleh ah, flags=(OF,CF)
|
||||||
muleh rsi, flags=(OF,CF)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue