aboutsummaryrefslogtreecommitdiff
path: root/test/MC/PowerPC/ppc64-encoding.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/PowerPC/ppc64-encoding.s')
-rw-r--r--test/MC/PowerPC/ppc64-encoding.s22
1 files changed, 12 insertions, 10 deletions
diff --git a/test/MC/PowerPC/ppc64-encoding.s b/test/MC/PowerPC/ppc64-encoding.s
index 4a698adadda3..b2aac8874ffe 100644
--- a/test/MC/PowerPC/ppc64-encoding.s
+++ b/test/MC/PowerPC/ppc64-encoding.s
@@ -634,18 +634,20 @@
# CHECK-LE: extsh. 2, 3 # encoding: [0x35,0x07,0x62,0x7c]
extsh. 2, 3
-# CHECK-BE: cntlz 2, 3 # encoding: [0x7c,0x62,0x00,0x34]
-# CHECK-LE: cntlz 2, 3 # encoding: [0x34,0x00,0x62,0x7c]
+# CHECK-BE: cntlzw 2, 3 # encoding: [0x7c,0x62,0x00,0x34]
+# CHECK-LE: cntlzw 2, 3 # encoding: [0x34,0x00,0x62,0x7c]
cntlzw 2, 3
-# CHECK-BE: cntlz. 2, 3 # encoding: [0x7c,0x62,0x00,0x35]
-# CHECK-LE: cntlz. 2, 3 # encoding: [0x35,0x00,0x62,0x7c]
+# CHECK-BE: cntlzw. 2, 3 # encoding: [0x7c,0x62,0x00,0x35]
+# CHECK-LE: cntlzw. 2, 3 # encoding: [0x35,0x00,0x62,0x7c]
cntlzw. 2, 3
-# CHECK-BE: cntlz 2, 3 # encoding: [0x7c,0x62,0x00,0x34]
-# CHECK-LE: cntlz 2, 3 # encoding: [0x34,0x00,0x62,0x7c]
- cntlz 2, 3
-# CHECK-BE: cntlz. 2, 3 # encoding: [0x7c,0x62,0x00,0x35]
-# CHECK-LE: cntlz. 2, 3 # encoding: [0x35,0x00,0x62,0x7c]
- cntlz. 2, 3
+#
+# The POWER variant of cntlzw
+# CHECK-BE: cntlzw 2, 3 # encoding: [0x7c,0x62,0x00,0x34]
+# CHECK-LE: cntlzw 2, 3 # encoding: [0x34,0x00,0x62,0x7c]
+ cntlz 2, 3
+# CHECK-BE: cntlzw. 2, 3 # encoding: [0x7c,0x62,0x00,0x35]
+# CHECK-LE: cntlzw. 2, 3 # encoding: [0x35,0x00,0x62,0x7c]
+ cntlz. 2, 3
cmpb 7, 21, 4
# CHECK-BE: cmpb 7, 21, 4 # encoding: [0x7e,0xa7,0x23,0xf8]
# CHECK-LE: cmpb 7, 21, 4 # encoding: [0xf8,0x23,0xa7,0x7e]