[libcxx-commits] [PATCH] D137513: [libc++] Replace __ppc64__ with __powerpc64__

Daniel Kolesa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 7 10:02:12 PST 2022


q66 added a comment.

how about fixing this properly while at it?

the reason `is_iec559` is false for powerpc is that on glibc, the IBM 128-bit double-double format is not compliant; however, on musl, long double is 64-bit and equal to double, which means the value should be true there

in chimera i have the following patch: https://github.com/chimera-linux/cports/blob/master/main/llvm/patches/0017-libc-treat-long-doubles-as-IEEE754-on-musl-ppc.patch

i am not sure if there is some better way to make this work...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137513



More information about the libcxx-commits mailing list