mirror of git://gcc.gnu.org/git/gcc.git
re PR testsuite/59308 (gcc.dg/tree-ssa/ssa-ifcombine-ccmp-[1456] tests fail on arm cortex-a5)
PR testsuite/59308 * gcc.dg/pr46309.c: Don't compile on logical_op_short_circuit targets other than mips/avr. Use -mbranch-cost=2 even for i?86/x86_64. * gcc.dg/tree-ssa/reassoc-32.c: Use -mbranch-cost=2 even for s390*/i?86/x86_64. * gcc.dg/tree-ssa/reassoc-33.c: Likewise. * gcc.dg/tree-ssa/reassoc-34.c: Likewise. * gcc.dg/tree-ssa/reassoc-35.c: Likewise. * gcc.dg/tree-ssa/reassoc-36.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c: Don't compile on logical_op_short_circuit targets other than avr. Use -mbranch-cost=2 even for mips*/s390*/i?86/x86_64. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-2.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-3.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-5.c: Likewise. * gcc.dg/tree-ssa/ssa-ifcombine-ccmp-6.c: Likewise. From-SVN: r208354
This commit is contained in:
parent
f9b381b8eb
commit
364690ddd7
|
|
@ -1,5 +1,23 @@
|
|||
2014-03-05 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR testsuite/59308
|
||||
* gcc.dg/pr46309.c: Don't compile on logical_op_short_circuit targets
|
||||
other than mips/avr. Use -mbranch-cost=2 even for i?86/x86_64.
|
||||
* gcc.dg/tree-ssa/reassoc-32.c: Use -mbranch-cost=2 even for
|
||||
s390*/i?86/x86_64.
|
||||
* gcc.dg/tree-ssa/reassoc-33.c: Likewise.
|
||||
* gcc.dg/tree-ssa/reassoc-34.c: Likewise.
|
||||
* gcc.dg/tree-ssa/reassoc-35.c: Likewise.
|
||||
* gcc.dg/tree-ssa/reassoc-36.c: Likewise.
|
||||
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c: Don't compile on
|
||||
logical_op_short_circuit targets other than avr. Use -mbranch-cost=2
|
||||
even for mips*/s390*/i?86/x86_64.
|
||||
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-2.c: Likewise.
|
||||
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-3.c: Likewise.
|
||||
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c: Likewise.
|
||||
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-5.c: Likewise.
|
||||
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-6.c: Likewise.
|
||||
|
||||
PR lto/60404
|
||||
* gcc.dg/lto/pr60404_0.c: New test.
|
||||
* gcc.dg/lto/pr60404_1.c: New file.
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
/* PR tree-optimization/46309 */
|
||||
/* { dg-do compile { target { ! { cris*-*-* } } } } */
|
||||
/* { dg-do compile { target { { ! logical_op_short_circuit } || { mips*-*-* avr*-*-* } } } } */
|
||||
/* { dg-options "-O2 -fdump-tree-reassoc-details" } */
|
||||
/* The transformation depends on BRANCH_COST being greater than 1
|
||||
(see the notes in the PR), so try to force that. */
|
||||
/* { dg-additional-options "-mtune=octeon2" { target mips*-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr*-*-* s390*-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr*-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int
|
||||
f1 (int a)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-*"} } } */
|
||||
|
||||
/* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
|
||||
int test (int a, int b, int c)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-*"} } } */
|
||||
|
||||
/* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int test (int a, int b, int c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-*"} } } */
|
||||
|
||||
/* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int test (int a, int b, int c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-*"} } } */
|
||||
|
||||
/* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int test (unsigned int a, int b, int c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do run { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* hppa*-*-*"} } } */
|
||||
|
||||
/* { dg-options "-O2 -fno-inline -fdump-tree-reassoc1-details" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int test (int a, int b, int c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-*"} } } */
|
||||
/* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
|
||||
|
||||
/* { dg-options "-O2 -g -fdump-tree-optimized" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int t (int a, int b)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-*"} } } */
|
||||
/* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
|
||||
|
||||
/* { dg-options "-O2 -g -fdump-tree-optimized" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int t (int a, int b)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-*"} } } */
|
||||
/* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
|
||||
|
||||
/* { dg-options "-O2 -g -fdump-tree-optimized" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int t (int a, int b)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-*"} } } */
|
||||
/* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
|
||||
|
||||
/* { dg-options "-O2 -g -fdump-tree-optimized" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int t (int a, int b)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-*"} } } */
|
||||
/* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
|
||||
|
||||
/* { dg-options "-O2 -g -fdump-tree-optimized" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int t (int a, int b, int c)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* { dg-do compile { target { ! "m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-*"} } } */
|
||||
/* { dg-do compile { target { ! { { logical_op_short_circuit && { ! avr-*-* } } || { m68k*-*-* mmix*-*-* mep*-*-* bfin*-*-* v850*-*-* picochip*-*-* moxie*-*-* cris*-*-* m32c*-*-* fr30*-*-* mcore*-*-* powerpc*-*-* xtensa*-*-* arc*-*-* mips*-*-* } } } } } */
|
||||
|
||||
/* { dg-options "-O2 -g -fdump-tree-optimized" } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target avr-*-* } } */
|
||||
/* { dg-additional-options "-mbranch-cost=2" { target mips*-*-* avr-*-* s390*-*-* i?86-*-* x86_64-*-* } } */
|
||||
|
||||
int t (int a, int b, int c)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue