About

The Zfa extension provides several new instructions to improve the performance of floating point code for RISC-V.   Of particular importance is the fli instruction for loading predefined constants into FP registers, but there are also fround instructions and additional comparisons/min/max instructions.  The fli instructions will typically replace a load from the constant pool, so they're faster, smaller and reduce the data footprint of FP code as well.


This work appears to be complete for LLVM.


Dependencies


Status

Development

COMPLETE


Development Timeline2H2023
Upstreaming

COMPLETE


Upstream Version

LLVM 17


Fall 2023


Contacts

Jeff Law (Ventana)


Dependencies


Updates


 

  • Upstream LLVM has integrated Zfa support

  • Project reported as priority for 2H23