brintos

brintos / llvm-project-archived public Read only

0
0
Text · 833 B · 555e468 Raw
23 lines · plain
1# RUN: llvm-mc -triple mips-unknown-linux-gnu -show-inst %s \2# RUN:   | FileCheck --check-prefix=STATIC %s3# RUN: llvm-mc -triple mips-unknown-linux-gnu -position-independent \4# RUN:         -show-inst %s | FileCheck --check-prefix=PIC %s5# RUN: llvm-mc -triple mips-unknown-linux-gnu -mattr=+micromips -show-inst %s \6# RUN:   | FileCheck --check-prefix=STATIC-MM %s7# RUN: llvm-mc -triple mips-unknown-linux-gnu -mattr=+micromips \8# RUN:         -position-independent -show-inst %s \9# RUN:   | FileCheck --check-prefix=PIC-MM %s10 11  .text12  j foo13  nop14foo:15  nop16 17  b foo18 19# PIC:       b foo                   # <MCInst #{{[0-9]+}} BEQ20# STATIC:    j foo                   # <MCInst #{{[0-9]+}} J21# PIC-MM:    b foo                   # <MCInst #{{[0-9]+}} BEQ_MM22# STATIC-MM: j foo                   # <MCInst #{{[0-9]+}} J_MM23