1# RUN: llvm-mc --disassemble %s -triple=mipsel-unknown-linux -mcpu=mips32r6 | FileCheck %s 20x04 0x00 0x42 0x30 # CHECK: andi $2, $2, 4 30x19 0x00 0x80 0xec # CHECK: addiupc $4, 100 40x0a 0x00 0x29 0x25 # CHECK: addiu $9, $9, 10 50xa0 0x22 0x43 0x7c # CHECK: align $4, $2, $3, 2 60x38 0x00 0x7f 0xec # CHECK: aluipc $3, 56 70xe9 0xff 0x62 0x3c # CHECK: aui $3, $2, -23 80xff 0xff 0x7e 0xec # CHECK: auipc $3, -1 90x9b 0x14 0x11 0x04 # CHECK: bal 21104 100xb8 0x96 0x37 0xe8 # CHECK: balc 14572256 110xb8 0x96 0x37 0xc8 # CHECK: bc 14572256 120x01 0x00 0x20 0x45 # CHECK: bc1eqz $f0, 8 130x01 0x00 0x3f 0x45 # CHECK: bc1eqz $f31, 8 140x01 0x00 0xa0 0x45 # CHECK: bc1nez $f0, 8 150x01 0x00 0xbf 0x45 # CHECK: bc1nez $f31, 8 160x02 0x00 0x20 0x49 # CHECK: bc2eqz $0, 12 170x02 0x00 0x3f 0x49 # CHECK: bc2eqz $31, 12 180x02 0x00 0xa0 0x49 # CHECK: bc2nez $0, 12 190x02 0x00 0xbf 0x49 # CHECK: bc2nez $31, 12 200x40 0x00 0xa6 0x20 # CHECK: beqc $5, $6, 256 210x4d 0x01 0x02 0x20 # CHECK: beqzalc $2, 1332 220x40 0x00 0xa6 0x60 # CHECK: bnec $5, $6, 256 230x4d 0x01 0x02 0x60 # CHECK: bnezalc $2, 1332 240x90 0x46 0xa0 0xd8 # CHECK: beqzc $5, 72256 250x40 0x00 0x43 0x58 # CHECK: bgec $2, $3, 256 260x40 0x00 0x43 0x18 # CHECK: bgeuc $2, $3, 256 270x4d 0x01 0x42 0x18 # CHECK: bgezalc $2, 1332 280x90 0x46 0xa0 0xf8 # CHECK: bnezc $5, 72256 290x40 0x00 0xa5 0x5c # CHECK: bltzc $5, 256 300x40 0x00 0xa5 0x58 # CHECK: bgezc $5, 256 310x4d 0x01 0x02 0x1c # CHECK: bgtzalc $2, 1332 320x40 0x00 0x05 0x58 # CHECK: blezc $5, 256 330x4d 0x01 0x42 0x1c # CHECK: bltzalc $2, 1332 340x40 0x00 0x05 0x5c # CHECK: bgtzc $5, 256 350x20 0x20 0x02 0x7c # CHECK: bitswap $4, $2 360x4d 0x01 0x02 0x18 # CHECK: blezalc $2, 1332 370x40 0x00 0xa6 0x5c # CHECK: bltc $5, $6, 256 380x40 0x00 0xa6 0x1c # CHECK: bltuc $5, $6, 256 390x01 0x00 0x00 0x60 # CHECK: bnvc $zero, $zero, 4 400x01 0x00 0x40 0x60 # CHECK: bnvc $2, $zero, 4 410x01 0x00 0x82 0x60 # CHECK: bnvc $4, $2, 4 420x01 0x00 0x00 0x20 # CHECK: bovc $zero, $zero, 4 430x01 0x00 0x40 0x20 # CHECK: bovc $2, $zero, 4 440x01 0x00 0x82 0x20 # CHECK: bovc $4, $2, 4 450x80 0x18 0x84 0x46 # CHECK: cmp.af.s $f2, $f3, $f4 460x80 0x18 0xa4 0x46 # CHECK: cmp.af.d $f2, $f3, $f4 470x81 0x18 0x84 0x46 # CHECK: cmp.un.s $f2, $f3, $f4 480x81 0x18 0xa4 0x46 # CHECK: cmp.un.d $f2, $f3, $f4 490x82 0x18 0x84 0x46 # CHECK: cmp.eq.s $f2, $f3, $f4 500x82 0x18 0xa4 0x46 # CHECK: cmp.eq.d $f2, $f3, $f4 510x83 0x18 0x84 0x46 # CHECK: cmp.ueq.s $f2, $f3, $f4 520x83 0x18 0xa4 0x46 # CHECK: cmp.ueq.d $f2, $f3, $f4 530x84 0x18 0x84 0x46 # CHECK: cmp.lt.s $f2, $f3, $f4 540x84 0x18 0xa4 0x46 # CHECK: cmp.lt.d $f2, $f3, $f4 550x85 0x18 0x84 0x46 # CHECK: cmp.ult.s $f2, $f3, $f4 560x85 0x18 0xa4 0x46 # CHECK: cmp.ult.d $f2, $f3, $f4 570x86 0x18 0x84 0x46 # CHECK: cmp.le.s $f2, $f3, $f4 580x86 0x18 0xa4 0x46 # CHECK: cmp.le.d $f2, $f3, $f4 590x87 0x18 0x84 0x46 # CHECK: cmp.ule.s $f2, $f3, $f4 600x87 0x18 0xa4 0x46 # CHECK: cmp.ule.d $f2, $f3, $f4 610x88 0x18 0x84 0x46 # CHECK: cmp.saf.s $f2, $f3, $f4 620x88 0x18 0xa4 0x46 # CHECK: cmp.saf.d $f2, $f3, $f4 630x89 0x18 0x84 0x46 # CHECK: cmp.sun.s $f2, $f3, $f4 640x89 0x18 0xa4 0x46 # CHECK: cmp.sun.d $f2, $f3, $f4 650x8a 0x18 0x84 0x46 # CHECK: cmp.seq.s $f2, $f3, $f4 660x8a 0x18 0xa4 0x46 # CHECK: cmp.seq.d $f2, $f3, $f4 670x8b 0x18 0x84 0x46 # CHECK: cmp.sueq.s $f2, $f3, $f4 680x8b 0x18 0xa4 0x46 # CHECK: cmp.sueq.d $f2, $f3, $f4 690x8c 0x18 0x84 0x46 # CHECK: cmp.slt.s $f2, $f3, $f4 700x8c 0x18 0xa4 0x46 # CHECK: cmp.slt.d $f2, $f3, $f4 710x8d 0x18 0x84 0x46 # CHECK: cmp.sult.s $f2, $f3, $f4 720x8d 0x18 0xa4 0x46 # CHECK: cmp.sult.d $f2, $f3, $f4 730x8e 0x18 0x84 0x46 # CHECK: cmp.sle.s $f2, $f3, $f4 740x8e 0x18 0xa4 0x46 # CHECK: cmp.sle.d $f2, $f3, $f4 750x8f 0x18 0x84 0x46 # CHECK: cmp.sule.s $f2, $f3, $f4 760x8f 0x18 0xa4 0x46 # CHECK: cmp.sule.d $f2, $f3, $f4 770x00 0x60 0x7e 0x41 # CHECK: di $fp 780x00 0x60 0x60 0x41 # CHECK: di 790x9a 0x10 0x64 0x00 # CHECK: div $2, $3, $4 800x9b 0x10 0x64 0x00 # CHECK: divu $2, $3, $4 810x20 0x60 0x6e 0x41 # CHECK: ei $14 820x20 0x60 0x60 0x41 # CHECK: ei 830xc5 0x10 0x64 0x00 # CHECK: lsa $2, $3, $4, 4 840x43 0x00 0x48 0xec # CHECK: lwpc $2, 268 850x43 0x00 0x50 0xec # CHECK: lwupc $2, 268 860x01 0x78 0x08 0x40 # CHECK: mfc0 $8, $15, 1 870xda 0x10 0x64 0x00 # CHECK: mod $2, $3, $4 880xdb 0x10 0x64 0x00 # CHECK: modu $2, $3, $4 890x98 0x10 0x64 0x00 # CHECK: mul $2, $3, $4 900xd8 0x10 0x64 0x00 # CHECK: muh $2, $3, $4 910x99 0x10 0x64 0x00 # CHECK: mulu $2, $3, $4 920xd9 0x10 0x64 0x00 # CHECK: muhu $2, $3, $4 930x98 0x18 0x04 0x46 # CHECK: maddf.s $f2, $f3, $f4 940x98 0x18 0x24 0x46 # CHECK: maddf.d $f2, $f3, $f4 950x99 0x18 0x04 0x46 # CHECK: msubf.s $f2, $f3, $f4 960x99 0x18 0x24 0x46 # CHECK: msubf.d $f2, $f3, $f4 970x01 0x78 0x89 0x40 # CHECK: mtc0 $9, $15, 1 980x10 0x08 0x22 0x46 # CHECK: sel.d $f0, $f1, $f2 990x10 0x08 0x02 0x46 # CHECK: sel.s $f0, $f1, $f2 1000x35 0x10 0x64 0x00 # CHECK: seleqz $2, $3, $4 1010x37 0x10 0x64 0x00 # CHECK: selnez $2, $3, $4 1020x1d 0x10 0x04 0x46 # CHECK: max.s $f0, $f2, $f4 1030x1d 0x10 0x24 0x46 # CHECK: max.d $f0, $f2, $f4 1040x1c 0x10 0x04 0x46 # CHECK: min.s $f0, $f2, $f4 1050x1c 0x10 0x24 0x46 # CHECK: min.d $f0, $f2, $f4 1060x1f 0x10 0x04 0x46 # CHECK: maxa.s $f0, $f2, $f4 1070x1f 0x10 0x24 0x46 # CHECK: maxa.d $f0, $f2, $f4 1080x1e 0x10 0x04 0x46 # CHECK: mina.s $f0, $f2, $f4 1090x1e 0x10 0x24 0x46 # CHECK: mina.d $f0, $f2, $f4 1100x04 0x00 0x42 0x34 # CHECK: ori $2, $2, 4 1110x14 0x10 0x04 0x46 # CHECK: seleqz.s $f0, $f2, $f4 1120x14 0x10 0x24 0x46 # CHECK: seleqz.d $f0, $f2, $f4 1130x17 0x10 0x04 0x46 # CHECK: selnez.s $f0, $f2, $f4 1140x17 0x10 0x24 0x46 # CHECK: selnez.d $f0, $f2, $f4 1150x9a 0x20 0x00 0x46 # CHECK: rint.s $f2, $f4 1160x9a 0x20 0x20 0x46 # CHECK: rint.d $f2, $f4 1170x9b 0x20 0x00 0x46 # CHECK: class.s $f2, $f4 1180x9b 0x20 0x20 0x46 # CHECK: class.d $f2, $f4 1190x09 0x04 0x80 0x00 # CHECK: jr.hb $4 1200x09 0xfc 0x80 0x00 # CHECK: jalr.hb $4 1210x09 0x24 0xa0 0x00 # CHECK: jalr.hb $4, $5 1220xb6 0xb3 0x42 0x7e # CHECK: ll $2, -153($18) 1230x26 0xec 0x6f 0x7e # CHECK: sc $15, -40($19) 1240x51 0x58 0xa0 0x00 # CHECK: clo $11, $5 1250x50 0xe8 0x80 0x03 # CHECK: clz $sp, $gp 1260x40 0x00 0x00 0x00 # CHECK: ssnop 1270x0e 0x00 0x00 0x00 # CHECK: sdbbp 1280x8e 0x08 0x00 0x00 # CHECK: sdbbp 34 1290x0f 0x00 0x00 0x00 # CHECK: sync 1300x4f 0x00 0x00 0x00 # CHECK: sync 1 1310x34 0x00 0x03 0x00 # CHECK: teq $zero, $3 1320x34 0x9b 0xa7 0x00 # CHECK: teq $5, $7, 620 1330x30 0x00 0xea 0x00 # CHECK: tge $7, $10 1340x30 0x55 0xb3 0x00 # CHECK: tge $5, $19, 340 1350x31 0x00 0xdc 0x02 # CHECK: tgeu $22, $gp 1360xf1 0x5e 0x8e 0x02 # CHECK: tgeu $20, $14, 379 1370x32 0x00 0xed 0x01 # CHECK: tlt $15, $13 1380x72 0x21 0x53 0x00 # CHECK: tlt $2, $19, 133 1390x33 0x00 0x70 0x01 # CHECK: tltu $11, $16 1400x33 0xfe 0x1d 0x02 # CHECK: tltu $16, $sp, 1016 1410x36 0x00 0xd1 0x00 # CHECK: tne $6, $17 1420x76 0xdd 0xe8 0x00 # CHECK: tne $7, $8, 885 1430x43 0x0d 0xc8 0x49 # CHECK: ldc2 $8, -701($1) 1440xb7 0x34 0x52 0x49 # CHECK: lwc2 $18, -841($6) 1450x75 0x92 0xf4 0x49 # CHECK: sdc2 $20, 629($18) 1460x30 0x81 0x79 0x49 # CHECK: swc2 $25, 304($16) 1470x00 0x01 0x05 0xf8 # CHECK: jialc $5, 256 1480x00 0x01 0x05 0xd8 # CHECK: jic $5, 256 1490x25 0x04 0xa1 0x7c # CHECK: cache 1, 8($5) 1500x35 0x04 0xa1 0x7c # CHECK: pref 1, 8($5 151