Re: [PATCH] Support vec_cmpmn/vcondmn for v2hf/v4hf.

2023-10-24 Thread Richard Biener
On Tue, Oct 24, 2023 at 7:44 AM Hongtao Liu wrote: > > On Tue, Oct 24, 2023 at 1:23 PM Hongtao Liu wrote: > > > > On Tue, Oct 24, 2023 at 10:53 AM Hongtao Liu wrote: > > > > > > On Mon, Oct 23, 2023 at 8:35 PM Richard Biener > > > wrote: > > > > > > > > On Mon, Oct 23, 2023 at 10:48 AM liuhongt

Re: [PATCH] Support vec_cmpmn/vcondmn for v2hf/v4hf.

2023-10-23 Thread Hongtao Liu
On Tue, Oct 24, 2023 at 1:23 PM Hongtao Liu wrote: > > On Tue, Oct 24, 2023 at 10:53 AM Hongtao Liu wrote: > > > > On Mon, Oct 23, 2023 at 8:35 PM Richard Biener > > wrote: > > > > > > On Mon, Oct 23, 2023 at 10:48 AM liuhongt wrote: > > > > > > > > Bootstrapped and regtested on x86_64-pc-linux

Re: [PATCH] Support vec_cmpmn/vcondmn for v2hf/v4hf.

2023-10-23 Thread Hongtao Liu
On Tue, Oct 24, 2023 at 10:53 AM Hongtao Liu wrote: > > On Mon, Oct 23, 2023 at 8:35 PM Richard Biener > wrote: > > > > On Mon, Oct 23, 2023 at 10:48 AM liuhongt wrote: > > > > > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. > > > Ready push to trunk. > > > > vcond and vcondeq shou

Re: [PATCH] Support vec_cmpmn/vcondmn for v2hf/v4hf.

2023-10-23 Thread Hongtao Liu
On Mon, Oct 23, 2023 at 8:35 PM Richard Biener wrote: > > On Mon, Oct 23, 2023 at 10:48 AM liuhongt wrote: > > > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. > > Ready push to trunk. > > vcond and vcondeq shouldn't be necessary if there's > vcond_mask and vcmp support which is the

Re: [PATCH] Support vec_cmpmn/vcondmn for v2hf/v4hf.

2023-10-23 Thread Richard Biener
On Mon, Oct 23, 2023 at 10:48 AM liuhongt wrote: > > Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. > Ready push to trunk. vcond and vcondeq shouldn't be necessary if there's vcond_mask and vcmp support which is the "modern" way of handling vcond. Unless the ISA really can do compare

[PATCH] Support vec_cmpmn/vcondmn for v2hf/v4hf.

2023-10-23 Thread liuhongt
Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}. Ready push to trunk. gcc/ChangeLog: PR target/103861 * config/i386/i386-expand.cc (ix86_expand_sse_movcc): Handle V2HF/V2BF/V4HF/V4BFmode. * config/i386/mmx.md (vec_cmpv4hfqi): New expander. (vcondv4