[RFC] How to add vector math functions to Glibc

Andrew Senkevich andrew.n.senkevich@gmail.com
Thu Oct 23 19:23:00 GMT 2014


Hi, Joseph,

attach contains current situation in my branch. I have generated
additional header with series of definitions, now that header included
in libm-test.inc but also only generation can be left in some script.
Currently information from math.h is used for selection what test to
run in vector case, but it required according changes in
math-vector.h. Added tests for cos and cosf (float with no vector
function body, just a stub now).
Test suite passed with no fails on math tests on non AVX2 target, on
AVX2 target also (but math/test-float-vlen8 must fail so it is
strange, will look).
Let me know if such changes ok in general.


--
WBR,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmvec_23.10.patch
Type: application/octet-stream
Size: 99876 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141023/944cb506/attachment.obj>


More information about the Libc-alpha mailing list