1 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mattr +mips64r2 | FileCheck %s 2 # CHECK: .section __TEXT,__text,regular,pure_instructions 3 # CHECK: daddiu $11, $26, 31949 4 0x67 0x4b 0x7c 0xcd 5 6 # CHECK: daddu $26, $1, $11 7 0x00 0x2b 0xd0 0x2d 8 9 # CHECK: ddiv $zero, $26, $22 10 0x03 0x56 0x00 0x1e 11 12 # CHECK: ddivu $zero, $9, $24 13 0x01 0x38 0x00 0x1f 14 15 # CHECK: dmfc1 $2, $f14 16 0x44 0x22 0x70 0x00 17 18 # CHECK: dmtc1 $23, $f5 19 0x44 0xb7 0x28 0x00 20 21 # CHECK: dmult $11, $26 22 0x01 0x7a 0x00 0x1c 23 24 # CHECK: dmultu $23, $13 25 0x02 0xed 0x00 0x1d 26 27 # CHECK: dsll $3, $24, 17 28 0x00 0x18 0x1c 0x78 29 30 # CHECK: dsllv $gp, $27, $24 31 0x03 0x1b 0xe0 0x14 32 33 # CHECK: dsra $1, $1, 30 34 0x00 0x01 0x0f 0xbb 35 36 # CHECK: dsrav $1, $1, $fp 37 0x03 0xc1 0x08 0x17 38 39 # CHECK: dsrl $10, $gp, 24 40 0x00 0x1c 0x56 0x3a 41 42 # CHECK: dsrlv $gp, $10, $23 43 0x02 0xea 0xe0 0x16 44 45 # CHECK: dsubu $gp, $27, $24 46 0x03 0x78 0xe0 0x2f 47 48 # CHECK: lw $27, -15155($1) 49 0x8c 0x3b 0xc4 0xcd 50 51 # CHECK: lui $1, 1 52 0x3c 0x01 0x00 0x01 53 54 # CHECK: lwu $3, -1746($3) 55 0x9c 0x63 0xf9 0x2e 56 57 # CHECK: lui $ra, 1 58 0x3c 0x1f 0x00 0x01 59 60 # CHECK: sw $26, -15159($1) 61 0xac 0x3a 0xc4 0xc9 62 63 # CHECK: ld $26, 3958($zero) 64 0xdc 0x1a 0x0f 0x76 65 66 # CHECK: sd $6, 17767($zero) 67 0xfc 0x06 0x45 0x67 68 69 # CHECK: dclo $9, $24 70 0x73 0x09 0x48 0x25 71 72 # CHECK: dclz $26, $9 73 0x71 0x3a 0xd0 0x24 74 75 # CHECK: dext $7, $gp, 29, 31 76 0x7f 0x87 0xf7 0x43 77 78 # CHECK: dins $20, $gp, 15, 1 79 0x7f 0x94 0x7b 0xc7 80 81 # CHECK: dsbh $7, $gp 82 0x7c 0x1c 0x38 0xa4 83 84 # CHECK: dshd $3, $14 85 0x7c 0x0e 0x19 0x64 86 87 # CHECK: drotr $20, $27, 6 88 0x00 0x3b 0xa1 0xba 89 90 # CHECK: drotrv $24, $23, $5 91 0x00 0xb7 0xc0 0x56 92