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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [sparc-constant-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR optimization/10876 */
2
/* { dg-do compile { target sparc*-*-* } } */
3
 
4
/* Verify that adding the constant 4096 is turned
5
   into substracting the constant -4096. */
6
 
7
int foo(int a)
8
{
9
  return a+4096;
10
}
11
 
12
/* { dg-final { scan-assembler "sub" } } */

powered by: WebSVN 2.1.0

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