summaryrefslogtreecommitdiff
path: root/test/MC/PowerPC/ppc64-encoding-fp.s
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-09-26 04:11:24 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-09-26 04:11:24 +0000
commit11c2b15c0a8282cfdc1c74968ebaba92f1fdae34 (patch)
tree9cfd8250b62ec739445273e7f3e8970216ab22e0 /test/MC/PowerPC/ppc64-encoding-fp.s
parent9fa81ab83898314d1a6608e8303dc57253292796 (diff)
downloadllvm-11c2b15c0a8282cfdc1c74968ebaba92f1fdae34.tar.gz
llvm-11c2b15c0a8282cfdc1c74968ebaba92f1fdae34.tar.bz2
llvm-11c2b15c0a8282cfdc1c74968ebaba92f1fdae34.tar.xz
PPC: Add support for fctid and fctiw
Encodings were checked against the Power ISA documents and double checked against binutils. This fixes PR17350. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/PowerPC/ppc64-encoding-fp.s')
-rw-r--r--test/MC/PowerPC/ppc64-encoding-fp.s12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/MC/PowerPC/ppc64-encoding-fp.s b/test/MC/PowerPC/ppc64-encoding-fp.s
index e288dea89f..f9bdee14e1 100644
--- a/test/MC/PowerPC/ppc64-encoding-fp.s
+++ b/test/MC/PowerPC/ppc64-encoding-fp.s
@@ -173,8 +173,10 @@
# CHECK: frsp. 2, 3 # encoding: [0xfc,0x40,0x18,0x19]
frsp. 2, 3
-# FIXME: fctid 2, 3
-# FIXME: fctid. 2, 3
+# CHECK: fctid 2, 3 # encoding: [0xfc,0x40,0x1e,0x5c]
+ fctid 2, 3
+# CHECK: fctid. 2, 3 # encoding: [0xfc,0x40,0x1e,0x5d]
+ fctid. 2, 3
# CHECK: fctidz 2, 3 # encoding: [0xfc,0x40,0x1e,0x5e]
fctidz 2, 3
# CHECK: fctidz. 2, 3 # encoding: [0xfc,0x40,0x1e,0x5f]
@@ -185,8 +187,10 @@
fctiduz 2, 3
# CHECK: fctiduz. 2, 3 # encoding: [0xfc,0x40,0x1f,0x5f]
fctiduz. 2, 3
-# FIXME: fctiw 2, 3
-# FIXME: fctiw. 2, 3
+# CHECK: fctiw 2, 3 # encoding: [0xfc,0x40,0x18,0x1c]
+ fctiw 2, 3
+# CHECK: fctiw. 2, 3 # encoding: [0xfc,0x40,0x18,0x1d]
+ fctiw. 2, 3
# CHECK: fctiwz 2, 3 # encoding: [0xfc,0x40,0x18,0x1e]
fctiwz 2, 3
# CHECK: fctiwz. 2, 3 # encoding: [0xfc,0x40,0x18,0x1f]