Re: [PATCH] i386: move alignment defaults to processor_costs.

2018-09-14 Thread Jeff Law
On 9/12/18 6:44 AM, Martin Liška wrote: > Hi. > > Honza asked me to do the follow-up. It moves definition of alignments > related to a CPU into *_cost scructures. Advantage of it is that there's > no redundant definition for CPUs that have equal cost. > > I verified that it produces same output f

[PATCH] i386: move alignment defaults to processor_costs.

2018-09-12 Thread Martin Liška
Hi. Honza asked me to do the follow-up. It moves definition of alignments related to a CPU into *_cost scructures. Advantage of it is that there's no redundant definition for CPUs that have equal cost. I verified that it produces same output for all valid -march options: gcc --help=common -Q -O2