From 11c2b15c0a8282cfdc1c74968ebaba92f1fdae34 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Thu, 26 Sep 2013 04:11:24 +0000 Subject: 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 --- test/MC/PowerPC/ppc64-encoding-fp.s | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/MC/PowerPC') diff --git a/test/MC/PowerPC/ppc64-encoding-fp.s b/test/MC/PowerPC/ppc64-encoding-fp.s index e288dea..f9bdee1 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] -- cgit v1.1