Re:Introduction to AVX2 optimizations in x264
by jamesaguilar on Tuesday April 23, 2013 @10:01PM
(#5599215)
You can always reply directly by clicking on the link above a person's comment. Thanks for the interesting discussion on this one guys.
In my (admittedly limited) experience [1], the compiler has actually done pretty decently at optimizing register allocation in intrinsic-heavy loops. I wrote out the assembly loop in [2] with manual allocation into all 16 XMMs and then noticed the compiler managed to optimize 1 of them out.
[1] https://github.com/simtk/IRMSD
[2] https://github.com/SimTk/IRMSD/blob/master/python/IRMSD/theo...