brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 1c584da Raw
30 lines · plain
1# Xqcilb - Qualcomm uC Long Branch Extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcilb < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-PLUS %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcilb < %s 2>&1 \5# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-MINUS %s6 7# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction8qc.e.j9 10# CHECK-PLUS: :[[@LINE+1]]:9: error: operand must be a multiple of 2 bytes in the range [-2147483648, 2147483646]11qc.e.j  -214748364912 13# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilb' (Qualcomm uC Long Branch Extension)14qc.e.j  -214748364815 16# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilb' (Qualcomm uC Long Branch Extension)17qc.e.j  foo18 19# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction20qc.e.jal21 22# CHECK-PLUS: :[[@LINE+1]]:10: error: operand must be a multiple of 2 bytes in the range [-2147483648, 2147483646]23qc.e.jal 214748364924 25# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilb' (Qualcomm uC Long Branch Extension)26qc.e.jal 214748364027 28# CHECK: :[[@LINE+1]]:11: error: unexpected token29qc.e.j foo@plt30