mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
ee1a9f20a7
llvm-svn: 348914
23 lines
833 B
ArmAsm
23 lines
833 B
ArmAsm
# RUN: llvm-mc -triple mips-unknown-linux-gnu -show-inst %s \
|
|
# RUN: | FileCheck --check-prefix=STATIC %s
|
|
# RUN: llvm-mc -triple mips-unknown-linux-gnu -position-independent \
|
|
# RUN: -show-inst %s | FileCheck --check-prefix=PIC %s
|
|
# RUN: llvm-mc -triple mips-unknown-linux-gnu -mattr=+micromips -show-inst %s \
|
|
# RUN: | FileCheck --check-prefix=STATIC-MM %s
|
|
# RUN: llvm-mc -triple mips-unknown-linux-gnu -mattr=+micromips \
|
|
# RUN: -position-independent -show-inst %s \
|
|
# RUN: | FileCheck --check-prefix=PIC-MM %s
|
|
|
|
.text
|
|
j foo
|
|
nop
|
|
foo:
|
|
nop
|
|
|
|
b foo
|
|
|
|
# PIC: b foo # <MCInst #{{[0-9]+}} BEQ
|
|
# STATIC: j foo # <MCInst #{{[0-9]+}} J
|
|
# PIC-MM: b foo # <MCInst #{{[0-9]+}} BEQ_MM
|
|
# STATIC-MM: j foo # <MCInst #{{[0-9]+}} J_MM
|