[all-commits] [llvm/llvm-project] 137740: [libc] Exclude few unused bits from x86 state for ...

HedGarcia via All-commits all-commits at lists.llvm.org
Wed Jul 21 06:11:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 137740ecedf1ac61ad29e16badf1519d7c211c42
      https://github.com/llvm/llvm-project/commit/137740ecedf1ac61ad29e16badf1519d7c211c42
  Author: Hedin Garca <hedingarcia at google.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M libc/utils/FPUtil/x86_64/FEnv.h

  Log Message:
  -----------
  [libc] Exclude few unused bits from x86 state for Windows

Windows fenv_t does not include the MXCSR register and
the unused bits at the end of the x87 status. So we
exclude them in our struct definitions to make it
easy to read/write the state. getEnv and setEnv
were also excluded to avoid using MXCSR, but a
forthcoming patch will handle these functions.

Reviewed By: sivachandra

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




More information about the All-commits mailing list