URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 318 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O0 -msse2" } */
|
/* { dg-options "-O0 -msse2" } */
|
/* { dg-require-effective-target sse2 } */
|
/* { dg-require-effective-target sse2 } */
|
|
|
#include <xmmintrin.h>
|
#include <xmmintrin.h>
|
|
|
__m128d foo1(__m128d z, __m128d a, int N) {
|
__m128d foo1(__m128d z, __m128d a, int N) {
|
int i;
|
int i;
|
for (i=0; i<N; i++) {
|
for (i=0; i<N; i++) {
|
a = _mm_add_ps(z, a); /* { dg-error "incompatible type" } */
|
a = _mm_add_ps(z, a); /* { dg-error "incompatible type" } */
|
}
|
}
|
return a;
|
return a;
|
}
|
}
|
/* { dg-message "note: expected '\[^'\n\]*' but argument is of type '\[^'\n\]*'" "note: expected" { target *-*-* } 0 } */
|
/* { dg-message "note: expected '\[^'\n\]*' but argument is of type '\[^'\n\]*'" "note: expected" { target *-*-* } 0 } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.