summaryrefslogtreecommitdiff
path: root/test/MC/MBlaze
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-11-13 02:37:59 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-11-13 02:37:59 +0000
commitec57d53342827a17022b710cba9a9f4420d9ddce (patch)
tree463d27a6d2b732c18e8ab7329287c5f35ae4dee6 /test/MC/MBlaze
parent63f3544a7f6ca09e7515d6b0e1bf9e8e884131e2 (diff)
downloadllvm-ec57d53342827a17022b710cba9a9f4420d9ddce.tar.gz
llvm-ec57d53342827a17022b710cba9a9f4420d9ddce.tar.bz2
llvm-ec57d53342827a17022b710cba9a9f4420d9ddce.tar.xz
1. Adding test cases for MBlaze MC disassembler.
2. Fixing several errors in disassembler uncovered by test cases. 3. Fixing invalid encoding of PCMPEQ and PCMPNE uncovered by test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/MBlaze')
-rw-r--r--test/MC/MBlaze/mblaze_pattern.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/MC/MBlaze/mblaze_pattern.s b/test/MC/MBlaze/mblaze_pattern.s
index d9c56011f4..6bbc234e3d 100644
--- a/test/MC/MBlaze/mblaze_pattern.s
+++ b/test/MC/MBlaze/mblaze_pattern.s
@@ -11,12 +11,12 @@
# CHECK: encoding: [0x80,0x01,0x14,0x00]
pcmpbf r0, r1, r2
-# CHECK: pcmpeq
+# CHECK: pcmpne
# BINARY: 100011 00000 00001 00010 10000000000
# CHECK: encoding: [0x8c,0x01,0x14,0x00]
- pcmpeq r0, r1, r2
+ pcmpne r0, r1, r2
-# CHECK: pcmpne
+# CHECK: pcmpeq
# BINARY: 100010 00000 00001 00010 10000000000
# CHECK: encoding: [0x88,0x01,0x14,0x00]
- pcmpne r0, r1, r2
+ pcmpeq r0, r1, r2