NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/59853: compiler-rt softfloat lacks floating-point exceptions



The following reply was made to PR lib/59853; it has been noted by GNATS.

From: Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: campbell+netbsd%mumble.net@localhost
Subject: Re: lib/59853: compiler-rt softfloat lacks floating-point exceptions
Date: Mon, 22 Dec 2025 22:56:06 +1100

 Hi Taylor,
 
 Given the fact that clang build don't raise floating point exceptions and for a
 more streamlined approach to soft-float in NetBSD,  I think it's better to cut 
 the softfloat functions out of compiler-rt (where they are coverted by libc's
 softfloat) and prefer libc's softfloat for all supported archs.
 
 It would make softfloat maintence centralized and more managable.
 
 I've cut the gcc softfloat funcs out of the default m68ksf builds so that
 maintanence falls on us in libc and no need to upstream to gcc when we find
 bugs in soft-float.
 
 If all softfloat build (gcc or clang) use libc's softfloat I beleive things will
 get a lot easier.
 
 
 Anyway that's my 2 cents.
 
 
 Best regards,
 
 Nat
 


Home | Main Index | Thread Index | Old Index