summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Disassembler/PowerPC
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/Disassembler/PowerPC
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/Disassembler/PowerPC')
-rw-r--r--llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt b/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
index aa2552ddac1..b18d056046e 100644
--- a/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
+++ b/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt
@@ -669,3 +669,24 @@
# CHECK: mfsrin 10, 12
0x7d 0x40 0x65 0x26
+
+# CHECK: copy 2, 19, 1
+0x7c 0x22 0x9e 0x0c
+
+# CHECK: paste 17, 1, 1
+0x7c 0x31 0x0f 0x0c
+
+# CHECK: cp_abort
+0x7c 0x00 0x06 0x8c
+
+# CHECK: msgsync
+0x7c 0x00 0x06 0xec
+
+# CHECK: slbieg 6, 21
+0x7c 0xc0 0xab 0xa4
+
+# CHECK: slbsync
+0x7c 0x00 0x02 0xa4
+
+# CHECK: stop
+0x4c 0x00 0x02 0xe4
OpenPOWER on IntegriCloud