X86: Implement a locking version of NEG.
This commit is contained in:
parent
9b9b7a412c
commit
2394f73f90
1 changed files with 15 additions and 0 deletions
|
@ -425,4 +425,19 @@ def macroop NEG_P
|
|||
sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
|
||||
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
|
||||
};
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue