[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / j-macro-insn.s
blob555e468626ee86b02eef7ceb1994f0c04c8471c9
1 # RUN: llvm-mc -triple mips-unknown-linux-gnu -show-inst %s \
2 # RUN: | FileCheck --check-prefix=STATIC %s
3 # RUN: llvm-mc -triple mips-unknown-linux-gnu -position-independent \
4 # RUN: -show-inst %s | FileCheck --check-prefix=PIC %s
5 # RUN: llvm-mc -triple mips-unknown-linux-gnu -mattr=+micromips -show-inst %s \
6 # RUN: | FileCheck --check-prefix=STATIC-MM %s
7 # RUN: llvm-mc -triple mips-unknown-linux-gnu -mattr=+micromips \
8 # RUN: -position-independent -show-inst %s \
9 # RUN: | FileCheck --check-prefix=PIC-MM %s
11 .text
12 j foo
13 nop
14 foo:
15 nop
17 b foo
19 # PIC: b foo # <MCInst #{{[0-9]+}} BEQ
20 # STATIC: j foo # <MCInst #{{[0-9]+}} J
21 # PIC-MM: b foo # <MCInst #{{[0-9]+}} BEQ_MM
22 # STATIC-MM: j foo # <MCInst #{{[0-9]+}} J_MM