diff mbox

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

Message ID 20140219181835.GA20480@intel.com
State New
Headers show

Commit Message

H.J. Lu Feb. 19, 2014, 6:18 p.m. UTC
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.
---
diff mbox

Patch

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