brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.8 KiB · c8fe925 Raw
126 lines · plain
1# Xqcisim - Simulaton Hint Instructions2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcisim < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-PLUS %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcisim < %s 2>&1 \5# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-MINUS %s6 7# CHECK-PLUS: :[[@LINE+1]]:14: error: immediate must be an integer in the range [0, 1023]8qc.psyscalli 10249 10# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction11qc.psyscalli12 13# CHECK: :[[@LINE+1]]:18: error: invalid operand for instruction14qc.psyscalli 23, x015 16# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)17qc.psyscalli       102318 19 20# CHECK-PLUS: :[[@LINE+1]]:11: error: immediate must be an integer in the range [0, 255]21qc.pputci 25622 23# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction24qc.pputci25 26# CHECK: :[[@LINE+1]]:16: error: invalid operand for instruction27qc.pputci 200, x828 29# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)30qc.pputci  25531 32 33# CHECK: :[[@LINE+1]]:13: error: invalid operand for instruction34qc.c.ptrace x035 36# CHECK: :[[@LINE+1]]:13: error: invalid operand for instruction37qc.c.ptrace 138 39# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)40qc.c.ptrace41 42 43# CHECK: :[[@LINE+1]]:14: error: invalid operand for instruction44qc.pcoredump 1245 46# CHECK: :[[@LINE+1]]:14: error: invalid operand for instruction47qc.pcoredump x448 49# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)50qc.pcoredump51 52 53# CHECK: :[[@LINE+1]]:11: error: invalid operand for instruction54qc.ppregs x155 56# CHECK: :[[@LINE+1]]:11: error: invalid operand for instruction57qc.ppregs 2358 59# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)60qc.ppregs61 62 63# CHECK: :[[@LINE+1]]:15: error: invalid operand for instruction64qc.ppreg x10, x265 66# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction67qc.ppreg68 69# CHECK: :[[@LINE+1]]:10: error: invalid operand for instruction70qc.ppreg 2371 72# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)73qc.ppreg   a074 75 76# CHECK: :[[@LINE+1]]:14: error: invalid operand for instruction77qc.pputc x7, x378 79# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction80qc.pputc81 82# CHECK: :[[@LINE+1]]:10: error: invalid operand for instruction83qc.pputc 3484 85# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)86qc.pputc   t287 88 89# CHECK: :[[@LINE+1]]:15: error: invalid operand for instruction90qc.pputs x15, x1891 92# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction93qc.pputs94 95# CHECK: :[[@LINE+1]]:10: error: invalid operand for instruction96qc.pputs 4597 98# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)99qc.pputs   a5100 101 102# CHECK: :[[@LINE+1]]:15: error: invalid operand for instruction103qc.pexit x26, x23104 105# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction106qc.pexit107 108# CHECK: :[[@LINE+1]]:10: error: invalid operand for instruction109qc.pexit 78110 111# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)112qc.pexit   s10113 114 115# CHECK: :[[@LINE+1]]:18: error: invalid operand for instruction116qc.psyscall x11, x5117 118# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction119qc.psyscall120 121# CHECK: :[[@LINE+1]]:13: error: invalid operand for instruction122qc.psyscall 98123 124# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcisim' (Qualcomm uC Simulation Hint Extension)125qc.psyscall        a1126