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]

Re: Drop generic32 cost model


> 
> I did some experiment with code alignment. I found
> -fno-align-loops -fno-align-functions -fno-align-jumps
> had no negative performance impacts on current
> Intel processors while reducing code sizes by 1-2%.
> Should we use
> 
> {&generic_cost, 0, 0, 0, 0, 0},
> 
> instead?

Good, revisiting alignment rules is on my TODO list.  AMD chips have aligned
decoding windows, so I think they may be more sensitive to jumps near end of
32byte boundary.  Current alignment settings for Buldozer does not make much
sense to me, especially the alignment of functions to 11 byte boundary :) So I
am running some experiments now.

Honza
> 
> Thanks.
> 
> -- 
> H.J.


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