OSDN Git Service

2009-03-27 Vladimir Makarov <vmakarov@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / e500crtrest64gpr.asm
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         .section ".text"
38         #include "ppc-asm.h"
39
40 #ifdef __SPE__
41
42 /* "Tail" versions that perform a tail call.  */
43
44 HIDDEN_FUNC(_rest64gpr_14_t)    evldd 14,0(11)
45 HIDDEN_FUNC(_rest64gpr_15_t)    evldd 15,8(11)
46 HIDDEN_FUNC(_rest64gpr_16_t)    evldd 16,16(11)
47 HIDDEN_FUNC(_rest64gpr_17_t)    evldd 17,24(11)
48 HIDDEN_FUNC(_rest64gpr_18_t)    evldd 18,32(11)
49 HIDDEN_FUNC(_rest64gpr_19_t)    evldd 19,40(11)
50 HIDDEN_FUNC(_rest64gpr_20_t)    evldd 20,48(11)
51 HIDDEN_FUNC(_rest64gpr_21_t)    evldd 21,56(11)
52 HIDDEN_FUNC(_rest64gpr_22_t)    evldd 22,64(11)
53 HIDDEN_FUNC(_rest64gpr_23_t)    evldd 23,72(11)
54 HIDDEN_FUNC(_rest64gpr_24_t)    evldd 24,80(11)
55 HIDDEN_FUNC(_rest64gpr_25_t)    evldd 25,88(11)
56 HIDDEN_FUNC(_rest64gpr_26_t)    evldd 26,96(11)
57 HIDDEN_FUNC(_rest64gpr_27_t)    evldd 27,104(11)
58 HIDDEN_FUNC(_rest64gpr_28_t)    evldd 28,112(11)
59 HIDDEN_FUNC(_rest64gpr_29_t)    evldd 29,120(11)
60 HIDDEN_FUNC(_rest64gpr_30_t)    evldd 30,128(11)
61 HIDDEN_FUNC(_rest64gpr_31_t)    lwz 0,148(11)
62                                 evldd 31,136(11)
63                                 addi 1,11,144
64                                 blr
65 FUNC_END(_rest64gpr_31_t)
66 FUNC_END(_rest64gpr_30_t)
67 FUNC_END(_rest64gpr_29_t)
68 FUNC_END(_rest64gpr_28_t)
69 FUNC_END(_rest64gpr_27_t)
70 FUNC_END(_rest64gpr_26_t)
71 FUNC_END(_rest64gpr_25_t)
72 FUNC_END(_rest64gpr_24_t)
73 FUNC_END(_rest64gpr_23_t)
74 FUNC_END(_rest64gpr_22_t)
75 FUNC_END(_rest64gpr_21_t)
76 FUNC_END(_rest64gpr_20_t)
77 FUNC_END(_rest64gpr_19_t)
78 FUNC_END(_rest64gpr_18_t)
79 FUNC_END(_rest64gpr_17_t)
80 FUNC_END(_rest64gpr_16_t)
81 FUNC_END(_rest64gpr_15_t)
82 FUNC_END(_rest64gpr_14_t)
83
84 #endif