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-4.c] - Blame information for rev 818

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
long s2 = 0;
7
long s3 = 0;
8
long s4 = 0;
9
__m128 r;
10
__m128 * volatile raddr = &r;
11
 
12
int main (int argc, const char **argv)
13
{
14
  return 15 & (int)(size_t)raddr;
15
}
16
 
17
void __main (void)
18
{
19
  asm (".section .drectve\n"
20
        "  .ascii \" -aligncomm:_r,4\"\n"
21
        "  .ascii \" -aligncomm:r,4\"\n"
22
        "  .text");
23
}
24
 
25
#if defined (__CYGWIN__) || defined (__MINGW32__)
26
void _alloca (void)
27
{
28
}
29
#endif

powered by: WebSVN 2.1.0

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