[clang] Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (PR #99691)

2024-07-26 Thread Robin Charles Gilbert via cfe-commits
robincharlesgilbert wrote: To be fair, regarding MSVC, it might be more than just a chicken and the egg problem. It is sometimes in the best interests of Microsoft to make it as painful as possible for their customers to port their code onto other platforms, or to use standard libraries which

[clang] Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (PR #99691)

2024-07-24 Thread Robin Charles Gilbert via cfe-commits
robincharlesgilbert wrote: > Aren't the latest versions of Intel's compiler, `icx`, based on LLVM? Correct. However, the libraries (e.g. math libraries) were all ported from `icl` to `icx`. Getting the math libraries of `icl` to compile with `icx` was among the last things I did for the compan

[clang] Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (PR #99691)

2024-07-24 Thread Robin Charles Gilbert via cfe-commits
robincharlesgilbert wrote: > How can we get MSVC to add the new name too? Regarding the Intel compiler, which is (unlike the LLVM project but like MSVC) proprietary, all such modifications are (by far) prompted by customer requests. These requests are communicated either directly to the engine

[clang] Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (PR #99691)

2024-07-23 Thread Robin Charles Gilbert via cfe-commits
robincharlesgilbert wrote: Former dev for the math libraries of the Intel compiler here. It is true that the name _MM_FROUND_TO_NEAREST_INT is quite old. For instance (since I see an Intel document quoted here for which I may or may not have been one of the authors, and that "all common compil