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
arc
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
bpf
c6x
cris
csky
epiphany
fr30
frv
ft32
gcn
h8300
i386 Hurd x86_64: add unwind support for signal trampoline code 2024-03-20 20:25:09 +01:00
ia64
iq2000
libbid Update ChangeLog and version files for release 2024-05-07 06:52:35 +00:00
lm32
loongarch
m32c
m32r
m68k m68k: Quiet up cppcheck warning [PR114689] 2024-04-15 17:46:03 +02:00
mcore
microblaze
mips
mmix
moxie
msp430
nds32
nios2
nvptx
or1k
pa
pdp11
pru
riscv
rl78
rs6000 rs6000: Neuter option -mpower{8,9}-vector [PR109987] 2024-02-21 20:41:18 -06:00
rx
s390
score
sh
sol2
sparc
stormy16
v850
vax
visium
vms
xtensa
darwin-64.c
darwin-crt-tm.c
darwin-crt3.c
darwin-unwind.ver
darwin10-unwind-find-enc-func.c
gthr-lynx.h
gthr-rtems.h
gthr-vxworks-cond.c
gthr-vxworks-thread.c
gthr-vxworks-tls.c
gthr-vxworks.c
gthr-vxworks.h
hardfp.c
libgcc-glibc.ver
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
t-hardfp-sfdf
t-libgcc-pic
t-libunwind
t-libunwind-elf
t-linux
t-openbsd-thread
t-rtems
t-slibgcc
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp
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
vxcrtstuff.c