brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · d868918 Raw
37 lines · plain
1// RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+nmi   < %s 2>&1 | FileCheck %s2// RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+v8.8a < %s 2>&1 | FileCheck %s3// RUN: not llvm-mc -triple aarch64 -show-encoding               < %s 2>&1 | FileCheck %s --check-prefix=NO_NMI4// RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=-nmi   < %s 2>&1 | FileCheck %s --check-prefix=NO_NMI5 6msr ALLINT, #17msr ALLINT, #28msr ALLINT, x39mrs x2, ALLINT10mrs x11, icc_nmiar1_el111msr icc_nmiar1_el1, x1212 13// CHECK:         error: immediate must be an integer in range [0, 1].14// CHECK-NEXT:    msr ALLINT, #215// CHECK-NEXT:    ^16// CHECK-NEXT:         error: expected writable system register or pstate17// CHECK-NEXT:    msr icc_nmiar1_el1, x1218// CHECK-NEXT:    ^19 20// NO_NMI:      error: expected writable system register or pstate21// NO_NMI-NEXT: msr {{allint|ALLINT}}, #122// NO_NMI-NEXT: ^23// NO_NMI-NEXT: error: expected writable system register or pstate24// NO_NMI-NEXT: msr {{allint|ALLINT}}, #225// NO_NMI-NEXT: ^26// NO_NMI-NEXT: error: expected writable system register or pstate27// NO_NMI-NEXT: msr {{allint|ALLINT}}, x328// NO_NMI-NEXT: ^29// NO_NMI-NEXT: error: expected readable system register30// NO_NMI-NEXT: mrs x2, {{allint|ALLINT}}31// NO_NMI-NEXT: ^32// NO_NMI-NEXT: error: expected readable system register33// NO_NMI-NEXT: mrs x11, {{icc_nmiar1_el1|ICC_NMIAR1_EL1}}34// NO_NMI-NEXT: ^35// NO_NMI-NEXT: error: expected writable system register or pstate36// NO_NMI-NEXT: msr {{icc_nmiar1_el1|ICC_NMIAR1_EL1}}, x1237