Skip to content

Draft: util: add half-float optimization to RISC-V

David Heidelberg requested to merge dh/mesa:241104-riscv-fast_half_float into main

What does this MR do and why?

RVA22 standard compatible hardware is shipped this year and extension for handling single half is part of it.

Sadly, we cannot reliably auto-detect, but there is change that distributions will start switching to RVA22, or 23 soon.

Implemented auto-detection, so even without system compiled with RVA22+ profile can benefit.

util: add half-float optimization to RISC-V

Zfhmin is an extension, but mandatory in RVA22 and RVA23 profiles.

Signed-off-by: David Heidelberg <david@ixit.cz>
Edited by David Heidelberg

Merge request reports

Loading