3 ms·
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 compile
by Veedrac 9y ago
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.