aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2019-02-12 09:51:31 +0100
committerAndres Gomez <[email protected]>2019-09-17 23:39:18 +0300
commit153c714f2af932e7681627a4c7c9f3521d686100 (patch)
treeeecbeee8580236bb0872b3ad3257458408edf823 /meson.build
parentf7d73db353e5b6416c98a8c05c585ea79b3eada2 (diff)
util: add softfloat functions to operate with doubles and floats
Implemented fadd, fsub, fmul and ffma for doubles and ffma for floats, rounding to zero, using a modified implementation from Berkely Softfloat 3e Library. Their implementation correctness has been checked with the Berkeley TestFloat Release 3e tool for x86_64. v2: - Reuse util_last_bit64() in _mesa_count_leading_zeros64() implementation (Connor). v3: - Add a specific ffma for floats version (Connor). - Implement the ffma for doubles version (Andres). - Lots of fixes in fadd, fsub and fmul (Andres). - Improved documentation (Andres). v4: - Added f64 -> f32 conversion function (Andres). - Added f32 -> f16 RTZ conversion function (Andres). Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Signed-off-by: Andres Gomez <[email protected]> Tested-by: Andres Gomez <[email protected]> Acked-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions