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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* This tests whether non-offsettable memory operands are reloaded
2
   correctly in certain corner cases on s390 targets.  */
3
/* { dg-do compile } */
4
/* { dg-options "-std=gnu89" } */
5
 
6
void test_inout (char *bd, int xd, char *bs, int xs)
7
{
8
  *(long long *)(bd + xd + 4093) = *(long long *)(bs + xs + 4093);
9
}
10
 
11
void test_in (char *bd, int xd, char *bs, int xs)
12
{
13
  *(long long *)(bd + xd) = *(long long *)(bs + xs + 4093);
14
}
15
 
16
void test_out (char *bd, int xd, char *bs, int xs)
17
{
18
  *(long long *)(bd + xd + 4093) = *(long long *)(bs + xs);
19
}
20
 

powered by: WebSVN 2.1.0

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