Home
last modified time | relevance | path

Searched hist:efe67f33c322265eb303ec0ab40275100795b22a (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libcompiler_rt/
H A DMakefile.incdiff efe67f33c322265eb303ec0ab40275100795b22a Mon Sep 06 21:23:10 CEST 2021 Dimitry Andric <dim@FreeBSD.org> compiler-rt: add aarch64 init function for LSE atomics

As reported by Ronald, adding the out-of-line LSE atomics helpers for
aarch64 to compiler-rt was not sufficient to link programs using these,
as they also require a __aarch64_have_lse_atomics global. This is
initialized in compiler-rt's lib/builtins/cpu_model.c, roughly similar
to the x86 CPU model and feature detection in that file.

Since upstream does not yet have a FreeBSD specific implementation for
getting the required information, add a simple one that should work for
now, while I try to get it sorted with the LLVM people.

Reported by: Ronald Klop <ronald-lists@klop.ws>
Fixes: cc55ee8009a5
PR: 257392
MFC after: 2 weeks