llvm-project/mlir/test/mlir-cpu-runner
Ahmed S. Taei 7e2d672a67 Add polynomial approximation for trigonometric sine and cosine functions
The approximation relays on range reduced version y \in [0, pi/2]. An input x will have
the property that sin(x) = sin(y), -sin(y), cos(y), -cos(y) depends on which quadrable x
is in, where sin(y) and cos(y) are approximated with 5th degree polynomial (of x^2).
As a result a single pattern can be used to compute approximation for both sine and cosine.

Reviewed By: ezhulenev

Differential Revision: https://reviews.llvm.org/D104582
2021-06-21 13:00:33 -07:00
..
async-error.mlir [mlir] Async: Add error propagation support to async groups 2021-05-27 09:35:11 -07:00
async-group.mlir [mlir] Async: add automatic reference counting at async.runtime operations level 2021-04-12 18:54:55 -07:00
async-value.mlir [mlir] Async: add automatic reference counting at async.runtime operations level 2021-04-12 18:54:55 -07:00
async.mlir [mlir] Async: add automatic reference counting at async.runtime operations level 2021-04-12 18:54:55 -07:00
bare_ptr_call_conv.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
global_memref.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
lit.local.cfg Fix `check-mlir` target when the host target isn't configured 2020-06-19 06:36:20 +00:00
math_polynomial_approx.mlir Add polynomial approximation for trigonometric sine and cosine functions 2021-06-21 13:00:33 -07:00
memref_reinterpret_cast.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
memref_reshape.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
sgemm_naive_codegen.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
simple.mlir [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00
unranked_memref.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
utils.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00