llvm with tablegen backend for capstone disassembler
Go to file
Aaron Watry 947bdd059a math: Add tan implementation
Uses the algorithm:
tan(x) = sin(x) / sqrt(1-sin^2(x))

An alternative is:
tan(x) = sin(x) / cos(x)

Which produces more verbose bitcode and longer assembly.

Either way, the generated bitcode seems pretty nasty and a more optimized
but still precise-enough solution is welcome.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 217511
2014-09-10 15:43:35 +00:00
clang clang-format: Add option to allow short case labels on a single line. 2014-09-10 13:11:45 +00:00
clang-tools-extra Moved main() to the clang::tidy namespace, no functional changes. 2014-09-10 11:43:09 +00:00
compiler-rt [asan-assembly-instrumentation] Added end-to-end test for proper stack unwind for functions with inline assembly. 2014-09-10 10:44:35 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc math: Add tan implementation 2014-09-10 15:43:35 +00:00
libcxx PR20546: Fix tests for compare_exchange_weak. 2014-09-06 20:38:25 +00:00
libcxxabi Implement post-review comments for r216730 2014-09-09 20:20:52 +00:00
lld [PECOFF] Add support for bigobj 2014-09-10 12:52:03 +00:00
lldb Fix FreeBSD build after thread changes 2014-09-10 13:38:47 +00:00
llvm [AArch64] Pacify lld buildbot complaining about an unused static function in release build. 2014-09-10 14:24:02 +00:00
openmp Fix a crash that occurred under obscure circumstances during library shutdown 2014-09-03 11:34:33 +00:00
polly [Refactor] Cleanup isl code generation 2014-09-10 14:50:23 +00:00