[llvm] r185347 - [PowerPC] Add some existing instructions to ppc64-encoding-bookII.s
Ulrich Weigand
ulrich.weigand at de.ibm.com
Mon Jul 1 09:52:55 PDT 2013
Author: uweigand
Date: Mon Jul 1 11:52:55 2013
New Revision: 185347
URL: http://llvm.org/viewvc/llvm-project?rev=185347&view=rev
Log:
[PowerPC] Add some existing instructions to ppc64-encoding-bookII.s
The test case had a couple of FIXMEs where the instruction is in
fact already supported by the back-end. In some other case, while
the generic form of the instruction is not yet supported, a
specialized form is. This adds tests for those already supported
instructions / instruction forms.
Modified:
llvm/trunk/test/MC/PowerPC/ppc64-encoding-bookII.s
Modified: llvm/trunk/test/MC/PowerPC/ppc64-encoding-bookII.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/PowerPC/ppc64-encoding-bookII.s?rev=185347&r1=185346&r2=185347&view=diff
==============================================================================
--- llvm/trunk/test/MC/PowerPC/ppc64-encoding-bookII.s (original)
+++ llvm/trunk/test/MC/PowerPC/ppc64-encoding-bookII.s Mon Jul 1 11:52:55 2013
@@ -3,11 +3,15 @@
# Cache management instruction
-# FIXME: icbi 2, 3
-# FIXME: icbt 1, 2, 3
+# CHECK: icbi 2, 3 # encoding: [0x7c,0x02,0x1f,0xac]
+ icbi 2, 3
# FIXME: dcbt 2, 3, 10
+# CHECK: dcbt 2, 3 # encoding: [0x7c,0x02,0x1a,0x2c]
+ dcbt 2, 3
# FIXME: dcbtst 2, 3, 10
+# CHECK: dcbtst 2, 3 # encoding: [0x7c,0x02,0x19,0xec]
+ dcbtst 2, 3
# CHECK: dcbz 2, 3 # encoding: [0x7c,0x02,0x1f,0xec]
dcbz 2, 3
# CHECK: dcbst 2, 3 # encoding: [0x7c,0x02,0x18,0x6c]
@@ -16,7 +20,8 @@
# Synchronization instructions
-# FIXME: isync
+# CHECK: isync # encoding: [0x4c,0x00,0x01,0x2c]
+ isync
# FIXME: lbarx 2, 3, 4, 1
# FIXME: lharx 2, 3, 4, 1
More information about the llvm-commits
mailing list