1 # RUN: not llvm-mc -triple riscv64 < %s 2>&1 | FileCheck %s
3 hlv.wu a0
, 0x10 # CHECK: :[[@LINE]]:17: error: expected '(' after optional integer offset
5 hlv.wu a0
, a1
# CHECK: :[[@LINE]]:12: error: expected '(' or optional integer offset
7 hlv.wu a0
, 1(a1
) # CHECK: :[[@LINE]]:12: error: optional integer offset must be 0
9 hlv.d a0
, 0x10 # CHECK: :[[@LINE]]:16: error: expected '(' after optional integer offset
11 hlv.d a0
, a1
# CHECK: :[[@LINE]]:11: error: expected '(' or optional integer offset
13 hlv.d a0
, 1(a1
) # CHECK: :[[@LINE]]:11: error: optional integer offset must be 0
15 hsv.d a0
, 0x10 # CHECK: :[[@LINE]]:16: error: expected '(' after optional integer offset
17 hsv.d a0
, a1
# CHECK: :[[@LINE]]:11: error: expected '(' or optional integer offset
19 hsv.d a0
, 1(a1
) # CHECK: :[[@LINE]]:11: error: optional integer offset must be 0