From: Jakub Jelinek Date: Thu, 28 Sep 2017 18:35:58 +0000 (+0200) Subject: re PR target/82342 (i386/pr82260-2.c fail) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff2994877bfa4145e355d1ad546cab769843830a;p=gcc.git re PR target/82342 (i386/pr82260-2.c fail) PR target/82342 * gcc.target/i386/pr82260-1.c: Add -mno-bmi2 to dg-options. * gcc.target/i386/pr82260-2.c: Likewise. From-SVN: r253261 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c86a664de4d..0bc6fd4aedd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-09-28 Jakub Jelinek + + PR target/82342 + * gcc.target/i386/pr82260-1.c: Add -mno-bmi2 to dg-options. + * gcc.target/i386/pr82260-2.c: Likewise. + 2017-09-28 Sergey Shalnov * gcc.target/i386/avx512f-constant-float-return.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/pr82260-1.c b/gcc/testsuite/gcc.target/i386/pr82260-1.c index e9f404d16f2..3804fcc5353 100644 --- a/gcc/testsuite/gcc.target/i386/pr82260-1.c +++ b/gcc/testsuite/gcc.target/i386/pr82260-1.c @@ -1,6 +1,6 @@ /* PR target/82260 */ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-Os -mtune=generic -masm=att" } */ +/* { dg-options "-Os -mtune=generic -masm=att -mno-bmi2" } */ /* movl %esi, %ecx is shorter than movb %sil, %cl. While movl %edx, %ecx is the same size as movb %dl, %cl and movl %r8d, %ecx is the same size as movb %r8b, %cl, movl diff --git a/gcc/testsuite/gcc.target/i386/pr82260-2.c b/gcc/testsuite/gcc.target/i386/pr82260-2.c index 7caccf13e44..14328fc9686 100644 --- a/gcc/testsuite/gcc.target/i386/pr82260-2.c +++ b/gcc/testsuite/gcc.target/i386/pr82260-2.c @@ -1,6 +1,6 @@ /* PR target/82260 */ /* { dg-do compile { target lp64 } } */ -/* { dg-options "-Os -mtune=generic -masm=att -mtune-ctrl=^partial_reg_dependency" } */ +/* { dg-options "-Os -mtune=generic -masm=att -mtune-ctrl=^partial_reg_dependency -mno-bmi2" } */ /* { dg-final { scan-assembler-not {\mmovb\t%sil, %cl} } } */ /* { dg-final { scan-assembler {\mmovl\t%esi, %ecx} } } */ /* { dg-final { scan-assembler {\mmovb\t%dl, %cl} } } */