This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[vect256] PATCH: Remove the unused elt_mode
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 12 May 2010 14:00:29 -0700
- Subject: [vect256] PATCH: Remove the unused elt_mode
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch to remove unused elt_mode.
H.J.
---
Index: ChangeLog.vect256
===================================================================
--- ChangeLog.vect256 (revision 159337)
+++ ChangeLog.vect256 (working copy)
@@ -1,5 +1,10 @@
2010-05-12 H.J. Lu <hongjiu.lu@intel.com>
+ * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove
+ elt_mode.
+
+2010-05-12 H.J. Lu <hongjiu.lu@intel.com>
+
* config/i386/sse.md (vec_interleave_highv8sf): New.
(vec_interleave_lowv8sf): Likewise.
(vec_extract<mode>): Likewise.
Index: config/i386/i386.c
===================================================================
--- config/i386/i386.c (revision 159330)
+++ config/i386/i386.c (working copy)
@@ -14356,14 +14356,10 @@ ix86_expand_fp_absneg_operator (enum rtx
rtx mask, set, use, clob, dst, src;
bool use_sse = false;
bool vector_mode = VECTOR_MODE_P (mode);
- enum machine_mode vmode, elt_mode = mode;
+ enum machine_mode vmode = mode;
- vmode = mode;
if (vector_mode)
- {
- elt_mode = GET_MODE_INNER (mode);
- use_sse = true;
- }
+ use_sse = true;
else if (mode == TFmode)
use_sse = true;
else if (TARGET_SSE_MATH)