Alfie Richards 765ca91339 aarch64: Cache the PCS value for a function
As aarch64_function_arg_regno_p is a very hot function called many times for a
function it should not call fndecl_abi every time as it is expensive and
unecessasary.

This caches the result and in doing so fixes a regression in compile time
introduced by r16-5076-g7197d8062fddc2.

gcc/ChangeLog:

	* config/aarch64/aarch64.cc (aarch64_fndecl_abi): New function.
	(aarch64_function_abi): New function.
	(aarch64_function_arg_regno_p): Update to use aarch64_fndecl_abi.
	(aarch64_output_mi_thunk): Likewise.
	(aarch64_is_variant_pcs): Likewise.
	(aarch64_set_current_function): Update to initialize pcs value.
	* config/aarch64/aarch64.h (enum arm_pcs): Move location earlier in
	file.
	(machine_function) Add pcs value.
2025-12-11 14:51:11 +00:00
2025-12-10 00:16:32 +00:00
2025-12-09 00:16:30 +00:00
2025-12-02 09:47:45 +00:00
2025-11-07 00:20:18 +00:00
2025-12-02 09:47:45 +00:00
2025-11-22 00:20:52 +00:00
2025-12-11 00:16:27 +00:00
2025-12-01 11:41:53 +01:00
2025-12-10 00:16:32 +00:00
2025-11-30 00:16:27 +00:00
2025-11-12 00:22:41 +00:00
2025-11-24 00:18:45 +00:00
2025-11-29 12:28:38 +01:00
2025-12-01 00:16:36 +00:00
2025-11-20 00:19:40 +00:00
2025-12-10 00:16:32 +00:00
2025-12-11 00:16:27 +00:00
2025-12-09 00:16:30 +00:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:27 +01:00
2025-11-30 01:52:24 +01:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.
Description
No description provided
Readme 4.2 GiB
Languages
C++ 30.7%
C 30.2%
Ada 14.4%
D 6.1%
Go 5.7%
Other 12.4%