diff options
author | Tue Ly <lntue@google.com> | 2022-08-01 09:57:29 -0400 |
---|---|---|
committer | Tue Ly <lntue@google.com> | 2022-08-05 09:58:01 -0400 |
commit | 131dda9acc6978aba4740d75ca45f411fbabd726 (patch) | |
tree | ca81a0032bb1376efc5760f7dbd48fd87369798b /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 19bb535ed99407c95863807a01bc11e205842070 (diff) | |
download | llvm-131dda9acc6978aba4740d75ca45f411fbabd726.zip llvm-131dda9acc6978aba4740d75ca45f411fbabd726.tar.gz llvm-131dda9acc6978aba4740d75ca45f411fbabd726.tar.bz2 |
[libc] Implement sincosf function correctly rounded to all rounding modes.
Refactor common range reductions and evaluations for sinf, cosf, and
sincosf. Added exhaustive tests for sincosf.
Performance before the patch:
```
System LIBC reciprocal throughput : 30.205
LIBC reciprocal throughput : 30.533
System LIBC latency : 67.961
LIBC latency : 61.564
```
Performance after the patch:
```
System LIBC reciprocal throughput : 30.409
LIBC reciprocal throughput : 20.273
System LIBC latency : 67.527
LIBC latency : 61.959
```
Reviewed By: orex
Differential Revision: https://reviews.llvm.org/D130901
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions