[libc-commits] [libc] [libc][stdfix] Add abs functions for signed fixed point types. (PR #81823)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Feb 15 12:47:46 PST 2024
================
@@ -7,6 +7,13 @@ def StdcExt : StandardSpec<"stdc_ext"> {
[], // types
[], // enums
[ // functions
+ GuardedFunctionSpec<"abshr", RetValSpec<ShortFractType>, [ArgSpec<ShortFractType>], "LIBC_COMPILER_HAS_FIXED_POINT">,
----------------
michaelrj-google wrote:
given that these are in stdfix.h, would it be reasonable to assume that the compiler has fixed point support?
https://github.com/llvm/llvm-project/pull/81823
More information about the libc-commits
mailing list