[compiler-rt] [compiler-rt] Implement __extendxftf2 and __trunctfxf2 for x86_64 (PR #66918)
Alexander Shaposhnikov via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 3 11:07:34 PDT 2023
================
@@ -20,14 +20,21 @@
typedef float src_t;
typedef uint32_t src_rep_t;
#define SRC_REP_C UINT32_C
-static const int srcSigBits = 23;
+static const int srcBits = sizeof(src_t) * CHAR_BIT;
+static const int srcSigFracBits = 23;
----------------
alexander-shaposhnikov wrote:
It definitely would, but I wanted to apply these changes in multiple phases
(see also the description) (partially to limit the scope of this PR and partially to avoid concurrently editing fp_lib.h (so that multiple PRs could make progress/land independently / a bit easier).
https://github.com/llvm/llvm-project/pull/66918
More information about the llvm-commits
mailing list