This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: PR target/60207: Wrong TFmode check in construct_container


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]);
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]