[libc-commits] [PATCH] D106105: [libc] Fix typos in x86_64/FEnv.h

Roland McGrath via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jul 15 15:21:27 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8f053eadbe27: [libc] Fix typos in x86_64/FEnv.h (authored by mcgrathr).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106105/new/

https://reviews.llvm.org/D106105

Files:
  libc/utils/FPUtil/x86_64/FEnv.h


Index: libc/utils/FPUtil/x86_64/FEnv.h
===================================================================
--- libc/utils/FPUtil/x86_64/FEnv.h
+++ libc/utils/FPUtil/x86_64/FEnv.h
@@ -66,7 +66,7 @@
   // bit flags in the control registers.
   return (excepts & FE_INVALID ? ExceptionFlags::Invalid : 0) |
 #ifdef __FE_DENORM
-         (excepts & __FE_DENORM ? ExceptionFalgs::Denormal : 0) |
+         (excepts & __FE_DENORM ? ExceptionFlags::Denormal : 0) |
 #endif // __FE_DENORM
          (excepts & FE_DIVBYZERO ? ExceptionFlags::DivByZero : 0) |
          (excepts & FE_OVERFLOW ? ExceptionFlags::Overflow : 0) |
@@ -77,7 +77,7 @@
 static inline int exceptionStatusToMacro(uint16_t status) {
   return (status & ExceptionFlags::Invalid ? FE_INVALID : 0) |
 #ifdef __FE_DENORM
-         (status & ExceptionFalgs::Denormal ? __FE_DENORM : 0) |
+         (status & ExceptionFlags::Denormal ? __FE_DENORM : 0) |
 #endif // __FE_DENORM
          (status & ExceptionFlags::DivByZero ? FE_DIVBYZERO : 0) |
          (status & ExceptionFlags::Overflow ? FE_OVERFLOW : 0) |


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106105.359147.patch
Type: text/x-patch
Size: 1069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210715/82d3c69e/attachment-0001.bin>


More information about the libc-commits mailing list