Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6e3c806-1ce4-2ece-3360-df0a90c777f9@ispras.ru>
Date: Thu, 29 Aug 2024 00:11:03 +0300 (MSK)
From: Alexander Monakov <amonakov@...ras.ru>
To: musl@...ts.openwall.com
cc: Alex Rønne Petersen <alex@...xrp.com>
Subject: Re: [PATCH] configure: prevent compilers from turning a * b
 + c into fma(a, b, c)


On Wed, 28 Aug 2024, Rich Felker wrote:

> I'm not clear on why the -mno-fused-madd would be needed. It should be
> a no-op with -ffp-contract=off unless __builtin_fma were called
> explicitly or something, no?

I think Glibc was applying it as a workaround for old GCC releases where
target backends were doing unrestricted contraction, or -ffp-contract=
option did not exist in the first place.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.