24 lines · plain
1// RUN: llvm-mc -triple aarch64 -mattr=+el3 -show-encoding < %s | FileCheck %s2// RUN: llvm-mc -triple aarch64 -mattr=+v8a -show-encoding < %s | FileCheck %s3// RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+v8r %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR4 5// The immediate defaults to zero6// CHECK: dcps3 // encoding: [0x03,0x00,0xa0,0xd4]7dcps38 9// CHECK: encoding: [0x83,0x00,0xa0,0xd4]10// CHECK: encoding: [0xe3,0x00,0x00,0xd4]11 12dcps3 #413smc #714 15// CHECK-ERROR: {{[0-9]+}}:{{[0-9]+}}: error: instruction requires: el316// CHECK-ERROR-NEXT: dcps317// CHECK-ERROR-NEXT: ^18// CHECK-ERROR-NEXT: {{[0-9]+}}:{{[0-9]+}}: error: instruction requires: el319// CHECK-ERROR-NEXT: dcps3 #420// CHECK-ERROR-NEXT: ^21// CHECK-ERROR-NEXT: {{[0-9]+}}:{{[0-9]+}}: error: instruction requires: el322// CHECK-ERROR-NEXT: smc #723// CHECK-ERROR-NEXT: ^24