Re:Exploiting Vector Instructions with Generalized Stream Fu...
by Veedrac on Friday December 22, 2017 @05:00PM
(#15991254)
We're talking <10% difference on one particular toy example exclusively on arrays at least ¼MiB large.
Given how similar the code produced is from both compilers (literally just movapd-mulpd-addpd), the only relevant difference seems to be usage of prefetching, which C compilers don't do much because the common wisdom is that it hurts in most scenarios.
Given how similar the code produced is from both compilers (literally just movapd-mulpd-addpd), the only relevant difference seems to be usage of prefetching, which C compilers don't do much because the common wisdom is that it hurts in most scenarios.