aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/PowerPC
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-06-24 18:08:03 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-06-24 18:08:03 +0000
commit96fb3a25cb0007f06d22d28c0b9c3503798324f6 (patch)
treee36a55824b24b7b621481ffb717ffda91515bb3a /test/MC/PowerPC
parent89ced61187bc9805f2894f5988c07d12531a3a0e (diff)
downloadexternal_llvm-96fb3a25cb0007f06d22d28c0b9c3503798324f6.zip
external_llvm-96fb3a25cb0007f06d22d28c0b9c3503798324f6.tar.gz
external_llvm-96fb3a25cb0007f06d22d28c0b9c3503798324f6.tar.bz2
[PowerPC] Support some miscellaneous mnemonics in the asm parser
This adds support for the following extended mnemonics: xnop mr. not not. la git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/PowerPC')
-rw-r--r--test/MC/PowerPC/ppc64-encoding-ext.s15
1 files changed, 10 insertions, 5 deletions
diff --git a/test/MC/PowerPC/ppc64-encoding-ext.s b/test/MC/PowerPC/ppc64-encoding-ext.s
index 101c991..f6bfa69 100644
--- a/test/MC/PowerPC/ppc64-encoding-ext.s
+++ b/test/MC/PowerPC/ppc64-encoding-ext.s
@@ -1899,15 +1899,20 @@
# CHECK: nop # encoding: [0x60,0x00,0x00,0x00]
nop
-# FIXME: xnop
+# CHECK: xori 0, 0, 0 # encoding: [0x68,0x00,0x00,0x00]
+ xnop
# CHECK: li 2, 128 # encoding: [0x38,0x40,0x00,0x80]
li 2, 128
# CHECK: lis 2, 128 # encoding: [0x3c,0x40,0x00,0x80]
lis 2, 128
-# FIXME: la 2, 128(4)
+# CHECK: la 2, 128(4)
+ la 2, 128(4)
# CHECK: mr 2, 3 # encoding: [0x7c,0x62,0x1b,0x78]
mr 2, 3
-# FIXME: mr. 2, 3
-# FIXME: not 2, 3
-# FIXME: not. 2, 3
+# CHECK: or. 2, 3, 3 # encoding: [0x7c,0x62,0x1b,0x79]
+ mr. 2, 3
+# CHECK: nor 2, 3, 3 # encoding: [0x7c,0x62,0x18,0xf8]
+ not 2, 3
+# CHECK: nor. 2, 3, 3 # encoding: [0x7c,0x62,0x18,0xf9]
+ not. 2, 3