RE: [PATCH, i386] Fix ix86_multiplication_cost for SKX

2018-02-08 Thread Shalnov, Sergey
, February 7, 2018 2:15 PM To: Shalnov, Sergey Cc: gcc-patches@gcc.gnu.org; Peryt, Sebastian ; Ivchenko, Alexander ; Kirill Yukhin Subject: Re: [PATCH, i386] Fix ix86_multiplication_cost for SKX On Wed, Feb 7, 2018 at 2:02 PM, Shalnov, Sergey wrote: > Hi, > This patch is one of the set of patc

Re: [PATCH, i386] Fix ix86_multiplication_cost for SKX

2018-02-07 Thread Uros Bizjak
On Wed, Feb 7, 2018 at 2:02 PM, Shalnov, Sergey wrote: > Hi, > This patch is one of the set of patches to fix SKX costs. Please post the whole series for review. Thanks, Uros. > I think multiplication costs calculation algorithm needs to be adjusted in > gcc/config/i386/i386.c ix86_multiplicat

[PATCH, i386] Fix ix86_multiplication_cost for SKX

2018-02-07 Thread Shalnov, Sergey
Hi, This patch is one of the set of patches to fix SKX costs. I think multiplication costs calculation algorithm needs to be adjusted in gcc/config/i386/i386.c ix86_multiplication_cost() function. For TARGET_AVX512DQ emulation is not used and single vpmullq instruction emitted. I think we have t