OpenCores
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.c-torture/] [compile/] [vector-4.c] - Blame information for rev 378

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

Line No. Rev Author Line
1 297 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.