1# RUN: not llvm-mc -triple riscv32 -mattr=+xtheadba < %s 2>&1 | FileCheck %s 2# RUN: not llvm-mc -triple riscv64 -mattr=+xtheadba < %s 2>&1 | FileCheck %s 3 4# Too few operands 5th.addsl t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 6# Too few operands 7th.addsl t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction 8# Immediate operand out of range 9th.addsl t0, t1, t2, 4 # CHECK: :[[@LINE]]:22: error: immediate must be an integer in the range [0, 3] 10# Immediate operand out of range 11th.addsl t0, t1, t2, -1 # CHECK: :[[@LINE]]:22: error: immediate must be an integer in the range [0, 3] 12