1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=mipsel-unknown-linux < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=mipsel-unknown-linux < %s | \ 3*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple=mipsel-unknown-linux | FileCheck %s 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker .text 6*9880d681SAndroid Build Coastguard Workerbranch: 7*9880d681SAndroid Build Coastguard Worker bnez $2, foo 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Worker# CHECK-LABEL: branch: 10*9880d681SAndroid Build Coastguard Worker# CHECK: bnez $2, foo 11*9880d681SAndroid Build Coastguard Worker# CHECK: nop 12*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: nop 13*9880d681SAndroid Build Coastguard Worker 14*9880d681SAndroid Build Coastguard Workercprestore: 15*9880d681SAndroid Build Coastguard Worker .option pic2 16*9880d681SAndroid Build Coastguard Worker .cprestore 16 17*9880d681SAndroid Build Coastguard Worker jal foo 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Worker# CHECK-LABEL: cprestore: 20*9880d681SAndroid Build Coastguard Worker# CHECK: .cprestore 16 21*9880d681SAndroid Build Coastguard Worker# CHECK: lw $25, %call16(foo)($gp) 22*9880d681SAndroid Build Coastguard Worker# CHECK: jalr $25 23*9880d681SAndroid Build Coastguard Worker# CHECK: nop 24*9880d681SAndroid Build Coastguard Worker# CHECK: lw $gp, 16($sp) 25*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: nop 26*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: lw 27