1 /* Copyright (c) 1995, 2002 Red Hat Incorporated.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
7 * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
10 * Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * The name of Red Hat Incorporated may not be used to endorse
15 * or promote products derived from this software without specific
16 * prior written permission.
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 * ARE DISCLAIMED. IN NO EVENT SHALL RED HAT INCORPORATED BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 /* Note I don't know an easy way to get the FP version into the
31 traditional C library and the non-FP version into the soft-float
32 library. Maybe we'll have to have -msoft-float trigger something
33 like -DSOFT_FLOAT if this issue ever arises. */
39 .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
40 .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
42 .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
43 .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
45 .IMPORT $$dyncall,MILLICODE
51 .EXPORT setjmp,ENTRY,PRIV_LEV=3,ARGW0=GR,RTNVAL=GR
54 .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
76 ; jmp_buf may only have a 4 byte alignment, so handle FP stores
105 .EXPORT longjmp,ENTRY,PRIV_LEV=3,ARGW0=GR,ARGW1=GR,RTNVAL=GR
108 .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3
134 fldds -16(%r30),%fr12
139 fldds -16(%r30),%fr13
144 fldds -16(%r30),%fr14
149 fldds -16(%r30),%fr15
151 comclr,<> %r0,%r25,%r0