mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
95de5f50bc
Reviewed By: asb, frasercrmck Differential Revision: https://reviews.llvm.org/D94637
16 lines
824 B
ArmAsm
16 lines
824 B
ArmAsm
# RUN: not llvm-mc -triple riscv64 -mattr=+experimental-b,experimental-zba < %s 2>&1 | FileCheck %s
|
|
|
|
# Too few operands
|
|
slli.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
|
|
# Immediate operand out of range
|
|
slli.uw t0, t1, 64 # CHECK: :[[@LINE]]:17: error: immediate must be an integer in the range [0, 63]
|
|
slli.uw t0, t1, -1 # CHECK: :[[@LINE]]:17: error: immediate must be an integer in the range [0, 63]
|
|
# Too few operands
|
|
add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
|
|
# Too few operands
|
|
sh1add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
|
|
# Too few operands
|
|
sh2add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
|
|
# Too few operands
|
|
sh3add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
|