1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2019-2024 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program 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
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 extern void excessiveprologue ();
28 /* excessiveprologue saves to the stack in multiple ways. */
30 asm ("\t.section .gnu.sgstubs,\"ax\",%progbits\n"
31 "\t.global excessiveprologue\n"
32 "\t.type excessiveprologue, %function\n"
33 "excessiveprologue:\n"
34 "\tstp x29, x30, [sp, #-208]!\n"
36 "\tstp w0,w1,[sp,16]\n"
37 "\tstp x2,x3,[sp,24]\n"
42 "\tstp s0,s1,[sp,64]\n"
43 "\tstp d2,d3,[sp,72]\n"
44 "\tstp q4,q5,[sp,96]\n"
49 "\tstr q10,[sp,148]\n"
50 "\tstur b11,[sp,164]\n"
51 "\tstur h12,[sp,160]\n"
52 "\tstur s13,[sp,172]\n"
53 "\tstur d14,[sp,176]\n"
54 "\tstur q15,[sp,184]\n"
56 "\tldp w0,w1,[sp,16]\n"
57 "\tldp x2,x3,[sp,24]\n"
62 "\tldp s0,s1,[sp,64]\n"
63 "\tldp d2,d3,[sp,72]\n"
64 "\tldp q4,q5,[sp,96]\n"
69 "\tldr q10,[sp,148]\n"
70 "\tldur b11,[sp,164]\n"
71 "\tldur h12,[sp,160]\n"
72 "\tldur s13,[sp,172]\n"
73 "\tldur d14,[sp,176]\n"
74 "\tldur q15,[sp,184]\n"
75 "\tldp x29, x30, [sp], #208\n"