• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -arch=mips -show-inst %s | FileCheck --check-prefix=STATIC %s
2# RUN: llvm-mc -arch=mips -position-independent -show-inst %s | FileCheck --check-prefix=PIC %s
3# RUN: llvm-mc -arch=mips -mattr=+micromips -show-inst %s | FileCheck --check-prefix=STATIC-MM %s
4# RUN: llvm-mc -arch=mips -mattr=+micromips -position-independent -show-inst %s | FileCheck --check-prefix=PIC-MM %s
5
6  .text
7  j foo
8  nop
9foo:
10  nop
11
12  b foo
13
14# PIC:       b foo                   # <MCInst #{{[0-9]+}} BEQ
15# STATIC:    j foo                   # <MCInst #{{[0-9]+}} J
16# PIC-MM:    b foo                   # <MCInst #{{[0-9]+}} BEQ_MM
17# STATIC-MM: j foo                   # <MCInst #{{[0-9]+}} J_MM
18