From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 062E12676F for ; Wed, 26 Jun 2024 03:49:44 +0200 (CEST) Received: (qmail 25847 invoked by uid 550); 26 Jun 2024 01:49:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 25815 invoked from network); 26 Jun 2024 01:49:37 -0000 Date: Wed, 26 Jun 2024 01:49:09 +0000 (UTC) From: Thorsten Glaser X-X-Sender: tg@herc.mirbsd.org To: musl@lists.openwall.com In-Reply-To: Message-ID: References: <31679941-f6c2-64fa-7a8d-6b6f7112c31@esi.com.au> <20240618122357.GL3766212@port70.net> <67395818-5d95-f74f-5c50-435fc157dda@esi.com.au> <20240619185837.GM3766212@port70.net> <20240623183320.GF10433@brightrain.aerifal.cx> <19361e3c-8d13-af73-7896-bc4665e9788f@esi.com.au> Content-Language: de-Zsym-DE-1901-u-em-text-rg-denw-tz-utc, en-Zsym-GB-u-cu-eur-em-text-fw-mon-hc-h23-ms-metric-mu-celsius-rg-denw-tz-utc-va-posix MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Subject: Re: [musl] roundf() (and round(), and ...) enh dixit: >bionic actually uses __builtin_fabs() [and friends] to _implement_ >these functions, should someone be foolish enough to be using a That=E2=80=99ll be fun should the compiler decide to insert a call to fabs() at the call site instead, which it=E2=80=99d be allowed to do =E2=98= =BA Stories of compilers doing that abound=E2=80=A6 IIRC it was the compiler recognising the implementation pattern of memcpy and replacing that by a call to memcpy=E2=80=A6 in some libc=E2=80=99s that was not caref= ul to use -ffreestanding memcpy implementation. bye, //mirabilos --=20 15:41=E2=8E=9C Somebody write a testsuite for hello= world :-)