URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
|
/* { dg-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
|
|
|
/* Make sure that vector of size 8 of signed char works. This used to crash with AVX on x86
|
/* Make sure that vector of size 8 of signed char works. This used to crash with AVX on x86
|
as we would produce try to extract the chars inside the vector mode using the vector mode of V8SI
|
as we would produce try to extract the chars inside the vector mode using the vector mode of V8SI
|
which was wrong. */
|
which was wrong. */
|
__attribute__ ((vector_size (8))) signed char v4, v5, v6;
|
__attribute__ ((vector_size (8))) signed char v4, v5, v6;
|
void
|
void
|
two (void)
|
two (void)
|
{
|
{
|
v4 = v5 + v6;
|
v4 = v5 + v6;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.