OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [mips/] [crtn.asm] - Blame information for rev 645

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

Line No. Rev Author Line
1 38 julius
/* 4 slots for argument spill area.  1 for cpreturn, 1 for stack.
2
   Return spill offset of 40 and 20.  Aligned to 16 bytes for n32.  */
3
 
4
#ifdef  __mips16
5
#define RA $7
6
#else
7
#define RA $31
8
#endif
9
 
10
        .section .init,"ax",@progbits
11
#ifdef __mips64
12
        ld      RA,40($sp)
13
        daddu   $sp,$sp,48
14
#else
15
        lw      RA,20($sp)
16
        addu    $sp,$sp,32
17
#endif
18
        j       RA
19
 
20
        .section .fini,"ax",@progbits
21
#ifdef  __mips64
22
        ld      RA,40($sp)
23
        daddu   $sp,$sp,48
24
#else
25
        lw      RA,20($sp)
26
        addu    $sp,$sp,32
27
#endif
28
        j       RA
29
 

powered by: WebSVN 2.1.0

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