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/] [sparc/] [sparc-constant-1.c] - Blame information for rev 326

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 326 jeremybenn
/* PR optimization/10876 */
2
 
3
/* { dg-do compile } */
4
 
5
/* Verify that adding the constant 4096 is turned
6
   into substracting the constant -4096. */
7
 
8
int foo(int a)
9
{
10
  return a+4096;
11
}
12
 
13
/* { 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.