mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
x86-asm: Implement clflush opcode
This commit is contained in:
parent
e5f4f8d0e7
commit
7e51546624
@ -613,6 +613,7 @@ int $0x10
|
||||
lfence
|
||||
mfence
|
||||
sfence
|
||||
clflush 0x1000(%rax,%rcx)
|
||||
#endif
|
||||
|
||||
emms
|
||||
|
@ -488,6 +488,7 @@ ALT(DEF_ASM_OP2(movhps, 0x0f17, 0, OPC_MODRM, OPT_SSE, OPT_EA | OPT_REG32 ))
|
||||
DEF_ASM_OP0L(lfence, 0x0fae, 5, OPC_MODRM)
|
||||
DEF_ASM_OP0L(mfence, 0x0fae, 6, OPC_MODRM)
|
||||
DEF_ASM_OP0L(sfence, 0x0fae, 7, OPC_MODRM)
|
||||
DEF_ASM_OP1(clflush, 0x0fae, 7, OPC_MODRM, OPT_EA)
|
||||
#undef ALT
|
||||
#undef DEF_ASM_OP0
|
||||
#undef DEF_ASM_OP0L
|
||||
|
Loading…
Reference in New Issue
Block a user