This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: PR target/60207: Wrong TFmode check in construct_container
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Uros Bizjak <ubizjak at gmail dot com>
- Date: Wed, 19 Feb 2014 10:18:35 -0800
- Subject: PATCH: PR target/60207: Wrong TFmode check in construct_container
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
There is no need to check TFmode for X86_64_INTEGER_CLASS since TFmode
is passed in vector register. This patch has been pre-approved for
mainline and release branches. I checked it into mainline and will
backport it to 4.7/4.8 branch.
H.J.
---
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog (revision 207912)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,9 @@
+2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/60207
+ * config/i386/i386.c (construct_container): Remove TFmode check
+ for X86_64_INTEGER_CLASS.
+
2014-02-19 Uros Bizjak <ubizjak@gmail.com>
PR target/59794
Index: gcc/config/i386/i386.c
===================================================================
--- gcc/config/i386/i386.c (revision 207912)
+++ gcc/config/i386/i386.c (working copy)
@@ -6966,7 +6966,7 @@ construct_container (enum machine_mode m
if (n == 2
&& regclass[0] == X86_64_INTEGER_CLASS
&& regclass[1] == X86_64_INTEGER_CLASS
- && (mode == CDImode || mode == TImode || mode == TFmode)
+ && (mode == CDImode || mode == TImode)
&& intreg[0] + 1 == intreg[1])
return gen_rtx_REG (mode, intreg[0]);