1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 | FileCheck %s -check-prefix=ASM
3 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -filetype=obj -o -| \
4 # RUN: llvm-objdump -d -r -arch=mips - | \
5 # RUN: FileCheck %s -check-prefix=OBJ
7 # RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -filetype=obj -o -| \
8 # RUN: llvm-objdump -d -r -arch=mips - | \
9 # RUN: FileCheck %s -check-prefix=OBJ64
19 # OBJ: R_MIPS_HI16 _gp_disp
20 # OBJ: addiu $gp, $gp, 0
21 # OBJ: R_MIPS_LO16 _gp_disp
22 # OBJ: addu $gp, $gp, $25
25 # OBJ64-NOT: lui $gp, 0
26 # OBJ64-NOT: addiu $gp, $gp, 0
27 # OBJ64-NOT: addu $gp, $gp, $25