[PATCH] D92080: [Clang] Mutate long-double math builtins into f128 under IEEE-quad

Qiu Chaofan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 19:31:03 PST 2020


qiucf added a comment.

In D92080#2416625 <https://reviews.llvm.org/D92080#2416625>, @craig.topper wrote:

> gcc calls the *l version with -mlong-double-128 on x86. Should we match gcc here?

Ah, yes, so this should be PPC-only change.

But I see under x86 `-mlong-double-128`, std functions (`printf/sqrtl/...`) can't provide correct results (seems they're just for fp80). Is this expected?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92080



More information about the cfe-commits mailing list