1 # RUN: not llvm-mc --triple=loongarch64 --filetype=obj %s -o /dev/null 2>&1 | FileCheck %s
3 beq $a0
, $a1
, unaligned
# CHECK: :[[#@LINE]]:3: error: fixup value must be 4-byte aligned
4 beqz $a0
, unaligned
# CHECK: :[[#@LINE]]:3: error: fixup value must be 4-byte aligned
5 b unaligned
# CHECK: :[[#@LINE]]:3: error: fixup value must be 4-byte aligned
12 beq $a0
, $a1
, out_of_range_b18
# CHECK: :[[#@LINE]]:3: error: fixup value out of range [-131072, 131071]
15 beqz $a0
, out_of_range_b23
# CHECK: :[[#@LINE]]:3: error: fixup value out of range [-4194304, 4194303]
18 b out_of_range_b28
# CHECK: :[[#@LINE]]:3: error: fixup value out of range [-134217728, 134217727]