gcc/libgcc/config
Wilco Dijkstra 9421f02916 AArch64: Fix cpu features initialization [PR115342]
The CPU features initialization code uses CPUID registers (rather than
HWCAP).  The equality comparisons it uses are incorrect: for example FEAT_SVE
is not set if SVE2 is available.  Using HWCAPs for these is both simpler and
correct.  The initialization must also be done atomically to avoid multiple
threads causing corruption due to non-atomic RMW accesses to the global.

libgcc:
	PR target/115342
	* config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
	Use HWCAP where possible.  Use atomic write for initialization.
	Fix FEAT_PREDRES comparison.
	(__init_cpu_features_resolver): Use atomic load for correct
	initialization.
	(__init_cpu_features): Likewise.
(cherry picked from commit d7cbcfe7c33645eaf95f175f19884d443817857b)
2024-06-21 17:15:45 +01:00
..
aarch64 AArch64: Fix cpu features initialization [PR115342] 2024-06-21 17:15:45 +01:00
alpha Update copyright years. 2024-01-03 12:19:35 +01:00
arc Update copyright years. 2024-01-03 12:19:35 +01:00
arm arm: Add .type and .size to __gnu_cmse_nonsecure_call [PR115360] 2024-06-12 15:08:55 +01:00
avr Daily bump. 2024-06-02 00:22:52 +00:00
bfin Update copyright years. 2024-01-03 12:19:35 +01:00
bpf
c6x Update copyright years. 2024-01-03 12:19:35 +01:00
cris Update copyright years. 2024-01-03 12:19:35 +01:00
csky Update copyright years. 2024-01-03 12:19:35 +01:00
epiphany Update copyright years. 2024-01-03 12:19:35 +01:00
fr30 Update copyright years. 2024-01-03 12:19:35 +01:00
frv Update copyright years. 2024-01-03 12:19:35 +01:00
ft32 Update copyright years. 2024-01-03 12:19:35 +01:00
gcn amdgcn: additional gfx1030/gfx1100 support 2024-01-26 11:38:47 +00:00
h8300 Update copyright years. 2024-01-03 12:19:35 +01:00
i386 Hurd x86_64: add unwind support for signal trampoline code 2024-03-20 20:25:09 +01:00
ia64 Update copyright years. 2024-01-03 12:19:35 +01:00
iq2000 Update copyright years. 2024-01-03 12:19:35 +01:00
libbid Update ChangeLog and version files for release 2024-05-07 06:52:35 +00:00
lm32 Update copyright years. 2024-01-03 12:19:35 +01:00
loongarch Update copyright years. 2024-01-03 12:19:35 +01:00
m32c Update copyright years. 2024-01-03 12:19:35 +01:00
m32r Update copyright years. 2024-01-03 12:19:35 +01:00
m68k m68k: Quiet up cppcheck warning [PR114689] 2024-04-15 17:46:03 +02:00
mcore Update copyright years. 2024-01-03 12:19:35 +01:00
microblaze Update copyright years. 2024-01-03 12:19:35 +01:00
mips Update copyright years. 2024-01-03 12:19:35 +01:00
mmix Update copyright years. 2024-01-03 12:19:35 +01:00
moxie Update copyright years. 2024-01-03 12:19:35 +01:00
msp430 Update copyright years. 2024-01-03 12:19:35 +01:00
nds32 Update copyright years. 2024-01-03 12:19:35 +01:00
nios2 Update copyright years. 2024-01-03 12:19:35 +01:00
nvptx Update copyright years. 2024-01-03 12:19:35 +01:00
or1k Update copyright years. 2024-01-03 12:19:35 +01:00
pa Update copyright years. 2024-01-03 12:19:35 +01:00
pdp11
pru Update copyright years. 2024-01-03 12:19:35 +01:00
riscv Update copyright years. 2024-01-03 12:19:35 +01:00
rl78 Update copyright years. 2024-01-03 12:19:35 +01:00
rs6000 rs6000: Neuter option -mpower{8,9}-vector [PR109987] 2024-02-21 20:41:18 -06:00
rx Update copyright years. 2024-01-03 12:19:35 +01:00
s390 Update copyright years. 2024-01-03 12:19:35 +01:00
score Update copyright years. 2024-01-03 12:19:35 +01:00
sh Update copyright years. 2024-01-03 12:19:35 +01:00
sol2 Update copyright years. 2024-01-03 12:19:35 +01:00
sparc Update copyright years. 2024-01-03 12:19:35 +01:00
stormy16 Update copyright years. 2024-01-03 12:19:35 +01:00
v850 Update copyright years. 2024-01-03 12:19:35 +01:00
vax Update copyright years. 2024-01-03 12:19:35 +01:00
visium Update copyright years. 2024-01-03 12:19:35 +01:00
vms Update copyright years. 2024-01-03 12:19:35 +01:00
xtensa Update copyright years. 2024-01-03 12:19:35 +01:00
darwin-64.c Update copyright years. 2024-01-03 12:19:35 +01:00
darwin-crt-tm.c Update copyright years. 2024-01-03 12:19:35 +01:00
darwin-crt3.c Update copyright years. 2024-01-03 12:19:35 +01:00
darwin-unwind.ver
darwin10-unwind-find-enc-func.c
gthr-lynx.h Update copyright years. 2024-01-03 12:19:35 +01:00
gthr-rtems.h Update copyright years. 2024-01-03 12:19:35 +01:00
gthr-vxworks-cond.c Update copyright years. 2024-01-03 12:19:35 +01:00
gthr-vxworks-thread.c Update copyright years. 2024-01-03 12:19:35 +01:00
gthr-vxworks-tls.c Update copyright years. 2024-01-03 12:19:35 +01:00
gthr-vxworks.c Update copyright years. 2024-01-03 12:19:35 +01:00
gthr-vxworks.h Update copyright years. 2024-01-03 12:19:35 +01:00
hardfp.c Update copyright years. 2024-01-03 12:19:35 +01:00
libgcc-glibc.ver Update copyright years. 2024-01-03 12:19:35 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin libgcc: Make heap trampoline support dynamic [PR113403]. 2024-01-30 09:33:09 +00:00
t-darwin-ehs
t-darwin-min-1
t-darwin-min-5
t-darwin-min-8
t-darwin-rpath
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-gthr-noweak
t-gthr-vxworks
t-gthr-vxworksae
t-hardfp Update copyright years. 2024-01-03 12:19:35 +01:00
t-hardfp-sfdf Update copyright years. 2024-01-03 12:19:35 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2024-01-03 12:19:35 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2024-01-03 12:19:35 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia Update copyright years. 2024-01-03 12:19:35 +01:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2024-01-03 12:19:35 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2024-01-03 12:19:35 +01:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxcrtstuff
t-vxcrtstuffS
t-vxworks
t-vxworksae
unwind-dw2-fde-darwin.c Update copyright years. 2024-01-03 12:19:35 +01:00
vxcrtstuff.c