Helper function to restore floating-point registers.
[kopensolaris-gnu/glibc.git] / sysdeps / powerpc / fprrest.S
1 /* Copyright (C) 2000 Free Software Foundation, Inc.
2    This file is part of the GNU C Library.
3
4    The GNU C Library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Library General Public License as
6    published by the Free Software Foundation; either version 2 of the
7    License, or (at your option) any later version.
8
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    Library General Public License for more details.
13
14    You should have received a copy of the GNU Library General Public
15    License along with the GNU C Library; see the file COPYING.LIB.  If not,
16    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17    Boston, MA 02111-1307, USA.  */
18
19 #include <sysdep.h>
20
21                 ASM_GLOBAL_DIRECTIVE _restfpr_14
22 _restfpr_14:    lfd     fp14,-144(r11)
23                 ASM_GLOBAL_DIRECTIVE _restfpr_15
24 _restfpr_15:    lfd     fp15,-136(r11)
25                 ASM_GLOBAL_DIRECTIVE _restfpr_16
26 _restfpr_16:    lfd     fp16,-128(r11)
27                 ASM_GLOBAL_DIRECTIVE _restfpr_17
28 _restfpr_17:    lfd     fp17,-120(r11)
29                 ASM_GLOBAL_DIRECTIVE _restfpr_18
30 _restfpr_18:    lfd     fp18,-112(r11)
31                 ASM_GLOBAL_DIRECTIVE _restfpr_19
32 _restfpr_19:    lfd     fp19,-104(r11)
33                 ASM_GLOBAL_DIRECTIVE _restfpr_20
34 _restfpr_20:    lfd     fp20,-96(r11)
35                 ASM_GLOBAL_DIRECTIVE _restfpr_21
36 _restfpr_21:    lfd     fp21,-88(r11)
37                 ASM_GLOBAL_DIRECTIVE _restfpr_22
38 _restfpr_22:    lfd     fp22,-80(r11)
39                 ASM_GLOBAL_DIRECTIVE _restfpr_23
40 _restfpr_23:    lfd     fp23,-72(r11)
41                 ASM_GLOBAL_DIRECTIVE _restfpr_24
42 _restfpr_24:    lfd     fp24,-64(r11)
43                 ASM_GLOBAL_DIRECTIVE _restfpr_25
44 _restfpr_25:    lfd     fp25,-56(r11)
45                 ASM_GLOBAL_DIRECTIVE _restfpr_26
46 _restfpr_26:    lfd     fp26,-48(r11)
47                 ASM_GLOBAL_DIRECTIVE _restfpr_27
48 _restfpr_27:    lfd     fp27,-40(r11)
49                 ASM_GLOBAL_DIRECTIVE _restfpr_28
50 _restfpr_28:    lfd     fp28,-32(r11)
51                 ASM_GLOBAL_DIRECTIVE _restfpr_29
52 _restfpr_29:    lfd     fp29,-24(r11)
53                 ASM_GLOBAL_DIRECTIVE _restfpr_30
54 _restfpr_30:    lfd     fp30,-16(r11)
55                 ASM_GLOBAL_DIRECTIVE _restfpr_31
56 _restfpr_31:    lfd     fp31,-8(r11)
57                 blr