public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] [testsuite/i386] PR 82268 Correct FAIL when configured --with-cpu
@ 2017-10-27 21:55 Daniel Santos
  2017-10-27 21:57 ` Uros Bizjak
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Santos @ 2017-10-27 21:55 UTC (permalink / raw)
  To: gcc-patches, Uros Bizjak, Rainer Orth, Andrey Guskov

When I originally wrote this test I wasn't wasn't aware of the
--with-cpu configure option, so this change explicitly disables avx to
make sure we choose the sse implementation, even when --with-cpu
specifies an arch that has avx support.

OK for head?

gcc/testsuite/ChangeLog:

	gcc.target/i386/pr82196-1.c (dg-options): Add -mno-avx.

Thanks,
Daniel

---
 gcc/testsuite/gcc.target/i386/pr82196-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr82196-1.c b/gcc/testsuite/gcc.target/i386/pr82196-1.c
index 541d975480d..ff108132bb5 100644
--- a/gcc/testsuite/gcc.target/i386/pr82196-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr82196-1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target lp64 } } */
-/* { dg-options "-msse -mcall-ms2sysv-xlogues -O2" } */
+/* { dg-options "-mno-avx -msse -mcall-ms2sysv-xlogues -O2" } */
 /* { dg-final { scan-assembler "call.*__sse_savms64f?_12" } } */
 /* { dg-final { scan-assembler "jmp.*__sse_resms64f?x_12" } } */
 
-- 
2.14.3

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [testsuite/i386] PR 82268 Correct FAIL when configured --with-cpu
  2017-10-27 21:55 [PATCH] [testsuite/i386] PR 82268 Correct FAIL when configured --with-cpu Daniel Santos
@ 2017-10-27 21:57 ` Uros Bizjak
  0 siblings, 0 replies; 2+ messages in thread
From: Uros Bizjak @ 2017-10-27 21:57 UTC (permalink / raw)
  To: Daniel Santos; +Cc: gcc-patches, Rainer Orth, Andrey Guskov

On Fri, Oct 27, 2017 at 11:17 PM, Daniel Santos <daniel.santos@pobox.com> wrote:
> When I originally wrote this test I wasn't wasn't aware of the
> --with-cpu configure option, so this change explicitly disables avx to
> make sure we choose the sse implementation, even when --with-cpu
> specifies an arch that has avx support.
>
> OK for head?
>
> gcc/testsuite/ChangeLog:
>
>         gcc.target/i386/pr82196-1.c (dg-options): Add -mno-avx.

OK.

Thanks,
Uros.

> Thanks,
> Daniel
>
> ---
>  gcc/testsuite/gcc.target/i386/pr82196-1.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/testsuite/gcc.target/i386/pr82196-1.c b/gcc/testsuite/gcc.target/i386/pr82196-1.c
> index 541d975480d..ff108132bb5 100644
> --- a/gcc/testsuite/gcc.target/i386/pr82196-1.c
> +++ b/gcc/testsuite/gcc.target/i386/pr82196-1.c
> @@ -1,5 +1,5 @@
>  /* { dg-do compile { target lp64 } } */
> -/* { dg-options "-msse -mcall-ms2sysv-xlogues -O2" } */
> +/* { dg-options "-mno-avx -msse -mcall-ms2sysv-xlogues -O2" } */
>  /* { dg-final { scan-assembler "call.*__sse_savms64f?_12" } } */
>  /* { dg-final { scan-assembler "jmp.*__sse_resms64f?x_12" } } */
>
> --
> 2.14.3
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-27 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 21:55 [PATCH] [testsuite/i386] PR 82268 Correct FAIL when configured --with-cpu Daniel Santos
2017-10-27 21:57 ` Uros Bizjak

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).