This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ix86: fix PR/65105 testcase 2


On Fri, Jul 1, 2016 at 10:19 AM, Jan Beulich <JBeulich@suse.com> wrote:
> I cannot see how without allowing the compiler to use SSE2 instructions
> (as is done by all other tests for this PR scanning for particular
> instructions) this test could ever have succeeded anywhere.

Well, most of 32bit target testing nowadays is done on x86_64
multilibs, where SSE2 is also enabled by default on 32bit.

> gcc/testsuite/
> 2016-07-01  Jan Beulich  <jbeulich@suse.com>
>
>         * gcc.target/i386/pr65105-2.c: Add -msse2.

OK everywhere.

Thanks,
Uros.

> --- 2016-06-30/gcc/testsuite/gcc.target/i386/pr65105-2.c
> +++ 2016-06-30/gcc/testsuite/gcc.target/i386/pr65105-2.c
> @@ -1,6 +1,6 @@
>  /* PR target/pr65105 */
>  /* { dg-do compile { target { ia32 } } } */
> -/* { dg-options "-O2" } */
> +/* { dg-options "-O2 -msse2" } */
>  /* { dg-final { scan-assembler "por" } } */
>
>  long long i1, i2, res;
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]