[all-commits] [llvm/llvm-project] d699d9: [flang][runtime] Support SUM/PRODUCT/DOT_PRODUCT r...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Feb 27 15:59:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d699d9d609a24d80809df15efe47ac539da90e93
      https://github.com/llvm/llvm-project/commit/d699d9d609a24d80809df15efe47ac539da90e93
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M flang/include/flang/Common/float128.h
    M flang/include/flang/Runtime/reduction.h
    M flang/runtime/Float128Math/cabs.cpp
    M flang/runtime/Float128Math/math-entries.h
    M flang/runtime/complex-reduction.c
    M flang/runtime/complex-reduction.h
    M flang/runtime/product.cpp
    M flang/runtime/sum.cpp

  Log Message:
  -----------
  [flang][runtime] Support SUM/PRODUCT/DOT_PRODUCT reductions for REAL(16). (#83169)

The reductions implementations rely on trivial operations that
are supported by the build compiler runtime, so they can be enabled
whenever the build compiler provides 128-bit float support.

std::conj used by DOT_PRODUCT is a template implementation
in most environments, so it should not introduce a dependency
on any 128-bit float support library. I am not goind to
test it in all the build environments before merging.
If it fails for someone, I will deal with it.



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