[llvm-commits] [patch][rfc] How to handle static constructors on linux
Cary Coutant
ccoutant at google.com
Mon Jun 18 11:58:49 PDT 2012
> But I am still missing something, why is the performance so different?
> Code layout putting the constructors' body in the reverse order they
> are called?
Yes, as I understand it. Cache and TLB prefetching works better when
code executes from lower to higher addresses than when executing from
higher to lower.
-cary
More information about the llvm-commits
mailing list