On Thu, Oct 14, 2021 at 2:17 AM HAO CHEN GUI <guih...@linux.ibm.com> wrote:
>
> Hi,
>
>    The patch optimizes the code generation for vec_xl_sext builtin. Now all 
> the sign extensions are done on VSX registers directly.
>
>    Bootstrapped and tested on powerpc64le-linux with no regressions. Is this 
> okay for trunk? Any recommendations? Thanks a lot.
>
>    I refined the patch according to Bill and David's advice. I put the 
> patch.diff and ChangeLog in attachment also in case the indentation doesn't 
> show correctly in email body.
>
>
> ChangeLog
>
> 2021-10-11 Haochen Gui <guih...@linux.ibm.com>
>
>
> gcc/
>
> * config/rs6000/rs6000-call.c (altivec_expand_lxvr_builtin):
>
> Modify the expansion for sign extension. All extensions are done
>
> within VSX registers.
>
>
> gcc/testsuite/
>
> * gcc.target/powerpc/p10_vec_xl_sext.c: New test.

This is okay.

Thanks, David

Reply via email to