summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2013-06-26 22:23:32 +0000
committerChad Rosier <mcrosier@apple.com>2013-06-26 22:23:32 +0000
commit096c0a03313ea43a1e4035645b02bf99fd35801a (patch)
tree5334cd1acef7a48b018c0d8f972845381ab975f7 /test/MC/Disassembler
parent6b97ebe9a32342207b24a5f73ebbf3070ec8d189 (diff)
downloadllvm-096c0a03313ea43a1e4035645b02bf99fd35801a.tar.gz
llvm-096c0a03313ea43a1e4035645b02bf99fd35801a.tar.bz2
llvm-096c0a03313ea43a1e4035645b02bf99fd35801a.tar.xz
[Mips Disassembler] Have the DecodeCCRRegisterClass function use the getReg
function to lookup the proper tablegen'ed register enumeration. Previously, it was using the encoded value directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185026 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/Mips/mips32.txt8
-rw-r--r--test/MC/Disassembler/Mips/mips32_le.txt8
-rw-r--r--test/MC/Disassembler/Mips/mips32r2.txt8
-rw-r--r--test/MC/Disassembler/Mips/mips32r2_le.txt8
4 files changed, 16 insertions, 16 deletions
diff --git a/test/MC/Disassembler/Mips/mips32.txt b/test/MC/Disassembler/Mips/mips32.txt
index ef8bf71bd3..5c2d5ca476 100644
--- a/test/MC/Disassembler/Mips/mips32.txt
+++ b/test/MC/Disassembler/Mips/mips32.txt
@@ -158,8 +158,8 @@
# CHECK: ceil.w.s $f6, $f7
0x46 0x00 0x39 0x8e
-# CHECK: cfc1 $6, $7
-0x44 0x46 0x38 0x00
+# CHECK: cfc1 $6, $fcc0
+0x44 0x46 0x08 0x00
# CHECK: clo $6, $7
0x70 0xe6 0x30 0x21
@@ -167,8 +167,8 @@
# CHECK: clz $6, $7
0x70 0xe6 0x30 0x20
-# CHECK: ctc1 $6, $7
-0x44 0xc6 0x38 0x00
+# CHECK: ctc1 $6, $fcc0
+0x44 0xc6 0x08 0x00
# CHECK: cvt.d.s $f6, $f7
0x46 0x00 0x39 0xa1
diff --git a/test/MC/Disassembler/Mips/mips32_le.txt b/test/MC/Disassembler/Mips/mips32_le.txt
index a0885a4bfe..f0553c68f8 100644
--- a/test/MC/Disassembler/Mips/mips32_le.txt
+++ b/test/MC/Disassembler/Mips/mips32_le.txt
@@ -158,8 +158,8 @@
# CHECK: ceil.w.s $f6, $f7
0x8e 0x39 0x00 0x46
-# CHECK: cfc1 $6, $7
-0x00 0x38 0x46 0x44
+# CHECK: cfc1 $6, $fcc0
+0x00 0x08 0x46 0x44
# CHECK: clo $6, $7
0x21 0x30 0xe6 0x70
@@ -167,8 +167,8 @@
# CHECK: clz $6, $7
0x20 0x30 0xe6 0x70
-# CHECK: ctc1 $6, $7
-0x00 0x38 0xc6 0x44
+# CHECK: ctc1 $6, $fcc0
+0x00 0x08 0xc6 0x44
# CHECK: cvt.d.s $f6, $f7
0xa1 0x39 0x00 0x46
diff --git a/test/MC/Disassembler/Mips/mips32r2.txt b/test/MC/Disassembler/Mips/mips32r2.txt
index 991eaa6cc9..ac20e411c1 100644
--- a/test/MC/Disassembler/Mips/mips32r2.txt
+++ b/test/MC/Disassembler/Mips/mips32r2.txt
@@ -158,8 +158,8 @@
# CHECK: ceil.w.s $f6, $f7
0x46 0x00 0x39 0x8e
-# CHECK: cfc1 $6, $7
-0x44 0x46 0x38 0x00
+# CHECK: cfc1 $6, $fcc0
+0x44 0x46 0x08 0x00
# CHECK: clo $6, $7
0x70 0xe6 0x30 0x21
@@ -167,8 +167,8 @@
# CHECK: clz $6, $7
0x70 0xe6 0x30 0x20
-# CHECK: ctc1 $6, $7
-0x44 0xc6 0x38 0x00
+# CHECK: ctc1 $6, $fcc0
+0x44 0xc6 0x08 0x00
# CHECK: cvt.d.s $f6, $f7
0x46 0x00 0x39 0xa1
diff --git a/test/MC/Disassembler/Mips/mips32r2_le.txt b/test/MC/Disassembler/Mips/mips32r2_le.txt
index 10c293821c..a9131a35f8 100644
--- a/test/MC/Disassembler/Mips/mips32r2_le.txt
+++ b/test/MC/Disassembler/Mips/mips32r2_le.txt
@@ -158,8 +158,8 @@
# CHECK: ceil.w.s $f6, $f7
0x8e 0x39 0x00 0x46
-# CHECK: cfc1 $6, $7
-0x00 0x38 0x46 0x44
+# CHECK: cfc1 $6, $fcc0
+0x00 0x08 0x46 0x44
# CHECK: clo $6, $7
0x21 0x30 0xe6 0x70
@@ -167,8 +167,8 @@
# CHECK: clz $6, $7
0x20 0x30 0xe6 0x70
-# CHECK: ctc1 $6, $7
-0x00 0x38 0xc6 0x44
+# CHECK: ctc1 $6, $fcc0
+0x00 0x08 0xc6 0x44
# CHECK: cvt.d.s $f6, $f7
0xa1 0x39 0x00 0x46