[compiler-rt] [compiler-rt][ARM] Optimized mulsf3 and divsf3 (PR #161546)

Simon Tatham via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 2 05:55:54 PDT 2025


================
@@ -422,6 +422,22 @@ set(arm_or_thumb2_base_SOURCES
   ${GENERIC_SOURCES}
 )
 
+option(COMPILER_RT_ARM_OPTIMIZED_FP
+  "On 32-bit Arm, use optimized assembly implementations of FP arithmetic" ON)
----------------
statham-arm wrote:

I've done that, with a "likely" in it to cover the fact that until we've gone through all of the available functions we won't know for sure whether _all_ of them trade off size for speed.

(It's also difficult to judge, since when you compare assembly against C, the C is more likely to vary with compile options, so the answer might turn out to be "in _this_ configuration but not _that_ one".)

https://github.com/llvm/llvm-project/pull/161546


More information about the llvm-commits mailing list