Update copyright notices with scripts/update-copyrights
[glibc.git] / sysdeps / powerpc / powerpc32 / gprsave1.S
blob4f12f459af599113e46995c38e93e0f16d52221f
1 /* Copyright (C) 2000-2014 Free Software Foundation, Inc.
2    This file is part of the GNU C Library.
4    The GNU C Library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Lesser General Public
6    License as published by the Free Software Foundation; either
7    version 2.1 of the License, or (at your option) any later version.
9    The GNU C Library is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    Lesser General Public License for more details.
14    You should have received a copy of the GNU Lesser General Public
15    License along with the GNU C Library; if not, see
16    <http://www.gnu.org/licenses/>.  */
19     General Purpose Register (GPR) save routine
20     when Floating Point Registers (FPRs) are saved
23 #include <sysdep.h>
25 ENTRY(_savegpr1_all)
26                 .globl C_TEXT(_savegpr1_13)
27 C_TEXT(_savegpr1_13):   stw     r13,-76(r12)
28                 .globl C_TEXT(_savegpr1_14)
29 C_TEXT(_savegpr1_14):   stw     r14,-72(r12)
30                 .globl C_TEXT(_savegpr1_15)
31 C_TEXT(_savegpr1_15):   stw     r15,-68(r12)
32                 .globl C_TEXT(_savegpr1_16)
33 C_TEXT(_savegpr1_16):   stw     r16,-64(r12)
34                 .globl C_TEXT(_savegpr1_17)
35 C_TEXT(_savegpr1_17):   stw     r17,-60(r12)
36                 .globl C_TEXT(_savegpr1_18)
37 C_TEXT(_savegpr1_18):   stw     r18,-56(r12)
38                 .globl C_TEXT(_savegpr1_19)
39 C_TEXT(_savegpr1_19):   stw     r19,-52(r12)
40                 .globl C_TEXT(_savegpr1_20)
41 C_TEXT(_savegpr1_20):   stw     r20,-48(r12)
42                 .globl C_TEXT(_savegpr1_21)
43 C_TEXT(_savegpr1_21):   stw     r21,-44(r12)
44                 .globl C_TEXT(_savegpr1_22)
45 C_TEXT(_savegpr1_22):   stw     r22,-40(r12)
46                 .globl C_TEXT(_savegpr1_23)
47 C_TEXT(_savegpr1_23):   stw     r23,-36(r12)
48                 .globl C_TEXT(_savegpr1_24)
49 C_TEXT(_savegpr1_24):   stw     r24,-32(r12)
50                 .globl C_TEXT(_savegpr1_25)
51 C_TEXT(_savegpr1_25):   stw     r25,-28(r12)
52                 .globl C_TEXT(_savegpr1_26)
53 C_TEXT(_savegpr1_26):   stw     r26,-24(r12)
54                 .globl C_TEXT(_savegpr1_27)
55 C_TEXT(_savegpr1_27):   stw     r27,-20(r12)
56                 .globl C_TEXT(_savegpr1_28)
57 C_TEXT(_savegpr1_28):   stw     r28,-16(r12)
58                 .globl C_TEXT(_savegpr1_29)
59 C_TEXT(_savegpr1_29):   stw     r29,-12(r12)    #save r29
60                         stw     r30,-8(r12)     #save r30
61                         stw     r31,-4(r12)     #save r31
62                         blr                     #return
63 END (_savegpr1_all)