diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-28 00:55:15 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-28 00:55:15 +0000 |
commit | a796d90c0ed7ebd5d58fced43c60afc2e9bf6225 (patch) | |
tree | a65b85efb4cbecf44cf92e7a1d0a2c7cee637cd5 /test/MC/Disassembler | |
parent | bf19dba2d4c7927832d3037c15e0101afb730415 (diff) | |
download | external_llvm-a796d90c0ed7ebd5d58fced43c60afc2e9bf6225.zip external_llvm-a796d90c0ed7ebd5d58fced43c60afc2e9bf6225.tar.gz external_llvm-a796d90c0ed7ebd5d58fced43c60afc2e9bf6225.tar.bz2 |
[mips] Use ptr_rc to simplify definitions of base+index load/store instructions.
Also, fix predicates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r-- | test/MC/Disassembler/Mips/mips-dsp.txt | 9 | ||||
-rw-r--r-- | test/MC/Disassembler/Mips/mips32r2.txt | 12 | ||||
-rw-r--r-- | test/MC/Disassembler/Mips/mips32r2_le.txt | 12 | ||||
-rw-r--r-- | test/MC/Disassembler/Mips/mips64.txt | 18 | ||||
-rw-r--r-- | test/MC/Disassembler/Mips/mips64_le.txt | 18 |
5 files changed, 69 insertions, 0 deletions
diff --git a/test/MC/Disassembler/Mips/mips-dsp.txt b/test/MC/Disassembler/Mips/mips-dsp.txt index d10e62c..3f60ae1 100644 --- a/test/MC/Disassembler/Mips/mips-dsp.txt +++ b/test/MC/Disassembler/Mips/mips-dsp.txt @@ -11,3 +11,12 @@ # CHECK: mtlo $21, $ac3 0x13 0x18 0xa0 0x02 + +# CHECK: lbux $10, $20($26) +0x8a 0x51 0x54 0x7f + +# CHECK: lhx $11, $21($27) +0x0a 0x59 0x75 0x7f + +# CHECK: lwx $12, $22($gp) +0x0a 0x60 0x96 0x7f diff --git a/test/MC/Disassembler/Mips/mips32r2.txt b/test/MC/Disassembler/Mips/mips32r2.txt index 48b6ad4..11d9058 100644 --- a/test/MC/Disassembler/Mips/mips32r2.txt +++ b/test/MC/Disassembler/Mips/mips32r2.txt @@ -242,6 +242,9 @@ # CHECK: lui $6, 17767 0x3c 0x06 0x45 0x67 +# CHECK: luxc1 $f0, $6($5) +0x4c 0xa6 0x00 0x05 + # CHECK: lw $4, 24($5) 0x8c 0xa4 0x00 0x18 @@ -254,6 +257,9 @@ # CHECK: lwr $3, 16($5) 0x98 0xa3 0x00 0x10 +# CHECK: lwxc1 $f20, $12($14) +0x4d 0xcc 0x05 0x00 + # CHECK: madd $6, $7 0x70 0xc7 0x00 0x00 @@ -404,6 +410,9 @@ # CHECK: subu $4, $3, $5 0x00 0x65 0x20 0x23 +# CHECK: suxc1 $f4, $24($5) +0x4c 0xb8 0x20 0x0d + # CHECK: sw $4, 24($5) 0xac 0xa4 0x00 0x18 @@ -416,6 +425,9 @@ # CHECK: swr $6, 16($7) 0xb8 0xe6 0x00 0x10 +# CHECK: swxc1 $f26, $18($22) +0x4e 0xd2 0xd0 0x08 + # CHECK: sync 7 0x00 0x00 0x01 0xcf diff --git a/test/MC/Disassembler/Mips/mips32r2_le.txt b/test/MC/Disassembler/Mips/mips32r2_le.txt index c62c695..adafcf1 100644 --- a/test/MC/Disassembler/Mips/mips32r2_le.txt +++ b/test/MC/Disassembler/Mips/mips32r2_le.txt @@ -242,6 +242,9 @@ # CHECK: lui $6, 17767 0x67 0x45 0x06 0x3c +# CHECK: luxc1 $f0, $6($5) +0x05 0x00 0xa6 0x4c + # CHECK: lw $4, 24($5) 0x18 0x00 0xa4 0x8c @@ -254,6 +257,9 @@ # CHECK: lwr $3, 16($5) 0x10 0x00 0xa3 0x98 +# CHECK: lwxc1 $f20, $12($14) +0x00 0x05 0xcc 0x4d + # CHECK: madd $6, $7 0x00 0x00 0xc7 0x70 @@ -404,6 +410,9 @@ # CHECK: subu $4, $3, $5 0x23 0x20 0x65 0x00 +# CHECK: suxc1 $f4, $24($5) +0x0d 0x20 0xb8 0x4c + # CHECK: sw $4, 24($5) 0x18 0x00 0xa4 0xac @@ -416,6 +425,9 @@ # CHECK: swr $6, 16($7) 0x10 0x00 0xe6 0xb8 +# CHECK: swxc1 $f26, $18($22) +0x08 0xd0 0xd2 0x4e + # CHECK: sync 7 0xcf 0x01 0x00 0x00 diff --git a/test/MC/Disassembler/Mips/mips64.txt b/test/MC/Disassembler/Mips/mips64.txt index b887473..2ccef83 100644 --- a/test/MC/Disassembler/Mips/mips64.txt +++ b/test/MC/Disassembler/Mips/mips64.txt @@ -64,3 +64,21 @@ # CHECK: sd $6, 17767($zero) 0xfc 0x06 0x45 0x67 + +# CHECK: luxc1 $f0, $6($5) +0x4c 0xa6 0x00 0x05 + +# CHECK: lwxc1 $f20, $12($14) +0x4d 0xcc 0x05 0x00 + +# CHECK: suxc1 $f4, $24($5) +0x4c 0xb8 0x20 0x0d + +# CHECK: swxc1 $f26, $18($22) +0x4e 0xd2 0xd0 0x08 + +# CHECK: ldxc1 $f2, $2($10) +0x4d 0x42 0x00 0x81 + +# CHECK: sdxc1 $f8, $4($25) +0x4f 0x24 0x40 0x09 diff --git a/test/MC/Disassembler/Mips/mips64_le.txt b/test/MC/Disassembler/Mips/mips64_le.txt index ddc3c2b..0d3d2fa 100644 --- a/test/MC/Disassembler/Mips/mips64_le.txt +++ b/test/MC/Disassembler/Mips/mips64_le.txt @@ -64,3 +64,21 @@ # CHECK: sd $6, 17767($zero) 0x67 0x45 0x06 0xfc + +# CHECK: luxc1 $f0, $6($5) +0x05 0x00 0xa6 0x4c + +# CHECK: lwxc1 $f20, $12($14) +0x00 0x05 0xcc 0x4d + +# CHECK: suxc1 $f4, $24($5) +0x0d 0x20 0xb8 0x4c + +# CHECK: swxc1 $f26, $18($22) +0x08 0xd0 0xd2 0x4e + +# CHECK: ldxc1 $f2, $2($10) +0x81 0x00 0x42 0x4d + +# CHECK: sdxc1 $f8, $4($25) +0x09 0x40 0x24 0x4f |