[all-commits] [llvm/llvm-project] 9474dd: [libc] Fix feclearexcept for x86_64.

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Jun 30 10:28:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9474ddc3ac8637596f87dd796864353317622672
      https://github.com/llvm/llvm-project/commit/9474ddc3ac8637596f87dd796864353317622672
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M libc/test/src/fenv/CMakeLists.txt
    A libc/test/src/fenv/feclearexcept_test.cpp
    M libc/utils/FPUtil/x86_64/FEnv.h

  Log Message:
  -----------
  [libc] Fix feclearexcept for x86_64.

Previously, feclearexcept cleared all exceptions irrespective of the
argument. This change brings it in line with the aarch64 flavors wherein
only those exceptions listed in the argument will be cleared.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D105081




More information about the All-commits mailing list