Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Any idea why this file was listed under x86_ARCH_SOURCES? But only seems to active for ARCH_PPC?
I think the reason we noticed this being missing under wasm is because we (somewhat unusually) use fp128 for long double
compiler-rt/lib/builtins/CMakeLists.txt | ||
---|---|---|
147 | powixf2.c is, in fact, x86-specific. At first glance it might not look like that, but the "x" in the name powixf2 refers exclusively to x86 long double. | |
compiler-rt/lib/builtins/powitf2.c | ||
15 | Please change this so it matches the other 128 long double routines: it should include fp_lib.h, it should use the condition #if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT), and it should use fp_t instead of explicitly writing out "long double". |
powixf2.c is, in fact, x86-specific. At first glance it might not look like that, but the "x" in the name powixf2 refers exclusively to x86 long double.