1 # RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zba < %s 2>&1 | FileCheck %s
4 slli.uw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Immediate operand out of range
6 slli.uw t0
, t1
, 64 # CHECK: :[[@LINE]]:17: error: immediate must be an integer in the range [0, 63]
7 slli.uw t0
, t1
, -1 # CHECK: :[[@LINE]]:17: error: immediate must be an integer in the range [0, 63]
9 add.uw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
11 sh1add.uw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
13 sh2add.uw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction
15 sh3add.uw t0
, t1
# CHECK: :[[@LINE]]:1: error: too few operands for instruction