[PATCH] D46662: [X86] condition branches folding for three-way conditional codes
Andrea Di Biagio via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 26 09:44:13 PDT 2018
andreadb added a comment.
In https://reviews.llvm.org/D46662#1246727, @davidxl wrote:
> What is the definition of branch density?
In this context, it is the number of branches per cache line.
(See: "AMD software optimization guide for family 16h processors" - Section 2.7.1.5: "Branch Marker Caching" ).
For Jaguar, L2 BTB entries are consumed when there are more than two branches per cache line.
There is a nice description in Section 2.7.1.2 "Branch Target Buffer".
I hope it helps.
-Andrea
https://reviews.llvm.org/D46662
More information about the llvm-commits
mailing list