This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[power7-meissner] update rs6000_builtin_mask_for_load
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 May 2009 20:19:02 -0400
- Subject: [power7-meissner] update rs6000_builtin_mask_for_load
I forgot to include this patch in the last bunch.
2009-05-01 Michael Meissner <meissner@linux.vnet.ibm.com>
Revital1 Eres <ERES@il.ibm.com>
* config/rs6000/rs6000.c (rs6000_builtin_mask_for_load): Enable
for VSX.
Index: gcc/config/rs6000/rs6000.c
===================================================================
--- gcc/config/rs6000/rs6000.c (revision 147040)
+++ gcc/config/rs6000/rs6000.c (working copy)
@@ -2595,7 +2595,7 @@ rs6000_override_options (const char *def
static tree
rs6000_builtin_mask_for_load (void)
{
- if (TARGET_ALTIVEC && !TARGET_VSX)
+ if (TARGET_ALTIVEC || TARGET_VSX)
return altivec_builtin_mask_for_load;
else
return 0;
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com