Issue 133517
Summary [libc][math] Optimize fputil::cast for targets with fast half precision conversion
Labels libc
Assignees
Reporter meltq
    `fputil::cast` lacks specialization for targets that have fast half precision to single precision conversions. This leads to the cast being emulated when it could be done using the much faster `static_cast`.  This was observed to cause a slow down, during the performance testing of the `hypotf16` function being introduced [here](https://github.com/llvm/llvm-project/pull/131991).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to