OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [vector-4.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-mavx" { target { i?86-*-* x86_64-*-* } } } */
3
 
4
/* Make sure that vector of size 8 of signed char works. This used to crash with AVX on x86
5
   as we would produce try to extract the chars inside the vector mode using the vector mode of V8SI
6
   which was wrong. */
7
__attribute__ ((vector_size (8))) signed char v4, v5, v6;
8
void
9
two (void)
10
{
11
 v4 = v5 + v6;
12
}
13
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.