public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCHv2/AARCH64] Remove index from AARCH64_EXTRA_TUNING_OPTION
@ 2015-08-19 16:03 Andrew Pinski
  2015-08-19 16:14 ` James Greenhalgh
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Pinski @ 2015-08-19 16:03 UTC (permalink / raw)
  To: GCC Patches, James Greenhalgh

Just like the patch for AARCH64_FUSION_PAIR, this is a patch for
AARCH64_EXTRA_TUNING_OPTION.  Note I tested this patch on top of the
patch for AARCH64_EXTRA_TUNING_OPTION.

Changes in v2:
Remove the hack for AARCH64_EXTRA_TUNE_ALL.

    Remove index from AARCH64_EXTRA_TUNING_OPTION

    Instead of doing an explict index in aarch64-tuning-flags.def, we
    should have an enum which does the index instead.  This allows
    you to add/remove them without worrying about the order being
    correct and having holes or worry about merge conficts.

    OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions.

    ChangeLog:
    * config/aarch64/aarch64-tuning-flags.def: Remove all index to
AARCH64_EXTRA_TUNING_OPTION.
    * config/aarch64/aarch64-protos.h (extra_tuning_flags_index): New enum.
    (aarch64_extra_tuning_flags): Base the shifted value on the index instead
    of the argument to AARCH64_EXTRA_TUNING_OPTION.
    * config/aarch64/aarch64.c: Remove the last argument to
AARCH64_EXTRA_TUNING_OPTION..

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-22  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 16:03 [PATCHv2/AARCH64] Remove index from AARCH64_EXTRA_TUNING_OPTION Andrew Pinski
2015-08-19 16:14 ` James Greenhalgh
2015-08-22 10:36   ` Andrew Pinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).