1 # RUN: not llvm-mc -triple riscv32 -mattr=+zihintntl < %s 2>&1 | FileCheck %s
2 # RUN: not llvm-mc -triple riscv64 -mattr=+zihintntl < %s 2>&1 | FileCheck %s
4 ntl.p1
1 # CHECK: :[[@LINE]]:8: error: invalid operand for instruction
5 ntl.pall
2 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
6 ntl.s1
3 # CHECK: :[[@LINE]]:8: error: invalid operand for instruction
7 ntl.all
4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
9 ntl.p1 t0
, t1
# CHECK: :[[@LINE]]:8: error: invalid operand for instruction
10 ntl.pall t0
, t1
# CHECK: :[[@LINE]]:10: error: invalid operand for instruction
11 ntl.s1 t0
, t1
# CHECK: :[[@LINE]]:8: error: invalid operand for instruction
12 ntl.all t0
, t1
# CHECK: :[[@LINE]]:9: error: invalid operand for instruction