From 0c3fce93a7eca064989d96709c500342be538f3e Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Mon, 14 Dec 2015 23:58:31 +0000 Subject: [PATCH] ssa-fre-4.c: Remove mips*-*-* target. 2015-12-14 Steve Ellcey * gcc.dg/tree-ssa/ssa-fre-4.c: Remove mips*-*-* target. * gcc.target/mips/ext-2.c: Update scan checks. From-SVN: r231635 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c | 2 +- gcc/testsuite/gcc.target/mips/ext-2.c | 7 ++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ff02575e4d4..a4d593b217a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-14 Steve Ellcey + + * gcc.dg/tree-ssa/ssa-fre-4.c: Remove mips*-*-* target. + * gcc.target/mips/ext-2.c: Update scan checks. + 2015-12-14 Nathan Sidwell * g++.dg/abi/nvptx-nrv1.C: New. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c index 02b6719ea85..5a7588febaa 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-4.c @@ -1,6 +1,6 @@ /* If the target returns false for TARGET_PROMOTE_PROTOTYPES, then there will be no casts for FRE to eliminate and the test will fail. */ -/* { dg-do compile { target i?86-*-* x86_64-*-* hppa*-*-* mips*-*-* m68k*-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* hppa*-*-* m68k*-*-* } } */ /* { dg-options "-O -fno-tree-ccp -fno-tree-forwprop -fdump-tree-fre1-details" } */ /* From PR21608. */ diff --git a/gcc/testsuite/gcc.target/mips/ext-2.c b/gcc/testsuite/gcc.target/mips/ext-2.c index 320d42d2f69..97703217991 100644 --- a/gcc/testsuite/gcc.target/mips/ext-2.c +++ b/gcc/testsuite/gcc.target/mips/ext-2.c @@ -1,12 +1,13 @@ /* Turn the truncate,zero_extend,lshiftrt sequence before the or into a zero_extract. The truncate is due to TARGET_PROMOTE_PROTOTYPES, the - zero_extend to PROMOTE_MODE. */ + zero_extend to PROMOTE_MODE. As of GCC 6, we no longer define + TARGET_PROMOTE_PROTOTYPES so that truncate is gone and we can + generate either a single extract or a single shift instruction. */ /* { dg-do compile } */ /* { dg-options "isa_rev>=2 -mgp64 -mlong64" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ -/* { dg-final { scan-assembler "\tdext\t" } } */ +/* { dg-final { scan-assembler-times "\tdext\t|\td?srl" 1 } } */ /* { dg-final { scan-assembler-not "\tand" } } */ -/* { dg-final { scan-assembler-not "\td?srl" } } */ NOMIPS16 void f (unsigned char x, unsigned char *r) -- 2.30.2