Re: [PATCH 3/3, x86] X86 Silvermont vector cost model tune

2014-04-16 Thread Uros Bizjak
On Wed, Apr 16, 2014 at 4:31 PM, Evgeny Stupachenko wrote: > For the 3d part of the patch there was a misprint in estimated > constant. It should be 1.7 instead of 1.8. > - retval = (retval * 18) / 10; > + retval = (retval * 17) / 10; > > Bootstarp passed. The change is also OK.

Re: [PATCH 3/3, x86] X86 Silvermont vector cost model tune

2014-04-16 Thread Evgeny Stupachenko
For the 3d part of the patch there was a misprint in estimated constant. It should be 1.7 instead of 1.8. - retval = (retval * 18) / 10; + retval = (retval * 17) / 10; Bootstarp passed. On Wed, Apr 16, 2014 at 12:02 PM, Uros Bizjak wrote: > On Tue, Apr 15, 2014 at 6:12 PM, Evgeny

Re: [PATCH 3/3, x86] X86 Silvermont vector cost model tune

2014-04-16 Thread Uros Bizjak
On Tue, Apr 15, 2014 at 6:12 PM, Evgeny Stupachenko wrote: > 3d part: > > 2014-04-15 Evgeny Stupachenko > > * config/i386/i386.c (x86_add_stmt_cost): Fixing vector cost model for > Silvermont. ... : Fix vector cost ... OK for mainline with the above ChangeLog fix. Thanks, Uro

[PATCH 3/3, x86] X86 Silvermont vector cost model tune

2014-04-15 Thread Evgeny Stupachenko
3d part: 2014-04-15 Evgeny Stupachenko * config/i386/i386.c (x86_add_stmt_cost): Fixing vector cost model for Silvermont. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 0ae3cda..2522b5c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -8