Re: avx runtime check

2014-05-19 Thread Richard Biener
On Fri, May 16, 2014 at 4:20 PM, Mike Stump wrote: > On May 15, 2014, at 11:52 PM, Richard Biener > wrote: >> On May 16, 2014 4:47:11 AM CEST, Mike Stump wrote: >>> This reorders the avx checks and gates on a target triplet check before >>> compiling any code. >> >> Can you explain why? > > Sur

Re: avx runtime check

2014-05-16 Thread Mike Stump
On May 15, 2014, at 11:52 PM, Richard Biener wrote: > On May 16, 2014 4:47:11 AM CEST, Mike Stump wrote: >> This reorders the avx checks and gates on a target triplet check before >> compiling any code. > > Can you explain why? Sure, because check_avx_hw_available runs [istarget x86_64-*-*] ||

Re: avx runtime check

2014-05-15 Thread Richard Biener
On May 16, 2014 4:47:11 AM CEST, Mike Stump wrote: >This reorders the avx checks and gates on a target triplet check before >compiling any code. Can you explain why? >Ok? > >diff --git a/gcc/testsuite/lib/target-supports.exp >b/gcc/testsuite/lib/target-supports.exp >index 40b5414..103a28a 100644