Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-26 Thread Richard Biener
On Mon, 26 Feb 2024, Jakub Jelinek wrote: > On Mon, Feb 26, 2024 at 09:53:41AM +0100, Richard Biener wrote: > > On Mon, 26 Feb 2024, Jakub Jelinek wrote: > > > > > On Mon, Feb 26, 2024 at 09:00:58AM +0100, Richard Biener wrote: > > > > > > @@ -6756,7 +6756,8 @@ vectorizable_operation (vec_info *v

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-26 Thread Jakub Jelinek
On Mon, Feb 26, 2024 at 09:53:41AM +0100, Richard Biener wrote: > On Mon, 26 Feb 2024, Jakub Jelinek wrote: > > > On Mon, Feb 26, 2024 at 09:00:58AM +0100, Richard Biener wrote: > > > > > @@ -6756,7 +6756,8 @@ vectorizable_operation (vec_info *vinfo, > > > > >those through even when the mo

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-26 Thread Richard Biener
On Mon, 26 Feb 2024, Jakub Jelinek wrote: > On Mon, Feb 26, 2024 at 09:00:58AM +0100, Richard Biener wrote: > > > > @@ -6756,7 +6756,8 @@ vectorizable_operation (vec_info *vinfo, > > > > those through even when the mode isn't word_mode. For > > > > ops we have to lower the lower

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-26 Thread Jakub Jelinek
On Mon, Feb 26, 2024 at 09:00:58AM +0100, Richard Biener wrote: > > > @@ -6756,7 +6756,8 @@ vectorizable_operation (vec_info *vinfo, > > >those through even when the mode isn't word_mode. For > > >ops we have to lower the lowering code assumes we are > > >dealing with word_mode. */ >

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-26 Thread Richard Biener
On Fri, 23 Feb 2024, Jakub Jelinek wrote: > On Fri, Feb 23, 2024 at 02:43:45PM +0100, Juergen Christ wrote: > > The emulation via word mode tries to perform integer arithmetic on floating > > point values instead of floating point arithmetic. This leads to > > mis-compilations. > > > > Failure o

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-23 Thread Jakub Jelinek
On Fri, Feb 23, 2024 at 02:43:45PM +0100, Juergen Christ wrote: > The emulation via word mode tries to perform integer arithmetic on floating > point values instead of floating point arithmetic. This leads to > mis-compilations. > > Failure occured on s390x on these existing test cases: > gcc.dg/

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-23 Thread Juergen Christ
Am Fri, Feb 23, 2024 at 01:57:12PM + schrieb Sam James: > > Juergen Christ writes: > > > The emulation via word mode tries to perform integer arithmetic on floating > > point values instead of floating point arithmetic. This leads to > > mis-compilations. > > Is the bug ref + test missing?

Re: [PATCH v2] Do not emulate vectors containing floats.

2024-02-23 Thread Sam James
Juergen Christ writes: > The emulation via word mode tries to perform integer arithmetic on floating > point values instead of floating point arithmetic. This leads to > mis-compilations. Is the bug ref + test missing? > > Failure occured on s390x on these existing test cases: > gcc.dg/vect/

[PATCH v2] Do not emulate vectors containing floats.

2024-02-23 Thread Juergen Christ
The emulation via word mode tries to perform integer arithmetic on floating point values instead of floating point arithmetic. This leads to mis-compilations. Failure occured on s390x on these existing test cases: gcc.dg/vect/tsvc/vect-tsvc-s112.c gcc.dg/vect/tsvc/vect-tsvc-s113.c gcc.dg/vect/tsv