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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [s390/] [20020926-1.c] - Blame information for rev 324

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

Line No. Rev Author Line
1 324 jeremybenn
/* Make sure that LEGITIMIZE_ADDRESS is called to handle
2
   negative displacements.  */
3
 
4
/* { dg-do compile { target { s390-*-* } } } */
5
/* { dg-options "-O2 -mesa" } */
6
 
7
int test (int *addr)
8
{
9
  return *(addr - 1);
10
}
11
 
12
/* { dg-final { scan-assembler "-4096" } } */
13
/* { dg-final { scan-assembler-not "ahi" } } */
14
 

powered by: WebSVN 2.1.0

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