2 Copyright (C) 2022-2023 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library. If not, see
17 <https://www.gnu.org/licenses/>. */
20 #include <pointer_guard.h>
26 PTR_DEMANGLE (ra, t0, t1)
28 PTR_DEMANGLE2 (sp, t0, t1)
41 REG_L s6, a0, 10*SZREG
42 REG_L s7, a0, 11*SZREG
43 REG_L s8, a0, 12*SZREG
45 #ifndef __loongarch_soft_float
46 FREG_L $f24, a0, 13*SZREG + 0*SZFREG
47 FREG_L $f25, a0, 13*SZREG + 1*SZFREG
48 FREG_L $f26, a0, 13*SZREG + 2*SZFREG
49 FREG_L $f27, a0, 13*SZREG + 3*SZFREG
50 FREG_L $f28, a0, 13*SZREG + 4*SZFREG
51 FREG_L $f29, a0, 13*SZREG + 5*SZFREG
52 FREG_L $f30, a0, 13*SZREG + 6*SZFREG
53 FREG_L $f31, a0, 13*SZREG + 7*SZFREG
57 ADD a0, a0, a1 # a0 = (a1 == 0) ? 1 : a1