[all-commits] [llvm/llvm-project] d54ff4: Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintr...

hpkfft.com via All-commits all-commits at lists.llvm.org
Sat Jun 6 05:30:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d54ff4c9b91250b93cf6b05377246fbad9e028ce
      https://github.com/llvm/llvm-project/commit/d54ff4c9b91250b93cf6b05377246fbad9e028ce
  Author: hpkfft.com <paul at hpkfft.com>
  Date:   2026-06-06 (Sat, 06 Jun 2026)

  Changed paths:
    M clang/lib/Headers/avx512fintrin.h

  Log Message:
  -----------
  Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (#99691)

Intrinsics such as `_mm512_add_round_ps` take a rounding mode argument
to specify the floating point rounding mode. This, and similar
instructions, do NOT round their result to an integer. Thus it is
inappropriate for user code to specify the existing
`_MM_FROUND_TO_NEAREST_INT` when desiring to round to the nearest
floating point number. This commit adds a suitable macro definition.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list