29 lines · plain
1# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s --check-prefixes=ATT2# RUN: llvm-mc --disassemble %s -triple=x86_64 --output-asm-variant=1 | FileCheck %s --check-prefixes=INTEL3 4# ATT: urdmsr $123, %r95# INTEL: urdmsr r9, 12360xc4,0xc7,0x7b,0xf8,0xc1,0x7b,0x00,0x00,0x007 8# ATT: urdmsr %r9, %r99# INTEL: urdmsr r9, r9100xf2,0x45,0x0f,0x38,0xf8,0xc911 12# Test if WIG is supported for this instruction/form.13# ATT: urdmsr %r9, %r914# INTEL: urdmsr r9, r9150xf2,0x4d,0x0f,0x38,0xf8,0xc916 17# ATT: uwrmsr %r9, $12318# INTEL: uwrmsr 123, r9190xc4,0xc7,0x7a,0xf8,0xc1,0x7b,0x00,0x00,0x0020 21# ATT: uwrmsr %r9, %r922# INTEL: uwrmsr r9, r9230xf3,0x45,0x0f,0x38,0xf8,0xc924 25# Test if WIG is supported for this instruction/form.26# ATT: uwrmsr %r9, %r927# INTEL: uwrmsr r9, r9280xf3,0x4d,0x0f,0x38,0xf8,0xc929