brintos

brintos / llvm-project-archived public Read only

0
0
Text · 783 B · 04510d1 Raw
14 lines · plain
1# RUN: not llvm-mc -triple riscv32 -mattr=+zihintntl,+c < %s 2>&1 | FileCheck %s2# RUN: not llvm-mc -triple riscv64 -mattr=+zihintntl,+c < %s 2>&1 | FileCheck %s3 4c.ntl.p1 1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction5c.ntl.pall 2 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction6c.ntl.s1 3 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction7c.ntl.all 4 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction8 9c.ntl.p1 t0, t1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction10c.ntl.pall t0, t1 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction11c.ntl.s1 t0, t1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction12c.ntl.all t0, t1 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction13 14