History

x86-asm: Implement clflush opcode

Michael Matz committed 10 years ago

Commit 7e515461 parent e5f4f8d2 files · +2 −0Browse files

Unified · Split

2 files
  1. tests/asmtest.S +1 −0
  2. x86_64-asm.h +1 −0
tests/asmtest.S+1−0
@@ -613,6 +613,7 @@ int $0x10 · 612 unmodified lines
613613 lfence
614614 mfence
615615 sfence
616+ clflush 0x1000(%rax,%rcx)
616617 #endif
617618
618619 emms
x86_64-asm.h+1−0
@@ -488,6 +488,7 @@ ALT(DEF_ASM_OP2(movhps, 0x0f17, 0, OPC_MODRM, OPT_SSE, OPT_EA | OPT_REG32 )) · 487 unmodified lines
488488 DEF_ASM_OP0L(lfence, 0x0fae, 5, OPC_MODRM)
489489 DEF_ASM_OP0L(mfence, 0x0fae, 6, OPC_MODRM)
490490 DEF_ASM_OP0L(sfence, 0x0fae, 7, OPC_MODRM)
491+ DEF_ASM_OP1(clflush, 0x0fae, 7, OPC_MODRM, OPT_EA)
491492 #undef ALT
492493 #undef DEF_ASM_OP0
493494 #undef DEF_ASM_OP0L

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t