2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / config / rs6000 / e500crtsav32gpr.asm
blob6cf97956cccd7092c5ac87fb7c4c853a6d800c2b
1 /*
2 * Special support for e500 eabi and SVR4
4 * Copyright (C) 2008 Free Software Foundation, Inc.
5 * Written by Nathan Froyd
6 *
7 * This file is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
10 * later version.
12 * In addition to the permissions in the GNU General Public License, the
13 * Free Software Foundation gives you unlimited permission to link the
14 * compiled version of this file with other programs, and to distribute
15 * those programs without any restriction coming from the use of this
16 * file. (The General Public License restrictions do apply in other
17 * respects; for example, they cover modification of the file, and
18 * distribution when not linked into another program.)
20 * This file is distributed in the hope that it will be useful, but
21 * WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; see the file COPYING. If not, write to
27 * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
28 * Boston, MA 02110-1301, USA.
30 * As a special exception, if you link this library with files
31 * compiled with GCC to produce an executable, this does not cause
32 * the resulting executable to be covered by the GNU General Public License.
33 * This exception does not however invalidate any other reasons why
34 * the executable file might be covered by the GNU General Public License.
35 */
37 .file "e500crtsav32gpr.asm"
38 .section ".text"
39 #include "ppc-asm.h"
41 #ifdef __SPE__
43 /* Routines for saving 32-bit integer registers, called by the compiler. */
44 /* "Bare" versions that simply return to their caller. */
46 FUNC_START(_save32gpr_14) stw 14,-72(11)
47 FUNC_START(_save32gpr_15) stw 15,-68(11)
48 FUNC_START(_save32gpr_16) stw 16,-64(11)
49 FUNC_START(_save32gpr_17) stw 17,-60(11)
50 FUNC_START(_save32gpr_18) stw 18,-56(11)
51 FUNC_START(_save32gpr_19) stw 19,-52(11)
52 FUNC_START(_save32gpr_20) stw 20,-48(11)
53 FUNC_START(_save32gpr_21) stw 21,-44(11)
54 FUNC_START(_save32gpr_22) stw 22,-40(11)
55 FUNC_START(_save32gpr_23) stw 23,-36(11)
56 FUNC_START(_save32gpr_24) stw 24,-32(11)
57 FUNC_START(_save32gpr_25) stw 25,-28(11)
58 FUNC_START(_save32gpr_26) stw 26,-24(11)
59 FUNC_START(_save32gpr_27) stw 27,-20(11)
60 FUNC_START(_save32gpr_28) stw 28,-16(11)
61 FUNC_START(_save32gpr_29) stw 29,-12(11)
62 FUNC_START(_save32gpr_30) stw 30,-8(11)
63 FUNC_START(_save32gpr_31) stw 31,-4(11)
64 blr
65 FUNC_END(_save32gpr_31)
66 FUNC_END(_save32gpr_30)
67 FUNC_END(_save32gpr_29)
68 FUNC_END(_save32gpr_28)
69 FUNC_END(_save32gpr_27)
70 FUNC_END(_save32gpr_26)
71 FUNC_END(_save32gpr_25)
72 FUNC_END(_save32gpr_24)
73 FUNC_END(_save32gpr_23)
74 FUNC_END(_save32gpr_22)
75 FUNC_END(_save32gpr_21)
76 FUNC_END(_save32gpr_20)
77 FUNC_END(_save32gpr_19)
78 FUNC_END(_save32gpr_18)
79 FUNC_END(_save32gpr_17)
80 FUNC_END(_save32gpr_16)
81 FUNC_END(_save32gpr_15)
82 FUNC_END(_save32gpr_14)
84 #endif