Hi,
> Sorry, just realised I'd never replied to this.
No worries! I also took a very long time to reply, sorry.
> The problem is that we only enforce lane bounds via calls to
> __builtin_aarch64_im_lane_boundsi. In previous releases, the check
> only happend at RTL expansion time, so the check
On Fri, Feb 4, 2022 at 7:34 PM Andrew Pinski wrote:
>
> On Fri, Feb 4, 2022 at 3:21 AM Richard Sandiford via Gcc-patches
> wrote:
> >
> > Sorry, just realised I'd never replied to this.
> >
> > Marc Poulhies writes:
> > > Eric Botcazou writes:
> > >>> The new variables seem to be unused, so I t
On Fri, Feb 4, 2022 at 3:21 AM Richard Sandiford via Gcc-patches
wrote:
>
> Sorry, just realised I'd never replied to this.
>
> Marc Poulhies writes:
> > Eric Botcazou writes:
> >>> The new variables seem to be unused, so I think slightly stronger
> >>> DCE could remove the calls even after the
Sorry, just realised I'd never replied to this.
Marc Poulhies writes:
> Eric Botcazou writes:
>>> The new variables seem to be unused, so I think slightly stronger
>>> DCE could remove the calls even after the patch. Perhaps the containing
>>> functions should take an int32x4_t *ptr or somethin
Eric Botcazou writes:
>> The new variables seem to be unused, so I think slightly stronger
>> DCE could remove the calls even after the patch. Perhaps the containing
>> functions should take an int32x4_t *ptr or something, with the calls
>> assigning to different ptr[] indices.
>
> We run a mini
> The calls should still be diagnosed as incorrect, even if we don't
> code-generate them. The fact that we don't do that is a known bug
> (in aarch64 code).
OK, thanks for the explanation.
> The new variables seem to be unused, so I think slightly stronger
> DCE could remove the calls even afte
Marc Poulhiès via Gcc-patches writes:
> Hello,
>
> We've observed that some aarch64 tests can fail if DCE is made more
> aggressive as it removes the builtin calls being tested for errors.
>
> This patch simply adds a LHS to these builtin calls to make sure DCE does
> not remove them at -O0.
>
> T