1 # RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT
2 # RUN: llvm-mc --disassemble %s -triple=x86_64 --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL
4 # ATT: urdmsr $123, %r9
5 # INTEL: urdmsr r9, 123
6 0xc4,0xc7,0x7b,0xf8,0xc1,0x7b,0x00,0x00,0x00
10 0xf2,0x45,0x0f,0x38,0xf8,0xc9
12 # Test if WIG is supported for this instruction/form.
13 # ATT: urdmsr %r9, %r9
14 # INTEL: urdmsr r9, r9
15 0xf2,0x4d,0x0f,0x38,0xf8,0xc9
17 # ATT: uwrmsr %r9, $123
18 # INTEL: uwrmsr 123, r9
19 0xc4,0xc7,0x7a,0xf8,0xc1,0x7b,0x00,0x00,0x00
21 # ATT: uwrmsr %r9, %r9
22 # INTEL: uwrmsr r9, r9
23 0xf3,0x45,0x0f,0x38,0xf8,0xc9
25 # Test if WIG is supported for this instruction/form.
26 # ATT: uwrmsr %r9, %r9
27 # INTEL: uwrmsr r9, r9
28 0xf3,0x4d,0x0f,0x38,0xf8,0xc9