Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-08-08 Thread Hongtao Liu via Gcc-patches
On Tue, Aug 3, 2021 at 7:12 PM Hongtao Liu wrote: > > On Tue, Aug 3, 2021 at 6:20 PM Richard Biener > wrote: > > > > On Tue, Aug 3, 2021 at 11:20 AM Richard Biener > > wrote: > > > > > > On Wed, Jul 28, 2021 at 4:51 AM Hongtao Liu via Gcc-patches > > > wrote: > > > > > > > > On Tue, Jul 27, 202

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-08-03 Thread Hongtao Liu via Gcc-patches
On Tue, Aug 3, 2021 at 6:20 PM Richard Biener wrote: > > On Tue, Aug 3, 2021 at 11:20 AM Richard Biener > wrote: > > > > On Wed, Jul 28, 2021 at 4:51 AM Hongtao Liu via Gcc-patches > > wrote: > > > > > > On Tue, Jul 27, 2021 at 9:54 AM Hongtao Liu wrote: > > > > > > > > On Mon, Jul 26, 2021 at

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-08-03 Thread Richard Biener via Gcc-patches
On Tue, Aug 3, 2021 at 11:20 AM Richard Biener wrote: > > On Wed, Jul 28, 2021 at 4:51 AM Hongtao Liu via Gcc-patches > wrote: > > > > On Tue, Jul 27, 2021 at 9:54 AM Hongtao Liu wrote: > > > > > > On Mon, Jul 26, 2021 at 4:49 PM Hongtao Liu wrote: > > > > > > > > Correct mail list, please repl

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-08-03 Thread Richard Biener via Gcc-patches
On Wed, Jul 28, 2021 at 4:51 AM Hongtao Liu via Gcc-patches wrote: > > On Tue, Jul 27, 2021 at 9:54 AM Hongtao Liu wrote: > > > > On Mon, Jul 26, 2021 at 4:49 PM Hongtao Liu wrote: > > > > > > Correct mail list, please reply under this email. > > > > > > On Mon, Jul 26, 2021 at 4:47 PM liuhongt

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-07-27 Thread Hongtao Liu via Gcc-patches
On Tue, Jul 27, 2021 at 9:54 AM Hongtao Liu wrote: > > On Mon, Jul 26, 2021 at 4:49 PM Hongtao Liu wrote: > > > > Correct mail list, please reply under this email. > > > > On Mon, Jul 26, 2021 at 4:47 PM liuhongt wrote: > > > > > > Hi: > > > As decribled in PR, the pinsr instruction has poor t

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-07-26 Thread Hongtao Liu via Gcc-patches
On Mon, Jul 26, 2021 at 4:49 PM Hongtao Liu wrote: > > Correct mail list, please reply under this email. > > On Mon, Jul 26, 2021 at 4:47 PM liuhongt wrote: > > > > Hi: > > As decribled in PR, the pinsr instruction has poor throughput in SKX > > and CLX, which leads to worse performance in vect

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-07-26 Thread Hongtao Liu via Gcc-patches
Correct mail list, please reply under this email. On Mon, Jul 26, 2021 at 4:47 PM liuhongt wrote: > > Hi: > As decribled in PR, the pinsr instruction has poor throughput in SKX > and CLX, which leads to worse performance in vectorization in some cases. > This patch adds a cost member named inte