https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98602

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>:

https://gcc.gnu.org/g:48c7f5b88116c894d76209db0f47216ed5ccd333

commit r11-6595-g48c7f5b88116c894d76209db0f47216ed5ccd333
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Mon Jan 11 18:03:21 2021 +0000

    aarch64: Add support for unpacked SVE mult, max and min

    This patch makes the SVE_INT_BINARY_IMM patterns support
    unpacked arithmetic, covering MUL, SMAX, SMIN, UMAX and UMIN.
    For min and max, the type suffix must be taken from the element
    size rather than the container size.

    The XFAILs are due to PR98602.

    gcc/
            * config/aarch64/aarch64-sve.md (<SVE_INT_BINARY_IMM:optab><mode>3)
            (@aarch64_pred_<SVE_INT_BINARY_IMM:optab><mode>)
            (*post_ra_<SVE_INT_BINARY_IMM:optab><mode>3): Extend from
SVE_FULL_I
            to SVE_I.

    gcc/testsuite/
            PR testsuite/98602
            * g++.target/aarch64/sve/max_1.C: New test.
            * g++.target/aarch64/sve/min_1.C: Likewise.
            * gcc.target/aarch64/sve/mul_2.c: Likewise.

Reply via email to