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
613 lfence613 lfence
614 mfence614 mfence
615 sfence615 sfence
616 clflush 0x1000(%rax,%rcx)
616#endif617#endif
617 618
618 emms619 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
488 DEF_ASM_OP0L(lfence, 0x0fae, 5, OPC_MODRM)488 DEF_ASM_OP0L(lfence, 0x0fae, 5, OPC_MODRM)
489 DEF_ASM_OP0L(mfence, 0x0fae, 6, OPC_MODRM)489 DEF_ASM_OP0L(mfence, 0x0fae, 6, OPC_MODRM)
490 DEF_ASM_OP0L(sfence, 0x0fae, 7, OPC_MODRM)490 DEF_ASM_OP0L(sfence, 0x0fae, 7, OPC_MODRM)
491 DEF_ASM_OP1(clflush, 0x0fae, 7, OPC_MODRM, OPT_EA)
491#undef ALT492#undef ALT
492#undef DEF_ASM_OP0493#undef DEF_ASM_OP0
493#undef DEF_ASM_OP0L494#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