73 lines · plain
1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+poe2 < %s 2>&1 \2// RUN: | FileCheck %s --check-prefix=CHECK-ERROR3// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+poe2,+tlbid < %s 2>&1 \4// RUN: | FileCheck %s --check-prefix=CHECK-NO-REGISTER5 6// Test without using +tlbid - no optional register operand allowed7 8plbi alle2is, x09// CHECK-ERROR: error: specified plbi op does not use a register10 11plbi alle2os, x012// CHECK-ERROR: error: specified plbi op does not use a register13 14plbi alle1is, x015// CHECK-ERROR: error: specified plbi op does not use a register16 17plbi alle1os, x018// CHECK-ERROR: error: specified plbi op does not use a register19 20plbi vmalle1is, x021// CHECK-ERROR: error: specified plbi op does not use a register22 23plbi vmalle1os, x024// CHECK-ERROR: error: specified plbi op does not use a register25 26plbi alle2isnxs, x027// CHECK-ERROR: error: specified plbi op does not use a register28 29plbi alle2osnxs, x030// CHECK-ERROR: error: specified plbi op does not use a register31 32plbi alle1isnxs, x033// CHECK-ERROR: error: specified plbi op does not use a register34 35plbi alle1osnxs, x036// CHECK-ERROR: error: specified plbi op does not use a register37 38plbi vmalle1isnxs, x039// CHECK-ERROR: error: specified plbi op does not use a register40 41plbi vmalle1osnxs, x042// CHECK-ERROR: error: specified plbi op does not use a register43 44// Tests where no optional register operand allowed45plbi alle2, x046// CHECK-ERROR: error: specified plbi op does not use a register47// CHECK-NO-REGISTER: error: specified plbi op does not use a register48 49plbi alle1, x050// CHECK-ERROR: error: specified plbi op does not use a register51// CHECK-NO-REGISTER: error: specified plbi op does not use a register52 53plbi vmalle1, x054// CHECK-ERROR: error: specified plbi op does not use a register55// CHECK-NO-REGISTER: error: specified plbi op does not use a register56 57plbi alle2nxs, x058// CHECK-ERROR: error: specified plbi op does not use a register59// CHECK-NO-REGISTER: error: specified plbi op does not use a register60 61plbi alle1nxs, x062// CHECK-ERROR: error: specified plbi op does not use a register63// CHECK-NO-REGISTER: error: specified plbi op does not use a register64 65plbi vmalle1nxs, x066// CHECK-ERROR: error: specified plbi op does not use a register67// CHECK-NO-REGISTER: error: specified plbi op does not use a register68 69plbi alle3, x070// CHECK-ERROR: error: specified plbi op does not use a register71// CHECK-NO-REGISTER: error: specified plbi op does not use a register72 73