1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00
freebsd/contrib
Dimitry Andric 397c2693fa Fix llvm register allocator for native/cross build differences
Work around an issue in LLVM's register allocator, which can cause
slightly different i386 object files, when produced by a native or cross
build of clang.

This adds another volatile qualifier to a float variable declaration in
the weightCalcHelper() function, which otherwise produces slightly
different float results on amd64 and i386 hosts. In turn, this can lead
to different (but equivalent) register choices, and thus non-identical
assembly code.

See https://github.com/llvm/llvm-project/issues/99396 for more details.

Note this is a temporary fix, meant to merge in time for 13.4. As soon
as upstream has a permanent solution we will import that.

PR:		276961
Reported by:	cperciva
MFC after:	3 days
2024-07-21 22:37:27 +02:00
..
arm-optimized-routines
atf
bc
bearssl
bionic-x86_64-string
blocklist
bmake Merge bmake-20240711 2024-07-20 12:45:48 -07:00
bsddialog
bsnmp
byacc
bzip2
capsicum-test
com_err
cortex-strings
dialog
diff
dma
ee
elftoolchain elftoolchain: Consistently use item count as the first argument to calloc 2024-07-19 13:06:11 -04:00
expat
file
flex
gdtoa
googletest
hyperv/tools
jemalloc
kyua kyua: fix gcc builds 2024-07-20 00:28:06 +01:00
ldns
ldns-host
less
lib9p
libarchive
libbegemot
libc-pwcache
libc-vis
libcbor
libcxxrt
libdiff
libdivsufsort
libedit
libevent
libexecinfo
libfido2
libpcap
libucl
libxo
llvm-project Fix llvm register allocator for native/cross build differences 2024-07-21 22:37:27 +02:00
lua
lutok
mandoc
mknod
mtree
ncurses
netbsd-tests
netcat
ntp
nvi
ofed
one-true-awk
openbsm
opencsd/decoder
openpam
openresolv
pam_modules/pam_passwdqc
pf
pjdfstest
pnglite
pnpinfo
processor-trace
sendmail
smbfs
spleen
sqlite3
tcp_wrappers
tcpdump
tcsh
telnet
terminus
tnftp
tzcode
tzdata
unbound
unifdef
unvis
vis
wireguard-tools
wpa
xz