]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/rs6000/e500crtsavg64gprctr.asm
t-ppccomm: Add build rules for new files.
[thirdparty/gcc.git] / gcc / config / rs6000 / e500crtsavg64gprctr.asm
CommitLineData
18724e30
NF
1/*
2 * Special support for e500 eabi and SVR4
3 *
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.
11 *
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.)
19 *
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.
24 *
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.
29 *
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 */
36
37 .file "e500crtsavg64gprctr.asm"
38 .section ".text"
39 #include "ppc-asm.h"
40
41#ifdef __SPE__
42
43/* Routines for saving 64-bit integer registers, called by the compiler. */
44/* "GOT" versions that load the address of the GOT into lr before returning. */
45
46FUNC_START(_save64gpr_ctr_14_g) evstdd 14,0(11)
47 bdz _save64_gpr_ctr_g_done
48FUNC_START(_save64gpr_ctr_15_g) evstdd 15,8(11)
49 bdz _save64_gpr_ctr_g_done
50FUNC_START(_save64gpr_ctr_16_g) evstdd 16,16(11)
51 bdz _save64_gpr_ctr_g_done
52FUNC_START(_save64gpr_ctr_17_g) evstdd 17,24(11)
53 bdz _save64_gpr_ctr_g_done
54FUNC_START(_save64gpr_ctr_18_g) evstdd 18,32(11)
55 bdz _save64_gpr_ctr_g_done
56FUNC_START(_save64gpr_ctr_19_g) evstdd 19,40(11)
57 bdz _save64_gpr_ctr_g_done
58FUNC_START(_save64gpr_ctr_20_g) evstdd 20,48(11)
59 bdz _save64_gpr_ctr_g_done
60FUNC_START(_save64gpr_ctr_21_g) evstdd 21,56(11)
61 bdz _save64_gpr_ctr_g_done
62FUNC_START(_save64gpr_ctr_22_g) evstdd 22,64(11)
63 bdz _save64_gpr_ctr_g_done
64FUNC_START(_save64gpr_ctr_23_g) evstdd 23,72(11)
65 bdz _save64_gpr_ctr_g_done
66FUNC_START(_save64gpr_ctr_24_g) evstdd 24,80(11)
67 bdz _save64_gpr_ctr_g_done
68FUNC_START(_save64gpr_ctr_25_g) evstdd 25,88(11)
69 bdz _save64_gpr_ctr_g_done
70FUNC_START(_save64gpr_ctr_26_g) evstdd 26,96(11)
71 bdz _save64_gpr_ctr_g_done
72FUNC_START(_save64gpr_ctr_27_g) evstdd 27,104(11)
73 bdz _save64_gpr_ctr_g_done
74FUNC_START(_save64gpr_ctr_28_g) evstdd 28,112(11)
75 bdz _save64_gpr_ctr_g_done
76FUNC_START(_save64gpr_ctr_29_g) evstdd 29,120(11)
77 bdz _save64_gpr_ctr_g_done
78FUNC_START(_save64gpr_ctr_30_g) evstdd 30,128(11)
79 bdz _save64_gpr_ctr_g_done
80FUNC_START(_save64gpr_ctr_31_g) evstdd 31,136(11)
81_save64gpr_ctr_g_done: b _GLOBAL_OFFSET_TABLE_-4
82FUNC_END(_save64gpr_ctr_31_g)
83FUNC_END(_save64gpr_ctr_30_g)
84FUNC_END(_save64gpr_ctr_29_g)
85FUNC_END(_save64gpr_ctr_28_g)
86FUNC_END(_save64gpr_ctr_27_g)
87FUNC_END(_save64gpr_ctr_26_g)
88FUNC_END(_save64gpr_ctr_25_g)
89FUNC_END(_save64gpr_ctr_24_g)
90FUNC_END(_save64gpr_ctr_23_g)
91FUNC_END(_save64gpr_ctr_22_g)
92FUNC_END(_save64gpr_ctr_21_g)
93FUNC_END(_save64gpr_ctr_20_g)
94FUNC_END(_save64gpr_ctr_19_g)
95FUNC_END(_save64gpr_ctr_18_g)
96FUNC_END(_save64gpr_ctr_17_g)
97FUNC_END(_save64gpr_ctr_16_g)
98FUNC_END(_save64gpr_ctr_15_g)
99FUNC_END(_save64gpr_ctr_14_g)
100
101#endif