|
|
[also](https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(j:1,lang:c%2B%2B,source:'%23include%3Cimmintrin.h%3E%0A%0A%23if+__INTEL_COMPILER%0A%23include%3Cdvec.h%3E%0Adouble+lib(F64vec8+x)%0A%7B%0A++++return+add_horizontal(x)%3B%0A%7D%0A%23endif%0A%0Adouble+intrisic(__m512d+x)%0A%7B%0A++return+_mm512_reduce_add_pd(x)%3B%0A%7D%0A'),l:'5',n:'0',o:'C%2B%2B+source+%231',t:'0')),k:27.937336814621414,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:icc18,filters:(b:'0',binary:'1',commentOnly:'0',demangle:'0',directives:'0',execute:'1',intel:'0',trim:'0'),lang:c%2B%2B,libs:!(),options:'-O3+-xskylake-avx512',source:1),l:'5',n:'0',o:'x86-64+icc+18.0.0+(Editor+%231,+Compiler+%231)+C%2B%2B',t:'0')),k:22.062663185378593,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:g73,filters:(b:'0',binary:'1',commentOnly:'0',demangle:'0',directives:'0',execute:'1',intel:'0',trim:'0'),lang:c%2B%2B,libs:!(),options:'-O3+-march%3Dskylake-avx512',source:1),l:'5',n:'0',o:'x86-64+gcc+7.3+(Editor+%231,+Compiler+%232)+C%2B%2B',t:'0')),k:24.999999999999996,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:clang600,filters:(b:'0',binary:'1',commentOnly:'0',demangle:'0',directives:'0',execute:'1',intel:'0',trim:'0'),lang:c%2B%2B,libs:!(),options:'-O3+-march%3Dskylake-avx512',source:1),l:'5',n:'0',o:'x86-64+clang+6.0.0+(Editor+%231,+Compiler+%233)+C%2B%2B',t:'0')),k:25,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',n:'0',o:'',t:'0')),version:4)
|