4 ms·
(I guess DarkShikari's comment is nested too deeply for me to reply directly.) In my (admittedly limited) experience [1], the compiler has actually done pretty
by _ihaque 13y ago
(I guess DarkShikari's comment is nested too deeply for me to reply directly.)
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 https://github.com/simtk/IRMSD
[2] https://github.com/SimTk/IRMSD/blob/master/python/IRMSD/theobald_rmsd.c#L331 https://github.com/SimTk/IRMSD/blob/master/python/IRMSD/theo...
- jamesaguilar 13y agoYou can always reply directly by clicking on the link above a person's comment. Thanks for the interesting discussion on this one guys.
- _ihaque 13y agoThanks for the pointer! That's what I get for lurking for too long.