History

x86-asm: Implement prefetchw opcode

Michael Matz committed 10 years ago

Commit 10e4db41 parent 56927162 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
@@ -622,6 +622,7 @@ int $0x10 · 621 unmodified lines
622 prefetcht0 (%rcx)622 prefetcht0 (%rcx)
623 prefetcht1 (%rsi)623 prefetcht1 (%rsi)
624 prefetcht2 (%rdi)624 prefetcht2 (%rdi)
625 prefetchw (%rdi)
625 clflush 0x1000(%rax,%rcx)626 clflush 0x1000(%rax,%rcx)
626 fxsaveq (%rdx)627 fxsaveq (%rdx)
627 fxrstorq (%rcx)628 fxrstorq (%rcx)
x86_64-asm.h+1−0
@@ -507,6 +507,7 @@ ALT(DEF_ASM_OP2(movhps, 0x0f17, 0, OPC_MODRM, OPT_SSE, OPT_EA | OPT_REG32 )) · 506 unmodified lines
507 DEF_ASM_OP1(prefetcht0, 0x0f18, 1, OPC_MODRM, OPT_EA)507 DEF_ASM_OP1(prefetcht0, 0x0f18, 1, OPC_MODRM, OPT_EA)
508 DEF_ASM_OP1(prefetcht1, 0x0f18, 2, OPC_MODRM, OPT_EA)508 DEF_ASM_OP1(prefetcht1, 0x0f18, 2, OPC_MODRM, OPT_EA)
509 DEF_ASM_OP1(prefetcht2, 0x0f18, 3, OPC_MODRM, OPT_EA)509 DEF_ASM_OP1(prefetcht2, 0x0f18, 3, OPC_MODRM, OPT_EA)
510 DEF_ASM_OP1(prefetchw, 0x0f0d, 1, OPC_MODRM, OPT_EA)
510 DEF_ASM_OP0L(lfence, 0x0fae, 5, OPC_MODRM)511 DEF_ASM_OP0L(lfence, 0x0fae, 5, OPC_MODRM)
511 DEF_ASM_OP0L(mfence, 0x0fae, 6, OPC_MODRM)512 DEF_ASM_OP0L(mfence, 0x0fae, 6, OPC_MODRM)
512 DEF_ASM_OP0L(sfence, 0x0fae, 7, OPC_MODRM)513 DEF_ASM_OP0L(sfence, 0x0fae, 7, OPC_MODRM)

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