[libc-commits] [libc] 10a3e91 - [libc] Fix forward arm32 buildbot (#79151)

via libc-commits libc-commits at lists.llvm.org
Tue Jan 23 07:14:09 PST 2024


Author: Guillaume Chatelet
Date: 2024-01-23T16:14:04+01:00
New Revision: 10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9

URL: https://github.com/llvm/llvm-project/commit/10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9
DIFF: https://github.com/llvm/llvm-project/commit/10a3e9138ec9fd9f3f563bb1b6e014f4e3d4ebc9.diff

LOG: [libc] Fix forward arm32 buildbot (#79151)

Fix forward #79128

Added: 
    

Modified: 
    libc/src/__support/FPUtil/arm/FEnvImpl.h

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/FPUtil/arm/FEnvImpl.h b/libc/src/__support/FPUtil/arm/FEnvImpl.h
index 1a89de50b6b6048..ac4673cf20f6323 100644
--- a/libc/src/__support/FPUtil/arm/FEnvImpl.h
+++ b/libc/src/__support/FPUtil/arm/FEnvImpl.h
@@ -135,8 +135,8 @@ LIBC_INLINE int set_except(int excepts) {
 LIBC_INLINE int raise_except(int excepts) {
   float zero = 0.0f;
   float one = 1.0f;
-  float large_value = FPBits<float>::max_normal();
-  float small_value = FPBits<float>::min_normal();
+  float large_value = FPBits<float>::max_normal().get_val();
+  float small_value = FPBits<float>::min_normal().get_val();
   auto divfunc = [](float a, float b) {
     __asm__ __volatile__("flds  s0, %0\n\t"
                          "flds  s1, %1\n\t"


        


More information about the libc-commits mailing list