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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [stack-red-zone.c] - Blame information for rev 764

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

Line No. Rev Author Line
1 691 jeremybenn
/* No stack red zone.  PR38644.  */
2
/* { dg-options "-mthumb -O2" } */
3
/* { dg-final { scan-assembler "ldrb\[^\n\]*\\n\[\t \]*add\[\t \]*sp" } } */
4
 
5
extern int doStreamReadBlock (int *, char *, int size, int);
6
 
7
char readStream (int *s)
8
{
9
       char c = 0;
10
       doStreamReadBlock (s, &c, 1, *s);
11
       return c;
12
}

powered by: WebSVN 2.1.0

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