brintos

brintos / llvm-project-archived public Read only

0
0
Text · 755 B · af8c407 Raw
14 lines · plain
1# RUN: not llvm-mc -triple riscv32 -mattr=+zihintntl < %s 2>&1 | FileCheck %s2# RUN: not llvm-mc -triple riscv64 -mattr=+zihintntl < %s 2>&1 | FileCheck %s3 4ntl.p1 1 # CHECK: :[[@LINE]]:8: error: invalid operand for instruction5ntl.pall 2 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction6ntl.s1 3 # CHECK: :[[@LINE]]:8: error: invalid operand for instruction7ntl.all 4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction8 9ntl.p1 t0, t1 # CHECK: :[[@LINE]]:8: error: invalid operand for instruction10ntl.pall t0, t1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction11ntl.s1 t0, t1 # CHECK: :[[@LINE]]:8: error: invalid operand for instruction12ntl.all t0, t1 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction13 14