summaryrefslogtreecommitdiff
path: root/backend
AgeCommit message (Collapse)AuthorFilesLines
2017-05-04backend: refine fma to pass cftrander1-1/+201
port from openlibm and refine it to round to even Signed-off-by: rander.wang <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-05-04backend: refine rootn to pass cftrander1-30/+48
do it according to spec, and refine some corner case Signed-off-by: rander.wang <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-05-04backend: refine atan2 to pass cftrander1-37/+29
refine the corner case like inf and +-0 according to spec Signed-off-by: rander.wang <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-05-04backend: refine powr to pass cftrander1-13/+43
add path to all the corner case Signed-off-by: rander.wang <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-05-04backend: refine fract to pass the cftrander2-4/+60
do it as spec and add path to corner case Signed-off-by: rander.wang <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-05-04backend: refine sin|cos|tan pi to pass cftrander1-40/+137
reduce parameter to small range [0, 0.5] Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of geometry functionrander2-0/+125
Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: refine batch file for doublerander4-39/+11
refined batch file to generate vector2,3,4,16 of math function with double typed parameters Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of modfrander4-0/+32
need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add missed functionrander1-0/+1
Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of common functionrander1-0/+30
Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of rsqrtrander2-0/+6
do it by 1/sqrt. need to be refined for performance Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of fmin fmaxrander2-0/+32
do it according to spec Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of exp2 exp10rander2-0/+12
convert them to pow. need to be refined for performance Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of sincosrander4-0/+28
convert it to sin + cos. need to be refined for performance Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of remquorander4-0/+199
cp from fdlibm, need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of fmarander2-0/+6
simulated by mad, need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of tgammarander2-0/+163
modify from lgamma, need refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of hypotrander2-0/+66
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of rootnrander2-0/+42
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of ldexprander2-0/+10
Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of powrrander2-0/+30
convert powr to pow and pass the cft. for powr is the subset of pow, some optimizations can be done later Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of pownrander2-0/+19
convert pown to pow, pass the cft. And also there are some optimizations can be done, do it later Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of powrander2-0/+260
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of remainderrander2-0/+43
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of lgamma_rrander4-0/+664
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of lgammarander2-0/+163
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of erfcrander2-0/+124
cp from fdlibm and refine it Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of erfrander2-0/+115
cp from fdlibm and refine it Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of cbrtrander2-0/+57
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of tanpirander2-0/+6
it is a simple implementation and need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of sinpirander2-0/+50
it is a simple implementation and need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of cospirander2-0/+6
it is a simple implementation and need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of tanhrander2-0/+35
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of tanrander2-0/+128
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of sinhrander2-0/+41
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of sinrander2-0/+29
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of coshrander2-0/+221
Also add double version of exp & expm1, for cosh depends on them cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of cosrander2-0/+409
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of atanhrander2-0/+27
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of atanpi atan2pirander2-0/+12
it is a simple implementation and need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of atan2rander2-0/+86
cp from fdlibm, and need to be refined to pass cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of atanrander2-0/+76
cp from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of asinhrander2-0/+27
cp form fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version asinpirander2-0/+5
need to be refined to pass the cft Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of asinrander2-0/+61
copy from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of acoshrander2-0/+27
copy from fdlibm and pass the cft after refined Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of acospirander2-0/+6
it is a simple implementation, and need refine to pass conformance test Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: add double version of acosrander3-1/+161
copy it from fdlibm and pass the conformance tests after refined the copyright has been declared at the beginning of the file Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>
2017-04-17backend: refine code structure of ocl math functionrander8-1/+991
there are two math function files, ocl1.2 and ocl2.0. the difference is in parameters in some functions. Now mov the common functions to a file to maintain code easily Signed-off-by: rander <rander.wang@intel.com> Tested-by: Yang Rong <rong.r.yang@intel.com>