[PATCH] [BZ #19654] Added tests for *_finite aliases from libmvec

Andrew Senkevich andrew.n.senkevich@gmail.com
Fri Jun 3 17:30:00 GMT 2016


2016-05-18 2:06 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> On Sat, 20 Feb 2016, Andrew Senkevich wrote:
>
>> +  if (log_res[0] != 0.0) abort ();
>> +  if (exp_res[0] != 1.0) abort ();
>> +  if (pow_res[0] != 1.0) abort ();
>
> Aborting is not the right way for a test to report an error.  Rather, the
> function should return an error status to its caller (ending up with
> do_test returning 1 on error, 0 on success - and ideally 77 for
> UNSUPPORTED tests, which would be those where CHECK_ARCH_EXT fails).

Please find attached new version.
Here also AVX512 versions are untested if GCC version is less than 6.1
(because earlier 2 calls of AVX2 version generated).


--
WBR,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz19654_new.patch
Type: application/octet-stream
Size: 18885 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160603/0c7482e8/attachment.obj>


More information about the Libc-alpha mailing list