[libc-commits] [PATCH] D152873: [libc] Enable hermetic floating point tests again.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 13 17:45:11 PDT 2023


lntue created this revision.
lntue added reviewers: michaelrj, sivachandra, jhuber6.
Herald added projects: libc-project, All.
lntue requested review of this revision.

Fixing an issue with LLVM libc's fenv.h defined rounding mode macros
differently from system libc, making get_round() return different values from
fegetround().  This allows us to re-enable hermatic floating point tests in
https://reviews.llvm.org/D151123 and reverting https://reviews.llvm.org/D152742.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152873

Files:
  libc/include/llvm-libc-macros/fenv-macros.h
  libc/test/UnitTest/CMakeLists.txt
  libc/test/UnitTest/RoundingModeUtils.cpp
  libc/test/src/CMakeLists.txt
  libc/test/src/__support/FPUtil/CMakeLists.txt
  libc/test/src/fenv/CMakeLists.txt
  utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152873.531125.patch
Type: text/x-patch
Size: 5494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230614/9329d70a/attachment.bin>


More information about the libc-commits mailing list