Re: [PATCH] RTL: Bugfix for wrong code with v16hi compare & mask

2023-04-02 Thread Jeff Law via Gcc-patches
On 3/26/23 19:36, Hongtao Liu wrote: On Sun, Mar 26, 2023 at 3:01 AM Jeff Law via Gcc-patches wrote: On 3/24/23 08:11, pan2.li--- via Gcc-patches wrote: From: Pan Li Fix the bug of the incorrect code generation for the below code sample. typedef unsigned short __attribute__((__vector_

Re: [PATCH] RTL: Bugfix for wrong code with v16hi compare & mask

2023-03-26 Thread Hongtao Liu via Gcc-patches
On Sun, Mar 26, 2023 at 3:01 AM Jeff Law via Gcc-patches wrote: > > > > On 3/24/23 08:11, pan2.li--- via Gcc-patches wrote: > > From: Pan Li > > > > Fix the bug of the incorrect code generation for the > > below code sample. > > > > typedef unsigned short __attribute__((__vector_size__ (32))) V;

Re: [PATCH] RTL: Bugfix for wrong code with v16hi compare & mask

2023-03-25 Thread Jeff Law via Gcc-patches
On 3/24/23 08:11, pan2.li--- via Gcc-patches wrote: From: Pan Li Fix the bug of the incorrect code generation for the below code sample. typedef unsigned short __attribute__((__vector_size__ (32))) V; typedef unsigned short u16; void foo (V m, u16 *ret) { V v = 6 > ((V) { 2049, 8 } & m)