mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-20 12:18:18 +00:00
Add lfence, mfence and sfence to x86.nz (#5193)
This commit is contained in:
parent
bc02cdb4b1
commit
50aed82b66
@ -325,6 +325,24 @@ static int assemble(RAsm *a, RAsmOp *ao, const char *str) {
|
||||
data[l++] = 0x31;
|
||||
return l;
|
||||
}
|
||||
if (!strcmp (op, "lfence")) {
|
||||
data[l++] = 0x0f;
|
||||
data[l++] = 0xae;
|
||||
data[l++] = 0xe8;
|
||||
return l;
|
||||
}
|
||||
if (!strcmp (op, "mfence")) {
|
||||
data[l++] = 0x0f;
|
||||
data[l++] = 0xae;
|
||||
data[l++] = 0xf0;
|
||||
return l;
|
||||
}
|
||||
if (!strcmp (op, "sfence")) {
|
||||
data[l++] = 0x0f;
|
||||
data[l++] = 0xae;
|
||||
data[l++] = 0xf8;
|
||||
return l;
|
||||
}
|
||||
if (!strncmp (op, "set", 3)) {
|
||||
#if 0
|
||||
SETAE/SETNB - Set if Above or Equal / Set if Not Below (386+)
|
||||
|
Loading…
Reference in New Issue
Block a user