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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [thumb2-cond-cmp-4.c] - Blame information for rev 714

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

Line No. Rev Author Line
1 691 jeremybenn
/* Use conditional compare */
2
/* { dg-options "-O2" } */
3
/* { dg-skip-if "" { arm_thumb1_ok } } */
4
/* { dg-final { scan-assembler "cmpgt" } } */
5
 
6
int f(int i, int j)
7
{
8
  if ( (i >= '+') ? (j <= '-') : 1)
9
    return 1;
10
  else
11
    return 0;
12
}

powered by: WebSVN 2.1.0

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