[libcxx-commits] [libcxx] [libc++] Use _Complex for multiplication and division of complex floating point types (PR #83575)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Mar 1 07:05:37 PST 2024


ldionne wrote:

Thanks for picking this up again. Last time, we got hung up on compiler-rt not being available on Windows, which means that we can't use various compiler builtins on that platform. This is a general problem we encounter over and over again, and we need that to be fixed in order to provide a good quality of support on Windows:

- We had to implement `__muloti4` for `<filesystem>` support in libc++ itself because of Windows
- I believe a bunch of the atomic stuff doesn't work as intended on Windows due to the lack of compiler-rt
- This issue with `_Complex`

All in all, I feel that if we claim to support Windows, we must have a working toolchain on that platform, and that includes ensuring that we can use compiler builtins like everywhere else.

I would like to raise that issue again with folks that have interest in Windows support like @mstorsjo and @nico @rnk -- do you folks have an opinion about this and how to move this forward?

https://github.com/llvm/llvm-project/pull/83575


More information about the libcxx-commits mailing list