| 1 | /* Copyright (C) 2009-2024 Free Software Foundation, Inc. |
| 2 | |
| 3 | This file is part of the GNU C Library. |
| 4 | |
| 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 License as |
| 7 | published by the Free Software Foundation; either version 2.1 of the |
| 8 | License, or (at your option) any later version. |
| 9 | |
| 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. |
| 14 | |
| 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/>. */ |
| 18 | |
| 19 | #define SP_ALIGN_SIZE 15 |
| 20 | |
| 21 | #define SP_ALIGN_MASK ~15 |
| 22 | |
| 23 | /* Size of an X register in bytes. */ |
| 24 | #define SZREG 8 |
| 25 | |
| 26 | /* Size of a V register in bytes. */ |
| 27 | #define SZVREG 16 |
| 28 | |
| 29 | /* Number of integer parameter passing registers. */ |
| 30 | #define NUMXREGARGS 8 |
| 31 | |
| 32 | /* Number of FP parameter passing registers. */ |
| 33 | #define NUMDREGARGS 8 |
| 34 | |
| 35 | /* Size of named integer argument in bytes when passed on the |
| 36 | stack. */ |
| 37 | #define SIZEOF_NAMED_INT 4 |
| 38 | |
| 39 | /* Size of an anonymous integer argument in bytes when passed on the |
| 40 | stack. */ |
| 41 | #define SIZEOF_ANONYMOUS_INT 8 |
| 42 | |
| 43 | #define oX21 (oX0 + 21*8) |
| 44 | #define oFP (oX0 + 29*8) |
| 45 | #define oLR (oX0 + 30*8) |
| 46 | |