[PATCH 2/14] [x86_64] Vector math functions (added vector cos tests)

Joseph Myers joseph@codesourcery.com
Fri May 22 18:02:00 GMT 2015


On Fri, 22 May 2015, Andrew Senkevich wrote:

> 2015-05-22 18:54 GMT+03:00 Joseph Myers <joseph@codesourcery.com>:
> > Why does vlen8 need a separate -wrappers file when others don't?
> 
> Because only for test built with -mavx512f some avx512 instruction was
> emitted before architecture check.
> Is it needed split AVX2 test to prevent changes that may appear in the future?

That suggests to me that *all* these tests should be split that way - the 
main program built without special options, the calls to the functions 
built with the special options.  That would be the safest 
architecture-independent approach - have the separate wrappers file in 
every case, even if some cases don't actually need it in your x86 tests 
right now.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list