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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [sparc/] [sparc-constant-1.c] - Blame information for rev 711

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

Line No. Rev Author Line
1 691 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.