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.target/] [i386/] [cmov4.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=k8" } */
3
/* { dg-final { scan-assembler "cmov\[^4\]" } } */
4
 
5
/* Verify that if conversion happends for memory references.  */
6
int ARCHnodes;
7
int *nodekind;
8
float *nodekindf;
9
t()
10
{
11
int i;
12
/* Redefine nodekind to be 1 for all surface nodes */
13
 
14
  for (i = 0; i < ARCHnodes; i++) {
15
    nodekind[i] = (int) nodekindf[i];
16
    if (nodekind[i] == 3)
17
      nodekind[i] = 1;
18
  }
19
}

powered by: WebSVN 2.1.0

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