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]

[PATCH/AARCH64] Improve cost of arithmetic instructions with shift/extend on ThunderX2T99


Hi,
  This patch is similar to what I did for ThunderX where I increase
the costs of these instructions slightly to point out there is a
slight cost to using them over using the two instructions.

OK?  Bootstrapped and tested on aarch64-linux-gnu with no regressions.
This gave ~2% on SPEC CPU 2006 int.

Thanks,
Andrew Pinski

ChangeLog:
* config/aarch64/aarch64-cost-tables.h (thunderx2t99_extra_costs):
Increment Arith_shift, Arith_shift_reg, Log_shift, Log_shift_reg and
Extend_arith by 1.

Attachment: improve-cost-tx2t99.patch.txt
Description: Text document


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