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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [thumb2-cmpneg2add-2.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 ADDS with a scratch, rather than CMN */
2
/* { dg-options "-mthumb -Os" } */
3
/* { dg-require-effective-target arm_thumb2_ok } */
4
/* { dg-final { scan-assembler "adds" } } */
5
/* { dg-final { scan-assembler-not "cmn" } } */
6
 
7
void foo1(int);
8
void bar5(int x)
9
{
10
  if (x == -1)
11
    foo1(x);
12
}

powered by: WebSVN 2.1.0

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