Patchwork Fix PR45706 (missing i?86-*-*)

login
register
mail settings
Submitter Michael Matz
Date Sept. 20, 2010, 2:14 p.m.
Message ID <Pine.LNX.4.64.1009201612100.8655@wotan.suse.de>
Download mbox | patch
Permalink /patch/65213/
State New
Headers show

Comments

Michael Matz - Sept. 20, 2010, 2:14 p.m.
Hi,

I forgot to add i?86-*-* to the targets that now can do some vector 
permutations resulting in mismatches between -m32 and native 32bit 
compilation (and testsuite fails).  I've checked in this obvious patch 
after H.J. confirmed that it doesn't cause further regressions.


Ciao,
Michael.
H.J. Lu - Sept. 20, 2010, 2:38 p.m.
On Mon, Sep 20, 2010 at 7:14 AM, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> I forgot to add i?86-*-* to the targets that now can do some vector
> permutations resulting in mismatches between -m32 and native 32bit
> compilation (and testsuite fails).  I've checked in this obvious patch
> after H.J. confirmed that it doesn't cause further regressions.
>

I missed

gcc.dg/vect/pr43432.c

This will fail on ia32 since it doesn't use -msse2.

Patch

Index: testsuite/lib/target-supports.exp
===================================================================
--- testsuite/lib/target-supports.exp	(revision 164367)
+++ testsuite/lib/target-supports.exp	(working copy)
@@ -2426,6 +2426,7 @@  proc check_effective_target_vect_perm {
         set et_vect_perm_saved 0
         if { [istarget powerpc*-*-*]
              || [istarget spu-*-*]
+	     || [istarget i?86-*-*]
 	     || [istarget x86_64-*-*] } {
             set et_vect_perm_saved 1
         }