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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pad-3.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=atom" } } */
3
/* { dg-options "-O2 -fomit-frame-pointer -march=atom -fno-pic" } */
4
/* { dg-final { scan-assembler-not "nop" } } */
5
/* { dg-final { scan-assembler-not "rep" } } */
6
 
7
int s[8] = {1, 2, 3, 4, 5, 6, 7, 8};
8
int d[8] = {11, 22, 33, 44, 55, 66, 77, 88};
9
 
10
void
11
foo ()
12
{
13
  int i;
14
  for (i = 0; i < 8; i++)
15
    d[i] = s[i] + 0x1000;
16
}

powered by: WebSVN 2.1.0

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