public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46346] New: [4.6 regression] fma testsuite failures
@ 2010-11-07 14:59 schwab@linux-m68k.org
  2010-11-07 15:23 ` [Bug target/46346] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2010-11-07 14:59 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 regression] fma testsuite failures
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: schwab@linux-m68k.org
                CC: meissner@gcc.gnu.org
            Target: powerpc*-*-linux


FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xvmadd 4
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xsmadd 2
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times fmadds 2
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xvmsub 2
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xsmsub 1
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times fmsubs 1
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xvnmadd 2
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xsnmadd 1
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times fnmadds 1
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xvnmsub 2
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times xsnmsub 1
FAIL: gcc.target/powerpc/ppc-fma-1.c scan-assembler-times fnmsubs 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xvmadd 2
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xsmadd 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times fmadds 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xvmsub 2
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xsmsub 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times fmsubs 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xvnmadd 2
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xsnmadd 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times fnmadds 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xvnmsub 2
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times xsnmsub 1
FAIL: gcc.target/powerpc/ppc-fma-2.c scan-assembler-times fnmsubs 1
FAIL: gcc.target/powerpc/ppc-fma-3.c scan-assembler-times vmaddfp 2
FAIL: gcc.target/powerpc/ppc-fma-3.c scan-assembler-times fmadds 2
FAIL: gcc.target/powerpc/ppc-fma-4.c scan-assembler-times vmaddfp 1
FAIL: gcc.target/powerpc/ppc-fma-4.c scan-assembler-times fmadd  1
FAIL: gcc.target/powerpc/ppc-fma-4.c scan-assembler-times fmadds 1
ppc-fma-5.c: In function 'main':
ppc-fma-5.c:26:1: internal compiler error: in rhs_to_tree, at
tree-ssa-forwprop.c:352
FAIL: gcc.target/powerpc/ppc-fmadd-1.c scan-assembler-not f(add|sub|mul|neg)


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

* [Bug target/46346] [4.6 regression] fma testsuite failures
  2010-11-07 14:59 [Bug target/46346] New: [4.6 regression] fma testsuite failures schwab@linux-m68k.org
@ 2010-11-07 15:23 ` rguenth at gcc dot gnu.org
  2010-11-07 16:16 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-07 15:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.07 15:22:59
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-07 15:22:59 UTC ---
Mine.


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

* [Bug target/46346] [4.6 regression] fma testsuite failures
  2010-11-07 14:59 [Bug target/46346] New: [4.6 regression] fma testsuite failures schwab@linux-m68k.org
  2010-11-07 15:23 ` [Bug target/46346] " rguenth at gcc dot gnu.org
@ 2010-11-07 16:16 ` ubizjak at gmail dot com
  2010-11-07 17:39 ` rguenther at suse dot de
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2010-11-07 16:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-07 16:15:39 UTC ---
A trivial attempt that fixes builtin-attr-1.c for x86 with -mfma:

Index: tree-ssa-forwprop.c
===================================================================
--- tree-ssa-forwprop.c    (revision 166415)
+++ tree-ssa-forwprop.c    (working copy)
@@ -341,7 +341,11 @@ rhs_to_tree (tree type, gimple stmt)
 {
   location_t loc = gimple_location (stmt);
   enum tree_code code = gimple_assign_rhs_code (stmt);
-  if (get_gimple_rhs_class (code) == GIMPLE_BINARY_RHS)
+  if (get_gimple_rhs_class (code) == GIMPLE_TERNARY_RHS)
+    return fold_build3_loc (loc, code, type, gimple_assign_rhs1 (stmt),
+                gimple_assign_rhs2 (stmt),
+                gimple_assign_rhs3 (stmt));
+  else if (get_gimple_rhs_class (code) == GIMPLE_BINARY_RHS)
     return fold_build2_loc (loc, code, type, gimple_assign_rhs1 (stmt),
             gimple_assign_rhs2 (stmt));
   else if (get_gimple_rhs_class (code) == GIMPLE_UNARY_RHS)


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

* [Bug target/46346] [4.6 regression] fma testsuite failures
  2010-11-07 14:59 [Bug target/46346] New: [4.6 regression] fma testsuite failures schwab@linux-m68k.org
  2010-11-07 15:23 ` [Bug target/46346] " rguenth at gcc dot gnu.org
  2010-11-07 16:16 ` ubizjak at gmail dot com
@ 2010-11-07 17:39 ` rguenther at suse dot de
  2010-11-07 17:49 ` uros at gcc dot gnu.org
  2010-11-07 18:00 ` [Bug tree-optimization/46346] " ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rguenther at suse dot de @ 2010-11-07 17:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> 2010-11-07 17:39:16 UTC ---
On Sun, 7 Nov 2010, ubizjak at gmail dot com wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46346
> 
> --- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-07 16:15:39 UTC ---
> A trivial attempt that fixes builtin-attr-1.c for x86 with -mfma:

Works for me.

> Index: tree-ssa-forwprop.c
> ===================================================================
> --- tree-ssa-forwprop.c    (revision 166415)
> +++ tree-ssa-forwprop.c    (working copy)
> @@ -341,7 +341,11 @@ rhs_to_tree (tree type, gimple stmt)
>  {
>    location_t loc = gimple_location (stmt);
>    enum tree_code code = gimple_assign_rhs_code (stmt);
> -  if (get_gimple_rhs_class (code) == GIMPLE_BINARY_RHS)
> +  if (get_gimple_rhs_class (code) == GIMPLE_TERNARY_RHS)
> +    return fold_build3_loc (loc, code, type, gimple_assign_rhs1 (stmt),
> +                gimple_assign_rhs2 (stmt),
> +                gimple_assign_rhs3 (stmt));
> +  else if (get_gimple_rhs_class (code) == GIMPLE_BINARY_RHS)
>      return fold_build2_loc (loc, code, type, gimple_assign_rhs1 (stmt),
>              gimple_assign_rhs2 (stmt));
>    else if (get_gimple_rhs_class (code) == GIMPLE_UNARY_RHS)
> 
>


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

* [Bug target/46346] [4.6 regression] fma testsuite failures
  2010-11-07 14:59 [Bug target/46346] New: [4.6 regression] fma testsuite failures schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2010-11-07 17:39 ` rguenther at suse dot de
@ 2010-11-07 17:49 ` uros at gcc dot gnu.org
  2010-11-07 18:00 ` [Bug tree-optimization/46346] " ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2010-11-07 17:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from uros at gcc dot gnu.org 2010-11-07 17:49:15 UTC ---
Author: uros
Date: Sun Nov  7 17:49:11 2010
New Revision: 166419

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166419
Log:
    PR tree-optimization/46346
    * tree-ssa-forwprop.c (rhs_to_tree): Handle GIMPLE_TERNARY_RHS.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c


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

* [Bug tree-optimization/46346] [4.6 regression] fma testsuite failures
  2010-11-07 14:59 [Bug target/46346] New: [4.6 regression] fma testsuite failures schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2010-11-07 17:49 ` uros at gcc dot gnu.org
@ 2010-11-07 18:00 ` ubizjak at gmail dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2010-11-07 18:00 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2010-11/msg00690.htm
                   |                            |l
          Component|target                      |tree-optimization
         Resolution|                            |FIXED

--- Comment #5 from Uros Bizjak <ubizjak at gmail dot com> 2010-11-07 18:00:05 UTC ---
Fixed.


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

end of thread, other threads:[~2010-11-07 18:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 14:59 [Bug target/46346] New: [4.6 regression] fma testsuite failures schwab@linux-m68k.org
2010-11-07 15:23 ` [Bug target/46346] " rguenth at gcc dot gnu.org
2010-11-07 16:16 ` ubizjak at gmail dot com
2010-11-07 17:39 ` rguenther at suse dot de
2010-11-07 17:49 ` uros at gcc dot gnu.org
2010-11-07 18:00 ` [Bug tree-optimization/46346] " ubizjak at gmail dot 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).