Re: [PATCH] [x86] Fix incorrect implementation for mm_cvtsbh_ss.

2022-11-23 Thread Hongtao Liu via Gcc-patches
On Wed, Nov 23, 2022 at 8:40 PM Jakub Jelinek wrote: > > On Wed, Nov 23, 2022 at 08:28:20PM +0800, liuhongt via Gcc-patches wrote: > > After supporting real __bf16 type, implementation of mm_cvtsbh_ss went > > wrong. > > The patch supports extendbfsf2/truncsfbf2 with pslld/psrld, > > and then ref

Re: [PATCH] [x86] Fix incorrect implementation for mm_cvtsbh_ss.

2022-11-23 Thread Jakub Jelinek via Gcc-patches
On Wed, Nov 23, 2022 at 08:28:20PM +0800, liuhongt via Gcc-patches wrote: > After supporting real __bf16 type, implementation of mm_cvtsbh_ss went wrong. > The patch supports extendbfsf2/truncsfbf2 with pslld/psrld, > and then refined the intrinsic with implicit conversion. This is not correct. Wh