xref: /llvm-project/llvm/test/MC/X86/RDPRU.s (revision 08e4fe6c61967d5c6c16ef7a4cc63d51c4992b55)
1/// Encoding and disassembly of rdpru.
2
3// RUN: llvm-mc -triple i686-- --show-encoding %s |\
4// RUN:   FileCheck %s --check-prefixes=CHECK,ENCODING
5
6// RUN: llvm-mc -triple i686-- -filetype=obj %s |\
7// RUN:   llvm-objdump -d - | FileCheck %s
8
9// RUN: llvm-mc -triple x86_64-- --show-encoding %s |\
10// RUN:   FileCheck %s --check-prefixes=CHECK,ENCODING
11
12// RUN: llvm-mc -triple x86_64-- -filetype=obj %s |\
13// RUN:   llvm-objdump -d - | FileCheck %s
14
15// CHECK: rdpru
16// ENCODING:  encoding: [0x0f,0x01,0xfd]
17rdpru
18