diff options
author | Stephen Hines <srhines@google.com> | 2015-03-23 12:10:34 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2015-03-23 12:10:34 -0700 |
commit | ebe69fe11e48d322045d5949c83283927a0d790b (patch) | |
tree | c92f1907a6b8006628a4b01615f38264d29834ea /test/MC/Disassembler/Mips/micromips.txt | |
parent | b7d2e72b02a4cb8034f32f8247a2558d2434e121 (diff) | |
download | external_llvm-ebe69fe11e48d322045d5949c83283927a0d790b.zip external_llvm-ebe69fe11e48d322045d5949c83283927a0d790b.tar.gz external_llvm-ebe69fe11e48d322045d5949c83283927a0d790b.tar.bz2 |
Update aosp/master LLVM for rebase to r230699.
Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
Diffstat (limited to 'test/MC/Disassembler/Mips/micromips.txt')
-rw-r--r-- | test/MC/Disassembler/Mips/micromips.txt | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/micromips.txt b/test/MC/Disassembler/Mips/micromips.txt index 6464824..2b75d46 100644 --- a/test/MC/Disassembler/Mips/micromips.txt +++ b/test/MC/Disassembler/Mips/micromips.txt @@ -16,6 +16,21 @@ # CHECK: addiu $9, $6, -15001 0x31 0x26 0xc5 0x67 +# CHECK: addiusp -16 +0x4f 0xf9 + +# CHECK: addiusp -1028 +0x4f 0xff + +# CHECK: addiusp -1032 +0x4f 0xfd + +# CHECK: addiusp 1024 +0x4c 0x01 + +# CHECK: addiusp 1028 +0x4c 0x03 + # CHECK: addu $9, $6, $7 0x00 0xe6 0x49 0x50 @@ -61,6 +76,9 @@ # CHECK: andi $9, $6, 17767 0xd1 0x26 0x45 0x67 +# CHECK: andi16 $16, $2, 31 +0x2c 0x29 + # CHECK: or $3, $4, $5 0x00 0xa4 0x1a 0x90 @@ -136,6 +154,9 @@ # CHECK: lw $6, 4($5) 0xfc 0xc5 0x00 0x04 +# CHECK: lw $6, 123($sp) +0xfc 0xdd 0x00 0x7b + # CHECK: sb $5, 8($4) 0x18 0xa4 0x00 0x08 @@ -145,6 +166,9 @@ # CHECK: sw $5, 4($6) 0xf8 0xa6 0x00 0x04 +# CHECK: sw $5, 123($sp) +0xf8 0xbd 0x00 0x7b + # CHECK: lwu $2, 8($4) 0x60 0x44 0xe0 0x08 @@ -229,6 +253,9 @@ # CHECK: jr $7 0x00 0x07 0x0f 0x3c +# CHECK: jraddiusp 20 +0x47 0x05 + # CHECK: beq $9, $6, 1332 0x94 0xc9 0x02 0x9a @@ -289,6 +316,21 @@ # CHECK: tnei $9, 17767 0x41 0x89 0x45 0x67 +# CHECK: cache 1, 8($5) +0x20 0x25 0x60 0x08 + +# CHECK: pref 1, 8($5) +0x60 0x25 0x20 0x08 + +# CHECK: ssnop +0x00 0x00 0x08 0x00 + +# CHECK: ehb +0x00 0x00 0x18 0x00 + +# CHECK: pause +0x00 0x00 0x28 0x00 + # CHECK: ll $2, 8($4) 0x60 0x44 0x30 0x08 @@ -321,3 +363,144 @@ # CHECK: swm32 $16, $17, 8($4) 0x20 0x44 0xd0 0x08 + +# CHECK: swp $16, 8($4) +0x22 0x04 0x90 0x08 + +# CHECK: lwp $16, 8($4) +0x22 0x04 0x10 0x08 + +# CHECK: nop +0x00 0x00 0x00 0x00 + +# CHECK: addiupc $2, 20 +0x79 0x00 0x00 0x05 + +# CHECK: addiupc $7, 16777212 +0x7b 0xbf 0xff 0xff + +# CHECK: addiupc $7, -16777216 +0x7b 0xc0 0x00 0x00 + +# CHECK: addu16 $6, $17, $4 +0x07 0x42 + +# CHECK: subu16 $5, $16, $3 +0x06 0xb1 + +# CHECK: and16 $16, $2 +0x44 0x82 + +# CHECK: not16 $17, $3 +0x44 0x0b + +# CHECK: or16 $16, $4 +0x44 0xc4 + +# CHECK: xor16 $17, $5 +0x44 0x4d + +# CHECK: sll16 $3, $16, 5 +0x25 0x8a + +# CHECK: srl16 $4, $17, 6 +0x26 0x1d + +# CHECK: lbu16 $3, 4($17) +0x09 0x94 + +# CHECK: lbu16 $3, -1($16) +0x09 0x8f + +# CHECK: lhu16 $3, 4($16) +0x29 0x82 + +# CHECK: lw16 $4, 8($17) +0x6a 0x12 + +# CHECK: sb16 $3, 4($16) +0x89 0x84 + +# CHECK: sh16 $4, 8($17) +0xaa 0x14 + +# CHECK: sw16 $4, 4($17) +0xea 0x11 + +# CHECK: sw16 $zero, 4($17) +0xe8 0x11 + +# CHECK: mfhi $9 +0x46 0x09 + +# CHECK: mflo $9 +0x46 0x49 + +# CHECK: move $25, $1 +0x0f 0x21 + +# CHECK: jrc $9 +0x45 0xa9 + +# CHECK: jalr $9 +0x45 0xc9 + +# CHECK: jalrs16 $9 +0x45 0xe9 + +# CHECK: jr16 $9 +0x45 0x89 + +# CHECK: li16 $3, -1 +0xed 0xff + +# CHECK: li16 $3, 126 +0xed 0xfe + +# CHECK: addiur1sp $7, 4 +0x6f 0x83 + +# CHECK: addiur2 $6, $7, -1 +0x6f 0x7e + +# CHECK: addiur2 $6, $7, 12 +0x6f 0x76 + +# CHECK: addius5 $7, -2 +0x4c 0xfc + +# CHECK: nop +0x0c 0x00 + +# CHECK: lw $3, 32($sp) +0x48 0x68 + +# CHECK: sw $4, 124($sp) +0xc8 0x9f + +# CHECK: beqz16 $6, 20 +0x8f 0x0a + +# CHECK: bnez16 $6, 20 +0xaf 0x0a + +# CHECK: b16 132 +0xcc 0x42 + +# CHECK: lw $3, 32($gp) +0x65 0x88 + +# CHECK: lwm16 $16, $17, $ra, 8($sp) +0x45 0x12 + +# CHECK: swm16 $16, $17, $ra, 8($sp) +0x45 0x52 + +# CHECK: break16 8 +0x46 0x88 + +# CHECK: sdbbp16 14 +0x46 0xce + +# CHECK: movep $5, $6, $2, $3 +0x84 0x34 |