15 lines · plain
1// RUN: llvm-mc -triple x86_64 --show-encoding %s | FileCheck %s2// RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR3 4// ERROR-COUNT-2: error:5// ERROR-NOT: error:6 7// CHECK: rdmsr $123, %r98// CHECK: encoding: [0xc4,0xc7,0x7b,0xf6,0xc1,0x7b,0x00,0x00,0x00]9 rdmsr $123, %r910 11// CHECK: wrmsrns %r9, $12312// CHECK: encoding: [0xc4,0xc7,0x7a,0xf6,0xc1,0x7b,0x00,0x00,0x00]13 wrmsrns %r9, $12314 15