/
CT_01_004 -- Zfa Support (LLVM)

CT_01_004 -- Zfa Support (LLVM)

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 


Related content

CT_00_006 -- Zfa Support (GCC)
CT_00_006 -- Zfa Support (GCC)
More like this
Project RP009_Toolchain - LLVM Spec Optimization
Project RP009_Toolchain - LLVM Spec Optimization
More like this
LK_01_032 - Vector extension discovery using HWPROBE
LK_01_032 - Vector extension discovery using HWPROBE
More like this
CT_00_034 -- Add support for __bf16
CT_00_034 -- Add support for __bf16
More like this
CT_00_025 -- Zicond with if-conversion improvements (GCC)
CT_00_025 -- Zicond with if-conversion improvements (GCC)
More like this
CT_00_027 -- Improve ceil/round code generation in GCC
CT_00_027 -- Improve ceil/round code generation in GCC
More like this