Re: [PATCH 1/5] riscv: Optimize fmaximum_num and fminimum_num

Andreas Schwab <[email protected]> Thu, 06 Aug 2026 12:47:46 +0200
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <[email protected]>
On Aug 06 2026, Julian Zhu wrote:

> Implement the C23 maximumNumber and minimumNumber operations with the RISC-V fmax and fmin instructions for float and double.  These instructions provide the required NaN and signed-zero semantics using the base F and D extensions.

That only works with version 2.2 of the F extension.

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."