[Libclc-dev] Implement more math builtins
jan.vesely at rutgers.edu
Wed Mar 25 10:47:32 PDT 2015
I applied patches 1-8 (with 9 already in the tree, and also the ldexp
patch to avoid warnings), and tested (piglit) on my Turks:
acosh LLVM ERROR: Cannot select: REGISTER_LOAD
atanh same failure as acosh
I have posted piglits for the 3 functions that were missing the passing
patches LGTM. The failures are caused by log1p, so I guess the rest is
OK as well, but couldn't really test them.
I cannot test doubles.
PS: ldexp fails too, but i guess that is expected without fp64
On Thu, 2015-03-12 at 20:11 +0000, Tom Stellard wrote:
> This series implements several more math builtins. cos/sin
> patches require an implementation of fract to work correctly
> for doubles.
> I have patches to both implement fract and fix fmin, which fract
> depends on, but I still get failures in the fract and fmin tests
> due to what I think are bugs in the R600/SI compiler.
> Even with those bugs, the sin/cos tests still pass with these
> broken implementations.
> atan2 and atanpi also depend on an ldexp implementation. For testing,
> I just implemented ldexp using the __builtin_amdgpu_ldexp builtin
> and these both passed the tests I have.
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part
More information about the Libclc-dev