[libc-commits] [libc] 9122d19 - Revert "[libc] Fix forward arm32 buildbot" (#79201)

via libc-commits libc-commits at lists.llvm.org
Tue Jan 23 12:15:26 PST 2024


Author: Roland McGrath
Date: 2024-01-23T12:15:22-08:00
New Revision: 9122d19de4a237ededfd25c120bcb6e5efb22b1c

URL: https://github.com/llvm/llvm-project/commit/9122d19de4a237ededfd25c120bcb6e5efb22b1c
DIFF: https://github.com/llvm/llvm-project/commit/9122d19de4a237ededfd25c120bcb6e5efb22b1c.diff

LOG: Revert "[libc] Fix forward arm32 buildbot" (#79201)

Reverts llvm/llvm-project#79151, necessary to revert #79128, which broke
all production builds and landed without review.

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 ac4673cf20f6323..1a89de50b6b6048 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().get_val();
-  float small_value = FPBits<float>::min_normal().get_val();
+  float large_value = FPBits<float>::max_normal();
+  float small_value = FPBits<float>::min_normal();
   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