X86: Implement a locking version of NEG.

This commit is contained in:
Gabe Black 2009-04-19 04:56:28 -07:00
parent 9b9b7a412c
commit 2394f73f90

View file

@ -425,4 +425,19 @@ def macroop NEG_P
sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF) sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
st t1, seg, riprel, disp st t1, seg, riprel, disp
}; };
def macroop NEG_LOCKED_M
{
ldstl t1, seg, sib, disp
sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
stul t1, seg, sib, disp
};
def macroop NEG_LOCKED_P
{
rdip t7
ldstl t1, seg, riprel, disp
sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
stul t1, seg, riprel, disp
};
''' '''