1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
# Xqcilo - Qualcomm uC Large Offset Load Store extension
# RUN: not llvm-mc %s -triple=riscv32 -mattr=+experimental-xqcilo \
# RUN: 2>&1 | FileCheck -check-prefixes=CHECK-ENABLED %s
# RUN: not llvm-mc %s -triple=riscv32 -mattr=-experimental-xqcilo \
# RUN: 2>&1 | FileCheck -check-prefixes=CHECK-DISABLED %s
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.lb a0, 0xf000
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.lb a0, 0xf000
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.lbu a0, 0xf000
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.lh a0, 0xf000
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.lhu a0, 0xf000
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.lw a0, 0xf000
# CHECK-ENABLED: [[@LINE+2]]:21: error: invalid operand for instruction
# CHECK-DISABLED: [[@LINE+1]]:21: error: invalid operand for instruction
qc.e.sb a0, 0xf000, t0
# CHECK-ENABLED: [[@LINE+2]]:21: error: invalid operand for instruction
# CHECK-DISABLED: [[@LINE+1]]:21: error: invalid operand for instruction
qc.e.sh a0, 0xf000, t0
# CHECK-ENABLED: [[@LINE+2]]:21: error: invalid operand for instruction
# CHECK-DISABLED: [[@LINE+1]]:21: error: invalid operand for instruction
qc.e.sw a0, 0xf000, t0
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.lb a0, undefined
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.lbu a0, undefined
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.lh a0, undefined
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.lhu a0, undefined
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.lw a0, undefined
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.sb a0, undefined, t0
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.sh a0, undefined, t0
# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)
qc.e.sw a0, undefined, t0
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.sb a0, undefined
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.sh a0, undefined
# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction
# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction
qc.e.sw a0, undefined
|