public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux
@ 2005-03-16 18:36 jsm28 at gcc dot gnu dot org
2005-03-17 20:57 ` [Bug tree-optimization/20501] " dorit at il dot ibm dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-03-16 18:36 UTC (permalink / raw)
To: gcc-bugs
The new test gcc.dg/vect-93.c shows the following results on ia64-hpux on
mainline, both -mlp64 and -milp32.
FAIL: gcc.dg/vect/vect-93.c scan-tree-dump-times Alignment of access forced
using peeling 2
XPASS: gcc.dg/vect/vect-93.c scan-tree-dump-times Alignment of access forced
using peeling 3
--
Summary: gcc.dg/vect/vect-93.c fails on ia64-hpux
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-*-hpux11.*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
@ 2005-03-17 20:57 ` dorit at il dot ibm dot com
2005-03-18 1:33 ` jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dorit at il dot ibm dot com @ 2005-03-17 20:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2005-03-17 20:57 -------
can you please send the output of compiling with -fdump-tree-vect-details?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
2005-03-17 20:57 ` [Bug tree-optimization/20501] " dorit at il dot ibm dot com
@ 2005-03-18 1:33 ` jsm28 at gcc dot gnu dot org
2005-03-20 12:26 ` dorit at il dot ibm dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-03-18 1:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-18 01:32 -------
Created an attachment (id=8412)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8412&action=view)
output of compiling with -fdump-tree-vect-details
Here is the output requested, compiled with the options used by the testsuite
plus -fdump-tree-vect-details:
-O2 -ftree-vectorize -ftree-vectorizer-verbose=3 -fdump-tree-vect-stats
-fdump-tree-vect-details -milp32
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
2005-03-17 20:57 ` [Bug tree-optimization/20501] " dorit at il dot ibm dot com
2005-03-18 1:33 ` jsm28 at gcc dot gnu dot org
@ 2005-03-20 12:26 ` dorit at il dot ibm dot com
2005-03-22 10:54 ` dorit at il dot ibm dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dorit at il dot ibm dot com @ 2005-03-20 12:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2005-03-20 12:26 -------
Thanks.
This patch should fix the problem (the message "Alignment of access forced
using peeling" should not be printed when we're not going to vectorize the loop
due to unsupported unaligned access. this patch moves the printing of this
message to after the check that the alignment of all accesses is supported):
Index: tree-vect-analyze.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-vect-analyze.c,v
retrieving revision 2.13
diff -c -3 -p -r2.13 tree-vect-analyze.c
*** tree-vect-analyze.c 17 Mar 2005 21:08:06 -0000 2.13
--- tree-vect-analyze.c 20 Mar 2005 12:17:39 -0000
*************** vect_enhance_data_refs_alignment (loop_v
*** 1183,1190 ****
}
DR_MISALIGNMENT (dr0) = 0;
- if (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
- fprintf (vect_dump, "Alignment of access forced using peeling.");
}
}
--- 1183,1188 ----
*************** vect_analyze_data_refs_alignment (loop_v
*** 1260,1265 ****
--- 1258,1266 ----
&& (vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo))))
fprintf (vect_dump, "Vectorizing an unaligned access.");
}
+ if (LOOP_VINFO_UNALIGNED_DR (loop_vinfo)
+ && vect_print_dump_info (REPORT_ALIGNMENT, LOOP_LOC (loop_vinfo)))
+ fprintf (vect_dump, "Alignment of access forced using peeling.");
return true;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-03-20 12:26 ` dorit at il dot ibm dot com
@ 2005-03-22 10:54 ` dorit at il dot ibm dot com
2005-03-23 15:53 ` cvs-commit at gcc dot gnu dot org
2005-03-24 17:15 ` jsm28 at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dorit at il dot ibm dot com @ 2005-03-22 10:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dorit at il dot ibm dot com 2005-03-22 10:54 -------
patch: http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02063.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-03-22 10:54 ` dorit at il dot ibm dot com
@ 2005-03-23 15:53 ` cvs-commit at gcc dot gnu dot org
2005-03-24 17:15 ` jsm28 at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-23 15:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-23 15:53 -------
Subject: Bug 20501
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dorit@gcc.gnu.org 2005-03-23 15:53:05
Modified files:
gcc : ChangeLog tree-vect-analyze.c
Log message:
PR tree-optimization/20501
* tree-vect-analyze.c (vect_enhance_data_refs_alignment): Debug print
reporting that peeling for alignment is applied moved to...
* (vect_analyze_data_refs_alignment): Here.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7975&r2=2.7976
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vect-analyze.c.diff?cvsroot=gcc&r1=2.13&r2=2.14
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/20501] gcc.dg/vect/vect-93.c fails on ia64-hpux
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-03-23 15:53 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-24 17:15 ` jsm28 at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-03-24 17:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jsm28 at gcc dot gnu dot org 2005-03-24 17:15 -------
The FAIL is fixed, I'll open a new PR for the new failures introduced at around
the same time.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20501
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-03-24 17:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-16 18:36 [Bug tree-optimization/20501] New: gcc.dg/vect/vect-93.c fails on ia64-hpux jsm28 at gcc dot gnu dot org
2005-03-17 20:57 ` [Bug tree-optimization/20501] " dorit at il dot ibm dot com
2005-03-18 1:33 ` jsm28 at gcc dot gnu dot org
2005-03-20 12:26 ` dorit at il dot ibm dot com
2005-03-22 10:54 ` dorit at il dot ibm dot com
2005-03-23 15:53 ` cvs-commit at gcc dot gnu dot org
2005-03-24 17:15 ` jsm28 at gcc dot gnu dot org
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).