X86: Implement a locking version of NOT.
This commit is contained in:
parent
b8f81c62a2
commit
9b9b7a412c
1 changed files with 17 additions and 0 deletions
|
@ -340,4 +340,21 @@ def macroop NOT_P
|
|||
xor t2, t2, t1
|
||||
st t2, seg, riprel, disp
|
||||
};
|
||||
|
||||
def macroop NOT_LOCKED_M
|
||||
{
|
||||
limm t1, -1
|
||||
ldstl t2, seg, sib, disp
|
||||
xor t2, t2, t1
|
||||
stul t2, seg, sib, disp
|
||||
};
|
||||
|
||||
def macroop NOT_LOCKED_P
|
||||
{
|
||||
limm t1, -1
|
||||
rdip t7
|
||||
ldstl t2, seg, riprel, disp
|
||||
xor t2, t2, t1
|
||||
stul t2, seg, riprel, disp
|
||||
};
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue