summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt6
-rw-r--r--llvm/test/MC/PowerPC/ppc64-encoding-bookII.s14
2 files changed, 18 insertions, 2 deletions
diff --git a/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt b/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt
index 4f62c782fd7..b4863835a0e 100644
--- a/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt
+++ b/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt
@@ -54,6 +54,12 @@
# CHECK: dcbf 2, 3
0x7c 0x02 0x18 0xac
+# CHECK: dcbfl 2, 3
+0x7c 0x22 0x18 0xac
+
+# CHECK: dcbflp 2, 3
+0x7c 0x62 0x18 0xac
+
# CHECK: lbarx 2, 3, 4
0x7c 0x43 0x20 0x68
diff --git a/llvm/test/MC/PowerPC/ppc64-encoding-bookII.s b/llvm/test/MC/PowerPC/ppc64-encoding-bookII.s
index de8b0d24a55..a6af0a954d7 100644
--- a/llvm/test/MC/PowerPC/ppc64-encoding-bookII.s
+++ b/llvm/test/MC/PowerPC/ppc64-encoding-bookII.s
@@ -60,7 +60,12 @@
# CHECK-BE: dcbst 2, 3 # encoding: [0x7c,0x02,0x18,0x6c]
# CHECK-LE: dcbst 2, 3 # encoding: [0x6c,0x18,0x02,0x7c]
dcbst 2, 3
-# FIXME: dcbf 2, 3, 1
+# CHECK-BE: dcbfl 2, 3 # encoding: [0x7c,0x22,0x18,0xac]
+# CHECK-LE: dcbfl 2, 3 # encoding: [0xac,0x18,0x22,0x7c]
+ dcbf 2, 3, 1
+# CHECK-BE: dcbflp 2, 3 # encoding: [0x7c,0x62,0x18,0xac]
+# CHECK-LE: dcbflp 2, 3 # encoding: [0xac,0x18,0x62,0x7c]
+ dcbf 2, 3, 3
# Synchronization instructions
@@ -106,7 +111,12 @@
# CHECK-BE: dcbf 2, 3 # encoding: [0x7c,0x02,0x18,0xac]
# CHECK-LE: dcbf 2, 3 # encoding: [0xac,0x18,0x02,0x7c]
dcbf 2, 3
-# FIXME: dcbfl 2, 3
+# CHECK-BE: dcbfl 2, 3 # encoding: [0x7c,0x22,0x18,0xac]
+# CHECK-LE: dcbfl 2, 3 # encoding: [0xac,0x18,0x22,0x7c]
+ dcbfl 2, 3
+# CHECK-BE: dcbflp 2, 3 # encoding: [0x7c,0x62,0x18,0xac]
+# CHECK-LE: dcbflp 2, 3 # encoding: [0xac,0x18,0x62,0x7c]
+ dcbflp 2, 3
# CHECK-BE: lbarx 2, 3, 4 # encoding: [0x7c,0x43,0x20,0x68]
# CHECK-LE: lbarx 2, 3, 4 # encoding: [0x68,0x20,0x43,0x7c]
OpenPOWER on IntegriCloud