[all-commits] [llvm/llvm-project] ddc48f: [libclc] Move native_(exp10|powr|tan) to CLC libra...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Apr 2 09:37:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddc48fefe389789f64713b5924a03fb2b7961ef3
      https://github.com/llvm/llvm-project/commit/ddc48fefe389789f64713b5924a03fb2b7961ef3
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-04-02 (Wed, 02 Apr 2025)

  Changed paths:
    M libclc/CMakeLists.txt
    A libclc/clc/include/clc/math/clc_native_exp10.h
    A libclc/clc/include/clc/math/clc_native_powr.h
    A libclc/clc/include/clc/math/clc_native_tan.h
    M libclc/clc/lib/generic/SOURCES
    A libclc/clc/lib/generic/math/clc_native_exp10.cl
    A libclc/clc/lib/generic/math/clc_native_exp10.inc
    A libclc/clc/lib/generic/math/clc_native_powr.cl
    A libclc/clc/lib/generic/math/clc_native_powr.inc
    A libclc/clc/lib/generic/math/clc_native_tan.cl
    A libclc/clc/lib/generic/math/clc_native_tan.inc
    M libclc/generic/include/clc/math/native_divide.h
    M libclc/generic/include/clc/math/native_powr.h
    M libclc/generic/lib/math/native_exp10.cl
    R libclc/generic/lib/math/native_exp10.inc
    M libclc/generic/lib/math/native_powr.cl
    R libclc/generic/lib/math/native_powr.inc
    M libclc/generic/lib/math/native_tan.cl
    R libclc/generic/lib/math/native_tan.inc

  Log Message:
  -----------
  [libclc] Move native_(exp10|powr|tan) to CLC library (#134080)

These are the three remaining native builtins not yet ported.

There are elementwise versions of exp10 and tan which correspond to the
intrinsics, which may be preferable to the current versions which route
through other native builtins. Those could be changed in a follow-up if
desired.



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