1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32 | \ 2*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker .text 5*9880d681SAndroid Build Coastguard Worker .set arch=mips1 6*9880d681SAndroid Build Coastguard Worker add $2, $2, $2 7*9880d681SAndroid Build Coastguard Worker .set arch=mips2 8*9880d681SAndroid Build Coastguard Worker ll $2, -2($2) 9*9880d681SAndroid Build Coastguard Worker .set arch=mips3 10*9880d681SAndroid Build Coastguard Worker dadd $2, $2, $2 11*9880d681SAndroid Build Coastguard Worker .set arch=mips4 12*9880d681SAndroid Build Coastguard Worker ldxc1 $f8, $2($4) 13*9880d681SAndroid Build Coastguard Worker .set arch=mips5 14*9880d681SAndroid Build Coastguard Worker luxc1 $f19, $2($4) 15*9880d681SAndroid Build Coastguard Worker .set arch=mips32 16*9880d681SAndroid Build Coastguard Worker clo $2, $2 17*9880d681SAndroid Build Coastguard Worker .set arch=mips32r2 18*9880d681SAndroid Build Coastguard Worker rotr $2, $2, 15 19*9880d681SAndroid Build Coastguard Worker .set arch=mips32 20*9880d681SAndroid Build Coastguard Worker .set arch=mips32r3 21*9880d681SAndroid Build Coastguard Worker rotr $2, $2, 15 22*9880d681SAndroid Build Coastguard Worker .set arch=mips32 23*9880d681SAndroid Build Coastguard Worker .set arch=mips32r5 24*9880d681SAndroid Build Coastguard Worker rotr $2, $2, 15 25*9880d681SAndroid Build Coastguard Worker .set arch=mips32r6 26*9880d681SAndroid Build Coastguard Worker mod $2, $4, $6 27*9880d681SAndroid Build Coastguard Worker .set arch=mips64 28*9880d681SAndroid Build Coastguard Worker daddi $2, $2, 10 29*9880d681SAndroid Build Coastguard Worker .set arch=mips64r2 30*9880d681SAndroid Build Coastguard Worker drotr32 $1, $14, 15 31*9880d681SAndroid Build Coastguard Worker .set arch=mips64 32*9880d681SAndroid Build Coastguard Worker .set arch=mips64r3 33*9880d681SAndroid Build Coastguard Worker drotr32 $1, $14, 15 34*9880d681SAndroid Build Coastguard Worker .set arch=mips64 35*9880d681SAndroid Build Coastguard Worker .set arch=mips64r5 36*9880d681SAndroid Build Coastguard Worker drotr32 $1, $14, 15 37*9880d681SAndroid Build Coastguard Worker .set arch=mips64r6 38*9880d681SAndroid Build Coastguard Worker mod $2, $4, $6 39*9880d681SAndroid Build Coastguard Worker .set arch=octeon 40*9880d681SAndroid Build Coastguard Worker baddu $9, $6, $7 41*9880d681SAndroid Build Coastguard Worker .set arch=r4000 42*9880d681SAndroid Build Coastguard Worker dadd $2, $2, $2 43*9880d681SAndroid Build Coastguard Worker 44*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips1 45*9880d681SAndroid Build Coastguard Worker# CHECK: add $2, $2, $2 46*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips2 47*9880d681SAndroid Build Coastguard Worker# CHECK: ll $2, -2($2) 48*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips3 49*9880d681SAndroid Build Coastguard Worker# CHECK: dadd $2, $2, $2 50*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips4 51*9880d681SAndroid Build Coastguard Worker# CHECK: ldxc1 $f8, $2($4) 52*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips5 53*9880d681SAndroid Build Coastguard Worker# CHECK: luxc1 $f19, $2($4) 54*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips32 55*9880d681SAndroid Build Coastguard Worker# CHECK: clo $2, $2 56*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips32r2 57*9880d681SAndroid Build Coastguard Worker# CHECK: rotr $2, $2, 15 58*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips32r6 59*9880d681SAndroid Build Coastguard Worker# CHECK: mod $2, $4, $6 60*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips64 61*9880d681SAndroid Build Coastguard Worker# CHECK: daddi $2, $2, 10 62*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips64r2 63*9880d681SAndroid Build Coastguard Worker# CHECK: drotr32 $1, $14, 15 64*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=mips64r6 65*9880d681SAndroid Build Coastguard Worker# CHECK: mod $2, $4, $6 66*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=octeon 67*9880d681SAndroid Build Coastguard Worker# CHECK: baddu $9, $6, $7 68*9880d681SAndroid Build Coastguard Worker# CHECK: .set arch=r4000 69*9880d681SAndroid Build Coastguard Worker# CHECK: dadd $2, $2, $2 70