1/* Copyright (C) 2000-2022 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 Lesser General Public 6 License as published by the Free Software Foundation; either 7 version 2.1 of the 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 Lesser General Public License for more details. 13 14 You should have received a copy of the GNU Lesser General Public 15 License along with the GNU C Library; if not, see 16 <https://www.gnu.org/licenses/>. */ 17 18/* 19 General Purpose Register (GPR) save routine 20 when Floating Point Registers (FPRs) are saved 21*/ 22 23#include <sysdep.h> 24 25ENTRY(_savegpr1_all) 26 .globl C_TEXT(_savegpr1_13) 27C_TEXT(_savegpr1_13): stw r13,-76(r12) 28 .globl C_TEXT(_savegpr1_14) 29C_TEXT(_savegpr1_14): stw r14,-72(r12) 30 .globl C_TEXT(_savegpr1_15) 31C_TEXT(_savegpr1_15): stw r15,-68(r12) 32 .globl C_TEXT(_savegpr1_16) 33C_TEXT(_savegpr1_16): stw r16,-64(r12) 34 .globl C_TEXT(_savegpr1_17) 35C_TEXT(_savegpr1_17): stw r17,-60(r12) 36 .globl C_TEXT(_savegpr1_18) 37C_TEXT(_savegpr1_18): stw r18,-56(r12) 38 .globl C_TEXT(_savegpr1_19) 39C_TEXT(_savegpr1_19): stw r19,-52(r12) 40 .globl C_TEXT(_savegpr1_20) 41C_TEXT(_savegpr1_20): stw r20,-48(r12) 42 .globl C_TEXT(_savegpr1_21) 43C_TEXT(_savegpr1_21): stw r21,-44(r12) 44 .globl C_TEXT(_savegpr1_22) 45C_TEXT(_savegpr1_22): stw r22,-40(r12) 46 .globl C_TEXT(_savegpr1_23) 47C_TEXT(_savegpr1_23): stw r23,-36(r12) 48 .globl C_TEXT(_savegpr1_24) 49C_TEXT(_savegpr1_24): stw r24,-32(r12) 50 .globl C_TEXT(_savegpr1_25) 51C_TEXT(_savegpr1_25): stw r25,-28(r12) 52 .globl C_TEXT(_savegpr1_26) 53C_TEXT(_savegpr1_26): stw r26,-24(r12) 54 .globl C_TEXT(_savegpr1_27) 55C_TEXT(_savegpr1_27): stw r27,-20(r12) 56 .globl C_TEXT(_savegpr1_28) 57C_TEXT(_savegpr1_28): stw r28,-16(r12) 58 .globl C_TEXT(_savegpr1_29) 59C_TEXT(_savegpr1_29): stw r29,-12(r12) #save r29 60 stw r30,-8(r12) #save r30 61 stw r31,-4(r12) #save r31 62 blr #return 63END (_savegpr1_all) 64