I have just committed a change to the pocl/0.8 branch that corrects (and
simplifies) the implementation of isequal and similar functions, and add
test cases for some of them.

This was prompted by <
http://bazaar.launchpad.net/~yeconomou/pocl/pocl/revision/748>, but I
implemented it differently: since isequal(a,b) is equivalent to a==b, there
is no need to define a fake builtin; one can just
use DEFINE_EXPR_J_VV(isequal, a==b) and leave the remainder to clang.

In the course of this, I also found and corrected an error in vecmathlib --
isnan was implemented wrong; I had misunderstood the definition of
the _mm_ucomineq_sd intrinsic.

(Pekka: the current handing of fp-contract in pocl is fine.)

-erik

-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to