Re: [PATCH V3] [x86] Fix incorrect _mm_cvtsbh_ss.

2022-11-25 Thread Jakub Jelinek via Gcc-patches
On Fri, Nov 25, 2022 at 01:39:04PM +0800, liuhongt wrote: > Update in V3: > Remove !flag_signaling_nans since there's already HONOR_NANS (BFmode). > > Here's the patch: > > After supporting real __bf16, the implementation of _mm_cvtsbh_ss went > wrong. > > The patch add a builtin to generate psl

[PATCH V3] [x86] Fix incorrect _mm_cvtsbh_ss.

2022-11-24 Thread liuhongt via Gcc-patches
Update in V3: Remove !flag_signaling_nans since there's already HONOR_NANS (BFmode). Here's the patch: After supporting real __bf16, the implementation of _mm_cvtsbh_ss went wrong. The patch add a builtin to generate pslld for the intrinsic, also extendbfsf2 is supported with pslld when !HONOR_N