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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* PR target/36936 */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target ia32 } */
4
/* { dg-options "-O2 -march=i686" } */
5
/* { dg-final { scan-assembler-not "cmov" } } */
6
 
7
extern int foo (int) __attribute__((__target__("arch=i386")));
8
 
9
int
10
foo (int x)
11
{
12
  if (x < 0)
13
    x = 1;
14
  return x;
15
}

powered by: WebSVN 2.1.0

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