mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
db069c7c2db421b522475c231f79252f7e40cfa1
glibc selects its hand-written assembly mem*/str* routines by the host triplet's machine prefix (sysdeps/alpha/preconfigure does machine=alpha/$machine), not by the -mcpu codegen flag. With the bare alpha-*-* CHOST, configure only pulls sysdeps/alpha and the generic C implementations are built, leaving the tuned EV6/EV67 assembly unused. Map -mcpu to the most specific sysdeps/alpha/alphaev* directory that exists (the Implies chain is alphaev67 -> alphaev6 -> alphaev5) via CTARGET_OPT, mirroring the existing sparc handling, so the tuned asm is selected on capable CPUs. ev4/ev45 and an unset -mcpu keep the bare alpha generic build. Signed-off-by: Matt Turner <mattst88@gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1173 Merges: https://codeberg.org/gentoo/gentoo/pulls/1173
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
97.9%
Roff
1.4%
Emacs Lisp
0.2%
C
0.1%