41 lines · plain
1# Xqciio - Qualcomm uC External Input Output Extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqciio < %s 2>&1 \3# RUN: | FileCheck -check-prefixes=CHECK,CHECK-PLUS %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqciio < %s 2>&1 \5# RUN: | FileCheck -check-prefixes=CHECK,CHECK-MINUS %s6 7# CHECK: :[[@LINE+1]]:18: error: expected register8qc.outw x5, 2048(10)9 10# CHECK-PLUS: :[[@LINE+1]]:13: error: immediate must be a multiple of 4 bytes in the range [0, 16380]11qc.outw x5, x1012 13# CHECK-MINUS: :[[@LINE+1]]:13: error: invalid operand for instruction14qc.outw x5, x1015 16# CHECK-PLUS: :[[@LINE+1]]:13: error: immediate must be a multiple of 4 bytes in the range [0, 16380]17qc.outw x5, 4099(x10)18 19# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqciio' (Qualcomm uC External Input Output Extension)20qc.outw x5, 2048(x10)21 22 23# CHECK: :[[@LINE+1]]:19: error: expected register24qc.inw x23, 16380(17)25 26# CHECK-PLUS: :[[@LINE+1]]:13: error: immediate must be a multiple of 4 bytes in the range [0, 16380]27qc.inw x23, x1728 29# CHECK-MINUS: :[[@LINE+1]]:13: error: invalid operand for instruction30qc.inw x23, x1731 32# CHECK-PLUS: :[[@LINE+2]]:8: error: register must be a GPR excluding zero (x0)33# CHECK-MINUS: :[[@LINE+1]]:8: error: invalid operand for instruction34qc.inw x0, 16380(x17)35 36# CHECK-PLUS: :[[@LINE+1]]:13: error: immediate must be a multiple of 4 bytes in the range [0, 16380]37qc.inw x23, 16384(x17)38 39# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqciio' (Qualcomm uC External Input Output Extension)40qc.inw x23, 16380(x17)41