brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · d420bc1 Raw
47 lines · plain
1# Xqciac - Qualcomm uC Load-Store Address Calculation Extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqciac < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-IMM %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqciac < %s 2>&1 \5# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-EXT %s6 7# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)8# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction9qc.c.muliadd x5, x10, 410 11# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction12qc.c.muliadd x1513 14# CHECK-IMM: :[[@LINE+1]]:24: error: immediate must be an integer in the range [0, 31]15qc.c.muliadd x10, x15, 3216 17# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqciac' (Qualcomm uC Load-Store Address Calculation Extension)18qc.c.muliadd x10, x15, 2019 20 21# CHECK-PLUS: :[[@LINE+2]]:12: error: register must be a GPR excluding zero (x0)22# CHECK-MINUS: :[[@LINE+1]]:12: error: invalid operand for instruction23qc.muliadd x0, x10, 104857724 25# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction26qc.muliadd x1027 28# CHECK-IMM: :[[@LINE+1]]:22: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]29qc.muliadd x10, x15, 858993459230 31# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqciac' (Qualcomm uC Load-Store Address Calculation Extension)32qc.muliadd x10, x15, 57733 34 35# CHECK-PLUS: :[[@LINE+2]]:11: error: register must be a GPR excluding zero (x0)36# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction37qc.shladd 0, x10, 104857738 39# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction40qc.shladd x1041 42# CHECK-IMM: :[[@LINE+1]]:26: error: immediate must be an integer in the range [4, 31]43qc.shladd x10, x15, x11, 244 45# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqciac' (Qualcomm uC Load-Store Address Calculation Extension)46qc.shladd x10, x15, x11, 547