public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48287] New: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
@ 2011-03-25 15:11 ro at gcc dot gnu.org
  2011-03-25 16:09 ` [Bug target/48287] " irar at il dot ibm.com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2011-03-25 15:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48287

           Summary: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ro@gcc.gnu.org
                CC: ebotcazou@gcc.gnu.org, irar@il.ibm.com
              Host: sparc-sun-solaris2.*
            Target: sparc-sun-solaris2.*
             Build: sparc-sun-solaris2.*


Created attachment 23773
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23773
-fdump-tree-vect-details output

The new gcc.dg/vect/vect-cselim-1.c FAILs on Solaris 2/SPARC (both 32 and
64-bit
ABIs):

FAIL: gcc.dg/vect/vect-cselim-1.c scan-tree-dump-times vect "vectorized 1
loops" 1

I'm attaching the dump for reference.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/48287] gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
  2011-03-25 15:11 [Bug target/48287] New: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC ro at gcc dot gnu.org
@ 2011-03-25 16:09 ` irar at il dot ibm.com
  2011-03-25 16:17 ` ro at CeBiTec dot Uni-Bielefeld.DE
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: irar at il dot ibm.com @ 2011-03-25 16:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48287

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.03.25 15:42:06
         AssignedTo|unassigned at gcc dot       |irar at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Ira Rosen <irar at il dot ibm.com> 2011-03-25 15:42:06 UTC ---
It fails because of misaligned load, so

Index: vect-cselim-1.c
===================================================================
--- vect-cselim-1.c     (revision 171381)
+++ vect-cselim-1.c     (working copy)
@@ -82,5 +82,5 @@
   return 0;
 }

-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  { xfail
vect_no_align } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */

is supposed to fix this.

Thanks for attaching the dump.

Ira


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/48287] gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
  2011-03-25 15:11 [Bug target/48287] New: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC ro at gcc dot gnu.org
  2011-03-25 16:09 ` [Bug target/48287] " irar at il dot ibm.com
@ 2011-03-25 16:17 ` ro at CeBiTec dot Uni-Bielefeld.DE
  2011-03-25 16:36 ` irar at gcc dot gnu.org
  2011-03-25 18:16 ` irar at il dot ibm.com
  3 siblings, 0 replies; 5+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2011-03-25 16:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48287

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-03-25 15:59:42 UTC ---
> --- Comment #1 from Ira Rosen <irar at il dot ibm.com> 2011-03-25 15:42:06 UTC ---
> It fails because of misaligned load, so
>
> Index: vect-cselim-1.c
> ===================================================================
> --- vect-cselim-1.c     (revision 171381)
> +++ vect-cselim-1.c     (working copy)
> @@ -82,5 +82,5 @@
>    return 0;
>  }
>
> -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  } } */
> +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  { xfail
> vect_no_align } } } */
>  /* { dg-final { cleanup-tree-dump "vect" } } */
>
> is supposed to fix this.

It does indeed, tested with runtest on sparc-sun-solaris2.10.

Thanks.
    Rainer


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/48287] gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
  2011-03-25 15:11 [Bug target/48287] New: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC ro at gcc dot gnu.org
  2011-03-25 16:09 ` [Bug target/48287] " irar at il dot ibm.com
  2011-03-25 16:17 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2011-03-25 16:36 ` irar at gcc dot gnu.org
  2011-03-25 18:16 ` irar at il dot ibm.com
  3 siblings, 0 replies; 5+ messages in thread
From: irar at gcc dot gnu.org @ 2011-03-25 16:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48287

--- Comment #3 from irar at gcc dot gnu.org 2011-03-25 16:08:49 UTC ---
Author: irar
Date: Fri Mar 25 16:08:40 2011
New Revision: 171457

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171457
Log:

        PR target/48287
        * gcc.dg/vect/vect-cselim-1.c: Fail for vect_no_align.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/vect/vect-cselim-1.c


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/48287] gcc.dg/vect/vect-cselim-1.c FAILs on SPARC
  2011-03-25 15:11 [Bug target/48287] New: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC ro at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-03-25 16:36 ` irar at gcc dot gnu.org
@ 2011-03-25 18:16 ` irar at il dot ibm.com
  3 siblings, 0 replies; 5+ messages in thread
From: irar at il dot ibm.com @ 2011-03-25 18:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48287

Ira Rosen <irar at il dot ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Ira Rosen <irar at il dot ibm.com> 2011-03-25 18:05:08 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-25 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-25 15:11 [Bug target/48287] New: gcc.dg/vect/vect-cselim-1.c FAILs on SPARC ro at gcc dot gnu.org
2011-03-25 16:09 ` [Bug target/48287] " irar at il dot ibm.com
2011-03-25 16:17 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-03-25 16:36 ` irar at gcc dot gnu.org
2011-03-25 18:16 ` irar at il dot ibm.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).