diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/Disassembler/X86/simple-tests.txt | 3 | ||||
-rw-r--r-- | llvm/test/MC/Disassembler/X86/x86-32.txt | 3 | ||||
-rw-r--r-- | llvm/test/MC/X86/x86-32.s | 4 | ||||
-rw-r--r-- | llvm/test/MC/X86/x86-64.s | 4 |
4 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/X86/simple-tests.txt b/llvm/test/MC/Disassembler/X86/simple-tests.txt index 620f2491970..86d9f92fbbf 100644 --- a/llvm/test/MC/Disassembler/X86/simple-tests.txt +++ b/llvm/test/MC/Disassembler/X86/simple-tests.txt @@ -964,3 +964,6 @@ 0x8f 0xe9 0x78 0x80 0x09 # CHECK: vfrczps %ymm2, %ymm4 0x8f 0xe9 0x7c 0x80 0xe2 + +# CHECK: rdpid %rax +0xf3 0x0f 0xc7 0xf8 diff --git a/llvm/test/MC/Disassembler/X86/x86-32.txt b/llvm/test/MC/Disassembler/X86/x86-32.txt index bf73338ed4f..b069de2fd51 100644 --- a/llvm/test/MC/Disassembler/X86/x86-32.txt +++ b/llvm/test/MC/Disassembler/X86/x86-32.txt @@ -808,3 +808,6 @@ 0x2e 0x67 0x66 0x89 0x1c # CHECK: movw %bx, %cs:(%si) 0x2e 0x66 0x67 0x89 0x1c + +# CHECK: rdpid %eax +0xf3 0x0f 0xc7 0xf8 diff --git a/llvm/test/MC/X86/x86-32.s b/llvm/test/MC/X86/x86-32.s index 6cba31adbb4..80acbba6ce8 100644 --- a/llvm/test/MC/X86/x86-32.s +++ b/llvm/test/MC/X86/x86-32.s @@ -1097,3 +1097,7 @@ data16 // CHECK: lgdtl 4(%eax) // CHECK: encoding: [0x0f,0x01,0x50,0x04] data16 lgdt 4(%eax) + +// CHECK: rdpid %eax +// CHECK: encoding: [0xf3,0x0f,0xc7,0xf8] +rdpid %eax diff --git a/llvm/test/MC/X86/x86-64.s b/llvm/test/MC/X86/x86-64.s index d697428a2c0..96d775270b5 100644 --- a/llvm/test/MC/X86/x86-64.s +++ b/llvm/test/MC/X86/x86-64.s @@ -1527,3 +1527,7 @@ nopq 0xdeadbeef(%rbx,%rcx,8) // CHECK: nopq %rax // CHECK: encoding: [0x48,0x0f,0x1f,0xc0] nopq %rax + +// CHECK: rdpid %rax +// CHECK: encoding: [0xf3,0x0f,0xc7,0xf8] +rdpid %rax |