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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [vectorize8.c] - Blame information for rev 848

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-vectorize -msse2 -mtune=generic" } */
3
 
4
unsigned int a[256];
5
double b[256];
6
 
7
void foo(void)
8
{
9
  int i;
10
 
11
  for (i=0; i<256; ++i)
12
    b[i] = a[i];
13
}
14
 
15
/* { dg-final { scan-assembler "cvtdq2pd" } } */
16
 

powered by: WebSVN 2.1.0

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