CVS Repository/ srcgnuliblibcompiler_rt/ Makefile


OpenBSD release(s):
1.15 (79), 1.14 (78), 1.8 (77 76 75), 1.6 (74 73 72 71), 1.5 (70), 1.4 (69 68), 
Tags:
None
revision 1.15/ (Download) - annotate - Mon, 02 Mar 2026 20:33:49 UTC by kettenis
OpenBSD release(s): 79
Changes since 1.14: +6 -1 (diff)
amd64 needs the quad-precision support functions as well (for __float128
support).  From Brad (with a small comment tweak).

ok rsadowski@

revision 1.14/ (Download) - annotate - Wed, 10 Sep 2025 03:38:56 UTC by gkoehler
OpenBSD release(s): 78
Changes since 1.13: +1 -2 (diff)
Remove obsolete ppc/atomic_lock_free.c

Back when compiler-rt was missing __atomic_is_lock_free, we added it
for 64-bit atomic ops on powerpc.  A later version of compiler-rt
added __atomic_is_lock_free to builtins/atomic.c; the linker has been
finding atomic.c and ignoring atomic_lock_free.c.

ok kettenis@

revision 1.13/ (Download) - annotate - Fri, 05 Sep 2025 17:05:14 UTC by kettenis
Changes since 1.12: +43 -104 (diff)
Clean up the handling of the "TF" (quad-precision) helper functions.
Create a single arch-independent list for them and allow for replacement
of the generic C implementation with arch-dependent assembly code.

ok rsadowski@

revision 1.12/ (Download) - annotate - Tue, 02 Sep 2025 18:06:02 UTC by kettenis
Changes since 1.11: +1 -9 (diff)
Remove x86-specific stanza that adds Float16 conversion functions that
are already part of the generic list of files.

ok tb@

revision 1.11/ (Download) - annotate - Mon, 01 Sep 2025 12:31:26 UTC by jca
Changes since 1.10: +5 -5 (diff)
Hook up compiler-rt cpu_model detection on i386

Lack of support spotted by sthen@ in bulk build failures
(archivers/blosc2, archivers/unrar, etc).

ok kettenis@ tb@

revision 1.10/ (Download) - annotate - Wed, 27 Aug 2025 20:18:11 UTC by kettenis
Changes since 1.9: +8 -6 (diff)
aarch64 supports Float16; also add two missing files for BFloat16 support.

ok rsadowski@, miod@

revision 1.9/ (Download) - annotate - Thu, 21 Aug 2025 10:42:46 UTC by rsadowski
Changes since 1.8: +82 -26 (diff)
update build infrastructure for compiler-rt-19.1.7

- Adds SANITIZER_COMMON_NO_REDEFINE_BUILTINS define for ubsan_minimal
- Enable Float16 and BFloat16 support
  - Includes Float16 conversion functions (extendhfsf2.c, etc.)
  - Adds BFloat16 support for x86_64 and aarch64
- Adds CPU model detection (x86.c)
- Adds 80-bit extended precision support (divxc3.c, fixunsxfdi.c, etc.)
- Removes generic cpu_model from common sources
- Adds arch-specific CPU model detection (aarch64, x86_64)

Quad-Precision Support:

- Restructures TF (128-bit float) functions into separate TF_SRCS variable
- Enables quad-precision for aarch64, mips64, riscv, and sparc64
- Adds arch-specific TF functions (addtf3.c, divtf3.c, etc.)

TODO:
- Comments out SME (Scalable Matrix Extension) support.

Special thanks to kettenis@, who put all the magic in the right place.

ok jca@ kettenis@

revision 1.8/ (Download) - annotate - Tue, 06 Feb 2024 05:07:28 UTC by jca
OpenBSD release(s): 77 76 75
Changes since 1.7: +2 -0 (diff)
Add risc-v support code for clang -msave-restore

ok kettenis@

revision 1.7/ (Download) - annotate - Tue, 06 Feb 2024 05:00:12 UTC by jca
Changes since 1.6: +4 -2 (diff)
Fix RTARCH in our Makefile and lets us access riscv-specific implementations

This brings us fp_mode.c used in softfloat code, and muldi3.S used when
the target ISA doesn't have the Multiply extension.

ok kettenis@

revision 1.6/ (Download) - annotate - Tue, 28 Dec 2021 15:45:17 UTC by patrick
OpenBSD release(s): 74 73 72 71
Changes since 1.5: +20 -1 (diff)
Compile out-of-line helpers for atomic operations which can be enabled
through -moutline-atomics.  These are included by default in this updated
version of compiler-rt, we just haven't enabled them yet.  Some ports start
to make use of that option, so it makes sense to provide these helpers.

The helpers would make use of the ARMv8.1 LSE instructions, if we flagged
that the running system supports those.  As we do not yet have a mechanism
to show support for LSE, the code will always fall back to regular atomics.

Issue raised by jca@
Tested by phessler@
Input from jsg@
ok kettenis@

revision 1.5/ (Download) - annotate - Wed, 28 Apr 2021 22:56:22 UTC by drahn
OpenBSD release(s): 70
Changes since 1.4: +22 -1 (diff)
Build libcompiler_rt for riscv64
ok kettenis@

revision 1.4/ (Download) - annotate - Fri, 14 Aug 2020 14:30:06 UTC by kettenis
OpenBSD release(s): 69 68
Changes since 1.3: +4 -12 (diff)
Don't build double-double functions since long double is the same as double
on OpenBSD.

ok gkoehler@

revision 1.3/ (Download) - annotate - Tue, 11 Aug 2020 06:38:59 UTC by patrick
Changes since 1.2: +1 -2 (diff)
Remove fixtfti.c from ppc-if to unbreak macppc build.  I guess kettenis@
was right that this isn't really needed.  Now the list is the same as what
we had for the previous compiler-rt version.

revision 1.2/ (Download) - annotate - Tue, 11 Aug 2020 03:23:47 UTC by jsg
Changes since 1.1: +2 -2 (diff)
fix path for testing if a .S exists

revision 1.1/ (Download) - annotate - Mon, 10 Aug 2020 21:08:26 UTC by patrick
Add build infrastructure for compiler-rt.

ok kettenis@