Le 04/09/2022 à 18:30, FX via Fortran a écrit :
Hi,
The IEEE_MODES_TYPE type and the two functions that get and set it were added
in Fortran 2018. They can be implemented using the already existing
target-specific functions. A future optimization could, on some targets,
set/get all modes through one or two instructions only, but that would need a
new set of functions in all config/fpu-* files.
This was regtested on aarch64-darwin, which does not support underflow modes,
so I will further test on x86_64-linux when I finish travelling in a couple of
days.
OK to commit?
Looks good, thanks.