This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC] [PATCH, i386] Adjust unroll factor for bdver3 and bdver4


Hi,

Steamroller processors contain a loop predictor and a loop buffer, which may make unrolling small loops less important.
When unrolling small loops for steamroller, making the unrolled loop fit in the loop buffer should be a priority.

This patch uses a heuristic approach (number of memory references) to decide the unrolling factor for small loops.
This patch has some noise in SPEC 2006 results. 

Bootstrapping passes.

I would like to know your comments before committing.

Regards
Ganesh

Attachment: loop_unroll_bdver3.patch
Description: loop_unroll_bdver3.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]