summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
diff options
context:
space:
mode:
authorChuang-Yu Cheng <cycheng@multicorewareinc.com>2016-04-06 01:46:45 +0000
committerChuang-Yu Cheng <cycheng@multicorewareinc.com>2016-04-06 01:46:45 +0000
commiteaf4b3d75ca523b19b4da1a329775ae988633c07 (patch)
tree9bdea760473e82efca557257789ae7d44f4c8a52 /llvm/test/MC/PowerPC/ppc64-encoding-ext.s
parent99abb2728b1fed706c892d93327ebb3bcc0c939c (diff)
downloadbcm5719-llvm-eaf4b3d75ca523b19b4da1a329775ae988633c07.tar.gz
bcm5719-llvm-eaf4b3d75ca523b19b4da1a329775ae988633c07.zip
[Power9] Implement copy-paste, msgsync, slb, and stop instructions
This patch implements the following BookII and Book III instructions: - copy copy_first cp_abort paste paste. paste_last - msgsync - slbieg slbsync - stop Total 10 instructions Reviewers: nemanjai hfinkel tjablin amehsan kbarton llvm-svn: 265504
Diffstat (limited to 'llvm/test/MC/PowerPC/ppc64-encoding-ext.s')
-rw-r--r--llvm/test/MC/PowerPC/ppc64-encoding-ext.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/MC/PowerPC/ppc64-encoding-ext.s b/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
index 143a30606f0..682a737547d 100644
--- a/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
+++ b/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
@@ -3666,3 +3666,16 @@
# CHECK-LE: attn # encoding: [0x00,0x02,0x00,0x00]
attn
+# Copy-Paste Facility (Extended Mnemonics):
+# CHECK-BE: copy 2, 19, 0 # encoding: [0x7c,0x02,0x9e,0x0c]
+# CHECK-LE: copy 2, 19, 0 # encoding: [0x0c,0x9e,0x02,0x7c]
+ copy 2, 19
+# CHECK-BE: copy 2, 19, 1 # encoding: [0x7c,0x22,0x9e,0x0c]
+# CHECK-LE: copy 2, 19, 1 # encoding: [0x0c,0x9e,0x22,0x7c]
+ copy_first 2, 19
+# CHECK-BE: paste 17, 1, 0 # encoding: [0x7c,0x11,0x0f,0x0c]
+# CHECK-LE: paste 17, 1, 0 # encoding: [0x0c,0x0f,0x11,0x7c]
+ paste 17, 1
+# CHECK-BE: paste. 17, 1, 1 # encoding: [0x7c,0x31,0x0f,0x0d]
+# CHECK-LE: paste. 17, 1, 1 # encoding: [0x0d,0x0f,0x31,0x7c]
+ paste_last 17, 1
OpenPOWER on IntegriCloud