* [Bug tree-optimization/33812] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
@ 2007-10-18 13:40 ` dominiq at lps dot ens dot fr
2007-10-18 14:33 ` dominiq at lps dot ens dot fr
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-10-18 13:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dominiq at lps dot ens dot fr 2007-10-18 13:40 -------
This seems to be a duplicate of PR33806, at least the ICE occurs at the same
point.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33812] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
2007-10-18 13:40 ` [Bug tree-optimization/33812] " dominiq at lps dot ens dot fr
@ 2007-10-18 14:33 ` dominiq at lps dot ens dot fr
2007-10-18 14:38 ` dominiq at lps dot ens dot fr
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-10-18 14:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dominiq at lps dot ens dot fr 2007-10-18 14:32 -------
The same occurs in 32 bit mode, see for instance
http://gcc.gnu.org/ml/gcc-testresults/2007-10/msg00804.html
[karma] dominiq/Desktop% gfc -O2 -ftree-vectorize -maltivec
/opt/gcc/_gcc-clean/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c
/opt/gcc/_gcc-clean/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c:
In function 'main1':
/opt/gcc/_gcc-clean/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c:39:
internal compiler error: in change_address_1, at emit-rtl.c:1888
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33812] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
2007-10-18 13:40 ` [Bug tree-optimization/33812] " dominiq at lps dot ens dot fr
2007-10-18 14:33 ` dominiq at lps dot ens dot fr
@ 2007-10-18 14:38 ` dominiq at lps dot ens dot fr
2007-10-18 16:41 ` dominiq at lps dot ens dot fr
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-10-18 14:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from dominiq at lps dot ens dot fr 2007-10-18 14:37 -------
The PR started between revisions 129388 (works) and 129401 (does not).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/33812] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (2 preceding siblings ...)
2007-10-18 14:38 ` dominiq at lps dot ens dot fr
@ 2007-10-18 16:41 ` dominiq at lps dot ens dot fr
2007-10-18 16:56 ` [Bug target/33812] [4.3 Regression] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-10-18 16:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dominiq at lps dot ens dot fr 2007-10-18 16:40 -------
May I guess revision 129400?
--- trunk/gcc/ChangeLog 2007/10/17 00:46:27 129399
+++ trunk/gcc/ChangeLog 2007/10/17 01:05:50 129400
@@ -1,3 +1,10 @@
+2007-10-17 Alan Modra <amodra@bigpond.net.au>
+
+ * config/rs6000/rs6000.c (rs6000_emit_epilogue): Correct
+ altivec sp_offset. Rearrange sp_offset assignments to
+ correspond to stack adjustments. Use frame_reg_rtx for
+ SPE register restores. Correct SPE stack adjustment.
+
2007-10-17 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* builtins.c (gimplify_va_arg_expr): Use inform for help message.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (3 preceding siblings ...)
2007-10-18 16:41 ` dominiq at lps dot ens dot fr
@ 2007-10-18 16:56 ` pinskia at gcc dot gnu dot org
2007-10-19 16:39 ` dominiq at lps dot ens dot fr
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-10-18 16:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2007-10-18 16:56 -------
Looks like they also appear on ppc-darwin too:
http://gcc.gnu.org/ml/gcc-testresults/2007-10/msg00818.html
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|tree-optimization |target
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-10-18 16:56:18
date| |
Summary|Vectorizer testcases fail |[4.3 Regression] Vectorizer
| |testcases fail
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (4 preceding siblings ...)
2007-10-18 16:56 ` [Bug target/33812] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-10-19 16:39 ` dominiq at lps dot ens dot fr
2007-10-19 21:21 ` dominiq at lps dot ens dot fr
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-10-19 16:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dominiq at lps dot ens dot fr 2007-10-19 16:39 -------
See comment#2 of PR33806. I did not tested the gcc side.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (5 preceding siblings ...)
2007-10-19 16:39 ` dominiq at lps dot ens dot fr
@ 2007-10-19 21:21 ` dominiq at lps dot ens dot fr
2007-10-19 23:49 ` amodra at bigpond dot net dot au
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dominiq at lps dot ens dot fr @ 2007-10-19 21:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dominiq at lps dot ens dot fr 2007-10-19 21:21 -------
After reverting the changes made in revision 129400 (otherwise revision 129491
+ gfortran patches), the gcc testsuite gives:
Target: powerpc-apple-darwin8
=== gcc tests ===
Schedule of variations:
unix
XPASS: gcc.dg/20020103-1.c scan-assembler-not LC[0-9]
FAIL: gcc.dg/initpri1.c execution test
FAIL: gcc.dg/memcpy-1.c scan-tree-dump-times nasty_local 0
FAIL: gcc.dg/ssp-2.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/ssa-fre-4.c scan-tree-dump Replaced \(char\) .*with
XPASS: gcc.dg/tree-ssa/update-threading.c scan-tree-dump-times Invalid sum 0
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c scan-tree-dump-times
vectorization not profitable 1
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c scan-tree-dump-times
vectorized 1 loops 0
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c scan-tree-dump-times
vectorization not profitable 1
FAIL: gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c scan-tree-dump-times
vectorized 1 loops 0
FAIL: gcc.dg/vect/section-anchors-pr27770.c (test for excess errors)
FAIL: gcc.dg/vect/section-anchors-vect-69.c (test for excess errors)
FAIL: gcc.dg/vect/section-anchors-vect-69.c scan-tree-dump-times Alignment of
access forced using peeling 4
FAIL: gcc.target/powerpc/parity-1.c scan-assembler popcntb
FAIL: gcc.target/powerpc/popcount-1.c scan-assembler popcntb
=== gcc Summary ===
# of expected passes 46942
# of unexpected failures 13
# of unexpected successes 2
# of expected failures 166
# of untested testcases 35
# of unsupported tests 419
/opt/gcc/darwin_buildw/gcc/xgcc version 4.3.0 20071019 (experimental) (GCC)
This can be compared to
http://gcc.gnu.org/ml/gcc-testresults/2007-10/msg00869.html
--
dominiq at lps dot ens dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at bigpond dot net
| |dot au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (6 preceding siblings ...)
2007-10-19 21:21 ` dominiq at lps dot ens dot fr
@ 2007-10-19 23:49 ` amodra at bigpond dot net dot au
2007-10-19 23:50 ` amodra at bigpond dot net dot au
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amodra at bigpond dot net dot au @ 2007-10-19 23:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from amodra at bigpond dot net dot au 2007-10-19 23:48 -------
I'm building a current powerpc64 compiler at the moment to verify, but I think
this is because rs6000_emit_epilogue is now generating mems with address
sp+offset where offset is too large. Prior to my patch we restored altivec
regs and vrsave from the wrong address...
Fix is to move the block of code restoring vrsave to after we have restored the
old stack pointer.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (7 preceding siblings ...)
2007-10-19 23:49 ` amodra at bigpond dot net dot au
@ 2007-10-19 23:50 ` amodra at bigpond dot net dot au
2007-10-19 23:52 ` amodra at bigpond dot net dot au
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amodra at bigpond dot net dot au @ 2007-10-19 23:50 UTC (permalink / raw)
To: gcc-bugs
--
amodra at bigpond dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net
|dot org |dot au
Status|NEW |ASSIGNED
Last reconfirmed|2007-10-18 16:56:18 |2007-10-19 23:50:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (8 preceding siblings ...)
2007-10-19 23:50 ` amodra at bigpond dot net dot au
@ 2007-10-19 23:52 ` amodra at bigpond dot net dot au
2007-10-20 0:08 ` amodra at bigpond dot net dot au
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: amodra at bigpond dot net dot au @ 2007-10-19 23:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from amodra at bigpond dot net dot au 2007-10-19 23:51 -------
*** Bug 33806 has been marked as a duplicate of this bug. ***
--
amodra at bigpond dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dominiq at lps dot ens dot
| |fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (9 preceding siblings ...)
2007-10-19 23:52 ` amodra at bigpond dot net dot au
@ 2007-10-20 0:08 ` amodra at bigpond dot net dot au
2007-10-20 13:11 ` amodra at gcc dot gnu dot org
2007-10-20 13:12 ` [Bug target/33812] [4.3 Regression] ICE from epilogue vrsave code amodra at bigpond dot net dot au
12 siblings, 0 replies; 14+ messages in thread
From: amodra at bigpond dot net dot au @ 2007-10-20 0:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from amodra at bigpond dot net dot au 2007-10-20 00:08 -------
Prior to my patch:
.L.main1:
mflr 0
mr 12,1
std 0,16(1)
lis 0,0xffff
ori 0,0,4656
stdux 1,1,0
mfvrsave 0
stw 0,-4(12)
so we store vrsave at frame_top-4
...
lwz 12,-4(1)
li 3,0
mtvrsave 12
but here we restore from frame_top+0xfff...f4656-4
ld 1,0(1)
because the frame isn't popped until here.
ld 0,16(1)
mtlr 0
blr
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] Vectorizer testcases fail
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (10 preceding siblings ...)
2007-10-20 0:08 ` amodra at bigpond dot net dot au
@ 2007-10-20 13:11 ` amodra at gcc dot gnu dot org
2007-10-20 13:12 ` [Bug target/33812] [4.3 Regression] ICE from epilogue vrsave code amodra at bigpond dot net dot au
12 siblings, 0 replies; 14+ messages in thread
From: amodra at gcc dot gnu dot org @ 2007-10-20 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from amodra at gcc dot gnu dot org 2007-10-20 13:11 -------
Subject: Bug 33812
Author: amodra
Date: Sat Oct 20 13:11:14 2007
New Revision: 129511
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129511
Log:
PR target/33812
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Revert 2007-05-16
change for vrsave, ie restore after frame pop.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/33812] [4.3 Regression] ICE from epilogue vrsave code
2007-10-18 13:25 [Bug tree-optimization/33812] New: Vectorizer testcases fail irar at il dot ibm dot com
` (11 preceding siblings ...)
2007-10-20 13:11 ` amodra at gcc dot gnu dot org
@ 2007-10-20 13:12 ` amodra at bigpond dot net dot au
12 siblings, 0 replies; 14+ messages in thread
From: amodra at bigpond dot net dot au @ 2007-10-20 13:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from amodra at bigpond dot net dot au 2007-10-20 13:12 -------
Patch applied
--
amodra at bigpond dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[4.3 Regression] Vectorizer |[4.3 Regression] ICE from
|testcases fail |epilogue vrsave code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33812
^ permalink raw reply [flat|nested] 14+ messages in thread