[Libclc-dev] [PATCH 00/29] Consolidate unary declaration

Aaron Watry via Libclc-dev libclc-dev at lists.llvm.org
Thu Nov 2 12:01:38 PDT 2017


On Thu, Nov 2, 2017 at 11:09 AM, Jan Vesely via Libclc-dev
<libclc-dev at lists.llvm.org> wrote:
> This series consolidates all unary math functions to use unary_decl.inc
> instead of custom .inc files per function.
> No changes in piglit run on carrizo

This series is:
Reviewed-By: Aaron Watry <awatry at gmail.com>

Thanks for the clean-up effort Jan.

>
> Jan
>
> Jan Vesely (29):
>   acos: Use unary_decl instead of custom inc file
>   acosh: Use unary_decl instead of custom inc file
>   acospi: Use unary_decl instead of custom inc file
>   asin: Use unary_decl instead of custom inc file
>   asinh: Use unary_dec instead of custom inc file
>   asinpi Use unary_decl instead of custom inc file
>   atan: Use unary_decl instead of custom inc file
>   atanh: Use unary_decl instead of custom inc file
>   atanpi: Use unary_decl instead of custom inc file
>   cbrt: Use unary_decl instead of custom inc file
>   cos: Use unary_decl instead of custom inc file
>   cosh: Use unary_decl instead of custom inc file
>   cospi: Use unary_decl instead of custom inc file
>   exp2: Use unary_decl instead of custom inc file
>   lgamma: Use unary_decl instead of custom inc file
>   log1p: Use unary_decl instead of custom inc file
>   log2: Use unary_decl instead of custom inc file
>   logb: Use unary_decl instead of custom inc file
>   log: Use unary_decl instead of custom inc file
>   native_log10: Use unary_decl instead of custom inc file
>   native_log2: Use unary_decl instead of custom inc file
>   native_log: Use unary_decl instead of custom inc file
>   sin: Use unary_decl instead of custom inc file
>   sinh: Use unary_decl instead of custom inc file
>   sinpi: Use unary_decl instead of custom inc file
>   sqrt: Use unary_decl instead of custom inc file
>   tan: Use unary_decl instead of custom inc file
>   tanh: Use unary_decl instead of custom inc file
>   tgamma: Use unary_decl instead of custom inc file
>
>  generic/include/clc/math/acos.h           |  7 ++++++-
>  generic/include/clc/math/acos.inc         |  1 -
>  generic/include/clc/math/acosh.h          |  7 ++++++-
>  generic/include/clc/math/acosh.inc        | 23 -----------------------
>  generic/include/clc/math/acospi.h         |  7 ++++++-
>  generic/include/clc/math/acospi.inc       | 23 -----------------------
>  generic/include/clc/math/asin.h           |  7 ++++++-
>  generic/include/clc/math/asin.inc         |  1 -
>  generic/include/clc/math/asinh.h          |  7 ++++++-
>  generic/include/clc/math/asinh.inc        | 23 -----------------------
>  generic/include/clc/math/asinpi.h         |  7 ++++++-
>  generic/include/clc/math/asinpi.inc       | 23 -----------------------
>  generic/include/clc/math/atan.h           |  7 ++++++-
>  generic/include/clc/math/atan.inc         | 23 -----------------------
>  generic/include/clc/math/atanh.h          |  7 ++++++-
>  generic/include/clc/math/atanh.inc        | 23 -----------------------
>  generic/include/clc/math/atanpi.h         |  7 ++++++-
>  generic/include/clc/math/atanpi.inc       | 23 -----------------------
>  generic/include/clc/math/cbrt.h           |  7 ++++++-
>  generic/include/clc/math/cbrt.inc         | 23 -----------------------
>  generic/include/clc/math/cos.h            |  6 +++++-
>  generic/include/clc/math/cos.inc          |  1 -
>  generic/include/clc/math/cosh.h           |  7 ++++++-
>  generic/include/clc/math/cosh.inc         | 23 -----------------------
>  generic/include/clc/math/cospi.h          |  6 +++++-
>  generic/include/clc/math/cospi.inc        |  1 -
>  generic/include/clc/math/exp2.h           |  7 ++++++-
>  generic/include/clc/math/exp2.inc         | 23 -----------------------
>  generic/include/clc/math/lgamma.h         |  7 ++++++-
>  generic/include/clc/math/lgamma.inc       |  1 -
>  generic/include/clc/math/log.h            |  7 ++++++-
>  generic/include/clc/math/log.inc          | 23 -----------------------
>  generic/include/clc/math/log1p.h          |  7 ++++++-
>  generic/include/clc/math/log1p.inc        | 23 -----------------------
>  generic/include/clc/math/log2.h           |  7 ++++++-
>  generic/include/clc/math/log2.inc         | 23 -----------------------
>  generic/include/clc/math/logb.h           |  7 ++++++-
>  generic/include/clc/math/logb.inc         |  1 -
>  generic/include/clc/math/native_log.h     |  8 ++++++--
>  generic/include/clc/math/native_log.inc   | 23 -----------------------
>  generic/include/clc/math/native_log10.h   |  8 ++++++--
>  generic/include/clc/math/native_log10.inc |  1 -
>  generic/include/clc/math/native_log2.h    |  8 ++++++--
>  generic/include/clc/math/native_log2.inc  | 23 -----------------------
>  generic/include/clc/math/sin.h            |  6 +++++-
>  generic/include/clc/math/sin.inc          |  1 -
>  generic/include/clc/math/sinh.h           |  7 ++++++-
>  generic/include/clc/math/sinh.inc         | 23 -----------------------
>  generic/include/clc/math/sinpi.h          |  6 +++++-
>  generic/include/clc/math/sinpi.inc        |  1 -
>  generic/include/clc/math/sqrt.h           |  6 +++++-
>  generic/include/clc/math/sqrt.inc         |  1 -
>  generic/include/clc/math/tan.h            |  7 ++++++-
>  generic/include/clc/math/tan.inc          |  1 -
>  generic/include/clc/math/tanh.h           |  7 ++++++-
>  generic/include/clc/math/tanh.inc         | 23 -----------------------
>  generic/include/clc/math/tgamma.h         |  6 +++++-
>  generic/include/clc/math/tgamma.inc       |  1 -
>  58 files changed, 168 insertions(+), 435 deletions(-)
>  delete mode 100644 generic/include/clc/math/acos.inc
>  delete mode 100644 generic/include/clc/math/acosh.inc
>  delete mode 100644 generic/include/clc/math/acospi.inc
>  delete mode 100644 generic/include/clc/math/asin.inc
>  delete mode 100644 generic/include/clc/math/asinh.inc
>  delete mode 100644 generic/include/clc/math/asinpi.inc
>  delete mode 100644 generic/include/clc/math/atan.inc
>  delete mode 100644 generic/include/clc/math/atanh.inc
>  delete mode 100644 generic/include/clc/math/atanpi.inc
>  delete mode 100644 generic/include/clc/math/cbrt.inc
>  delete mode 100644 generic/include/clc/math/cos.inc
>  delete mode 100644 generic/include/clc/math/cosh.inc
>  delete mode 100644 generic/include/clc/math/cospi.inc
>  delete mode 100644 generic/include/clc/math/exp2.inc
>  delete mode 100644 generic/include/clc/math/lgamma.inc
>  delete mode 100644 generic/include/clc/math/log.inc
>  delete mode 100644 generic/include/clc/math/log1p.inc
>  delete mode 100644 generic/include/clc/math/log2.inc
>  delete mode 100644 generic/include/clc/math/logb.inc
>  delete mode 100644 generic/include/clc/math/native_log.inc
>  delete mode 100644 generic/include/clc/math/native_log10.inc
>  delete mode 100644 generic/include/clc/math/native_log2.inc
>  delete mode 100644 generic/include/clc/math/sin.inc
>  delete mode 100644 generic/include/clc/math/sinh.inc
>  delete mode 100644 generic/include/clc/math/sinpi.inc
>  delete mode 100644 generic/include/clc/math/sqrt.inc
>  delete mode 100644 generic/include/clc/math/tan.inc
>  delete mode 100644 generic/include/clc/math/tanh.inc
>  delete mode 100644 generic/include/clc/math/tgamma.inc
>
> --
> 2.13.6
>
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/libclc-dev


More information about the Libclc-dev mailing list