1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/VE/sym-br.s
Kazushi (Jam) Marukawa f82209bf33 [VE] Add missing symbolic branch patterns
Add missing symbolic branch patterns to a regression test.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D90388
2020-10-29 23:29:07 +09:00

17 lines
496 B
ArmAsm

# RUN: llvm-mc -triple=ve %s -o - | FileCheck %s
# RUN: llvm-mc -triple=ve -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s --check-prefix=CHECK-OBJ
b.l.t tgt
br.l.t tgt2
b.l.t tgt(, %s1)
b.l.t tgt+24(, %s1)
# CHECK: b.l.t tgt
# CHECK-NEXT: br.l.t tgt2
# CHECK-NEXT: b.l.t tgt(, %s1)
# CHECK-NEXT: b.l.t tgt+24(, %s1)
# CHECK-OBJ: 0 R_VE_REFLONG tgt
# CHECK-OBJ: 8 R_VE_PC_LO32 tgt2
# CHECK-OBJ: 10 R_VE_REFLONG tgt
# CHECK-OBJ: 18 R_VE_REFLONG tgt+0x18