brintos

brintos / llvm-project-archived public Read only

0
0
Text · 662 B · 570ce67 Raw
12 lines · plain
1// RUN: llvm-mc -triple aarch64 -mattr +spe-eef -show-encoding %s 2>%t | FileCheck %s2// RUN: not llvm-mc -triple aarch64 -mattr +v8.7a %s 2>&1 | FileCheck --check-prefix=CHECK-NO-SPE-EEF-ERR %s3// RUN: not llvm-mc -triple aarch64 < %s 2>&1 | FileCheck --check-prefix=CHECK-NO-SPE-EEF-ERR %s4 5msr PMSNEVFR_EL1, x06mrs x1, PMSNEVFR_EL17// CHECK: msr     PMSNEVFR_EL1, x0        // encoding: [0x20,0x99,0x18,0xd5]8// CHECK: mrs     x1, PMSNEVFR_EL1        // encoding: [0x21,0x99,0x38,0xd5]9 10// CHECK-NO-SPE-EEF-ERR: [[@LINE-5]]:5: error: expected writable system register or pstate11// CHECK-NO-SPE-EEF-ERR: [[@LINE-5]]:9: error: expected readable system register12