[all-commits] [llvm/llvm-project] 3e19ba: [X86][MS] Add 80bit long double support for Windows

Phoebe Wang via All-commits all-commits at lists.llvm.org
Sun Feb 13 21:51:26 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e19ba36fca9fa0b6aba0de2767f26dfd463cb5a
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M clang/lib/Basic/TargetInfo.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/X86/long-double-config-size.c

  Log Message:
  [X86][MS] Add 80bit long double support for Windows

MSVC currently doesn't support 80 bits long double. But ICC does support
it on Windows. Besides, there're also some users asked for this feature.
We can find the discussions from stackoverflow, msdn etc.

Given Clang has already support `-mlong-double-80`, extending it to
support for Windows seems worthwhile.

Reviewed By: rnk, erichkeane

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

More information about the All-commits mailing list