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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-pe/] [aligncomm-1.c] - Blame information for rev 843

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

Line No. Rev Author Line
1 205 julius
 
2
typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__));
3
typedef __SIZE_TYPE__ size_t;
4
 
5
long s1 = 0;
6
__m128 r;
7
__m128 * volatile raddr = &r;
8
 
9
int main (int argc, const char **argv)
10
{
11
  return 15 & (int)(size_t)raddr;
12
}
13
 
14
void __main (void)
15
{
16
  asm (".section .drectve\n"
17
        "  .ascii \" -aligncomm:_r,4\"\n"
18
        "  .ascii \" -aligncomm:r,4\"\n"
19
        "  .text");
20
}
21
 
22
#if defined (__CYGWIN__) || defined (__MINGW32__)
23
void _alloca (void)
24
{
25
}
26
#endif

powered by: WebSVN 2.1.0

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