URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 384 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -msse2" } */
|
/* { dg-options "-O2 -msse2" } */
|
/* { dg-require-effective-target sse2 } */
|
/* { dg-require-effective-target sse2 } */
|
#define vector __attribute__((vector_size(16)))
|
#define vector __attribute__((vector_size(16)))
|
|
|
short a;
|
short a;
|
vector short f(void) { return (vector short){ a, a, a, a, a, a, a, a }; }
|
vector short f(void) { return (vector short){ a, a, a, a, a, a, a, a }; }
|
/* { dg-final { scan-assembler-not "sall" } } */
|
/* { dg-final { scan-assembler-not "sall" } } */
|
/* { dg-final { scan-assembler-not "%mm" } } */
|
/* { dg-final { scan-assembler-not "%mm" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.