Hi all,
I now use the type based on the specification of the intrinsic
instead of type based on formal argument.
I use signed Int vector types because the outputs of the neon builtins
that I am lowering is always signed. In addition, fcode and stmt
does not have information on whether the result
; > gcc/testsuite/ChangeLog:
> >
> > * gcc.target/aarch64/merge_trunc1.c: New test.
> >
> > > -Original Message-
> > > From: Richard Biener
> > > Sent: Tuesday, August 17, 2021 9:13 AM
> > > To: Andrew Pinski
> > >
Hi all,
This patch lowers the vld1 and vst1 variants of the
store and load neon builtins functions to gimple.
The changes in this patch covers:
* Replaces calls to the vld1 and vst1 variants of the builtins
* Uses MEM_REF gimple assignments to generate better code
* Updates test cases to prevent
RUNC.
> >
> > gcc/testsuite/ChangeLog:
> >
> > * gcc.target/aarch64/merge_trunc1.c: New test.
> >
> > > -Original Message-
> > > From: Richard Biener
> > > Sent: Tuesday, August 17, 2021 9:13 AM
> > > To: Andrew Pinski
d Biener
> > > Sent: Tuesday, August 17, 2021 9:13 AM
> > > To: Andrew Pinski
> > > Cc: Jirui Wu ; Richard Sandiford
> > > ; i...@airs.com;
> > > gcc-patches@gcc.gnu.org; rguent...@suse.de
> > > Subject: Re: [Patch][GCC][middle-end] - Generate
gt; * match.pd: Generate IFN_TRUNC.
> >
> > gcc/testsuite/ChangeLog:
> >
> > * gcc.target/aarch64/merge_trunc1.c: New test.
> >
> > > -Original Message-
> > > From: Richard Biener
> > > Sent: Tuesday, August 17, 20
:
> >
> > On Mon, Aug 16, 2021 at 9:15 AM Jirui Wu via Gcc-patches
> > wrote:
> > >
> > > Hi all,
> > >
> > > This patch generates FRINTZ instruction to optimize type casts.
> > >
> > > The changes in this patch covers:
> &g
Hi all,
This patch generates FRINTZ instruction to optimize type casts.
The changes in this patch covers:
* Opimization of a FIX_TRUNC_EXPR cast inside a FLOAT_EXPR using IFN_TRUNC.
* Change of corresponding test cases.
Regtested on aarch64-none-linux-gnu and no issues.
Ok for master? If OK can