2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / config / rs6000 / e500crtsav64gprctr.asm
blob1261bb06ed8e91c5ffa275d1da2d0e68a64ae3ce
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 "e500crtsav64gprctr.asm"
38 .section ".text"
39 #include "ppc-asm.h"
41 #ifdef __SPE__
43 /* Routines for saving 64-bit integer registers where the number of
44 registers to be saved is passed in CTR, called by the compiler. */
45 /* "Bare" versions that return to their caller. */
47 FUNC_START(_save64gpr_ctr_14) evstdd 14,0(11)
48 bdz _save64_gpr_ctr_done
49 FUNC_START(_save64gpr_ctr_15) evstdd 15,8(11)
50 bdz _save64_gpr_ctr_done
51 FUNC_START(_save64gpr_ctr_16) evstdd 16,16(11)
52 bdz _save64_gpr_ctr_done
53 FUNC_START(_save64gpr_ctr_17) evstdd 17,24(11)
54 bdz _save64_gpr_ctr_done
55 FUNC_START(_save64gpr_ctr_18) evstdd 18,32(11)
56 bdz _save64_gpr_ctr_done
57 FUNC_START(_save64gpr_ctr_19) evstdd 19,40(11)
58 bdz _save64_gpr_ctr_done
59 FUNC_START(_save64gpr_ctr_20) evstdd 20,48(11)
60 bdz _save64_gpr_ctr_done
61 FUNC_START(_save64gpr_ctr_21) evstdd 21,56(11)
62 bdz _save64_gpr_ctr_done
63 FUNC_START(_save64gpr_ctr_22) evstdd 22,64(11)
64 bdz _save64_gpr_ctr_done
65 FUNC_START(_save64gpr_ctr_23) evstdd 23,72(11)
66 bdz _save64_gpr_ctr_done
67 FUNC_START(_save64gpr_ctr_24) evstdd 24,80(11)
68 bdz _save64_gpr_ctr_done
69 FUNC_START(_save64gpr_ctr_25) evstdd 25,88(11)
70 bdz _save64_gpr_ctr_done
71 FUNC_START(_save64gpr_ctr_26) evstdd 26,96(11)
72 bdz _save64_gpr_ctr_done
73 FUNC_START(_save64gpr_ctr_27) evstdd 27,104(11)
74 bdz _save64_gpr_ctr_done
75 FUNC_START(_save64gpr_ctr_28) evstdd 28,112(11)
76 bdz _save64_gpr_ctr_done
77 FUNC_START(_save64gpr_ctr_29) evstdd 29,120(11)
78 bdz _save64_gpr_ctr_done
79 FUNC_START(_save64gpr_ctr_30) evstdd 30,128(11)
80 bdz _save64_gpr_ctr_done
81 FUNC_START(_save64gpr_ctr_31) evstdd 31,136(11)
82 _save64gpr_ctr_done: blr
83 FUNC_END(_save64gpr_ctr_31)
84 FUNC_END(_save64gpr_ctr_30)
85 FUNC_END(_save64gpr_ctr_29)
86 FUNC_END(_save64gpr_ctr_28)
87 FUNC_END(_save64gpr_ctr_27)
88 FUNC_END(_save64gpr_ctr_26)
89 FUNC_END(_save64gpr_ctr_25)
90 FUNC_END(_save64gpr_ctr_24)
91 FUNC_END(_save64gpr_ctr_23)
92 FUNC_END(_save64gpr_ctr_22)
93 FUNC_END(_save64gpr_ctr_21)
94 FUNC_END(_save64gpr_ctr_20)
95 FUNC_END(_save64gpr_ctr_19)
96 FUNC_END(_save64gpr_ctr_18)
97 FUNC_END(_save64gpr_ctr_17)
98 FUNC_END(_save64gpr_ctr_16)
99 FUNC_END(_save64gpr_ctr_15)
100 FUNC_END(_save64gpr_ctr_14)
102 #endif