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] |
Hi, On ThunderX 2, the logical shifts that are part of the address cause a 1 cycle extra and this is not modeled correctly. For induction variables we don't want to do the shift. When I change the cost for the shift of the addresses, I get a 12% improvement on HMMER; all over benchmarks in SPEC CPU 2006 were neutral. OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions. Thanks, Andrew Pinski ChangeLog: * config/aarch64/aarch64.c (thunderx2t99_addrcost_table): Improve cost table.
Attachment:
improve-t2addresscost.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |