URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr38824.c] - Rev 318
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-O2 -msse" } */ /* { dg-require-effective-target sse } */ typedef float v4sf __attribute__ ((__vector_size__ (16))); void bench_1(float * out, float * in, float f, unsigned int n) { n /= 4; v4sf scalar = { f, f, f, f }; do { v4sf arg = *(v4sf *)in; v4sf result = arg + scalar; *(v4sf *) out = result; in += 4; out += 4; } while (--n); } /* { dg-final { scan-assembler-not "addps\[^\\n\]*%\[er\]" } } */