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
10
11  .text
12  j foo
13  nop
14foo:
15  nop
16
17  b foo
18
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
23