Commit 8bb346eb by Jakub Jelinek Committed by Jakub Jelinek

re PR target/60077 (gcc.target/i386/pr35767-5.c FAILs)

	PR target/60077
	* gcc.target/i386/pr60077-1.c: New test.
	* gcc.target/i386/pr60077-2.c: New test.

From-SVN: r207622
parent d31d42c7
2014-02-08 Jakub Jelinek <jakub@redhat.com>
PR target/60077
* gcc.target/i386/pr60077-1.c: New test.
* gcc.target/i386/pr60077-2.c: New test.
2014-02-07 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/56824
......
/* Test that we generate aligned load when memory is aligned. */
/* { dg-do compile } */
/* { dg-options "-O -mavx -mtune=generic" } */
/* { dg-final { scan-assembler-not "movups" } } */
/* { dg-final { scan-assembler "movaps" } } */
typedef float v8sf __attribute__ ((__vector_size__ (32)));
extern void foo (v8sf, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf);
int
test (void)
{
v8sf x = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0 };
foo (x, x, x, x, x, x, x, x, x);
return 0;
}
/* Test that we generate aligned load when memory is aligned. */
/* { dg-do compile } */
/* { dg-options "-O -mavx -mtune=generic" } */
/* { dg-final { scan-assembler-not "movups" } } */
/* { dg-final { scan-assembler "movaps" } } */
typedef float v8sf __attribute__ ((__vector_size__ (32)));
extern void foo (int, int, int, int, int, int, int, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf, v8sf);
int
test (void)
{
v8sf x = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0 };
foo (1, 2, 3, 4, 5, 6, 7, x, x, x, x, x, x, x, x, x);
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment