This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SVE] [aarch64] Add "@" in vcond_mask pattern
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>
- Cc: jiangning at os dot amperecomputing dot com, gcc Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Aug 2019 09:07:44 +0100
- Subject: Re: [SVE] [aarch64] Add "@" in vcond_mask pattern
- References: <CAAgBjMncK6+H2JxqU69ttpXivvPzyxMZXwYoRWNVcz6Ctv_zUg@mail.gmail.com>
Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> writes:
> Hi Richard,
> I screwed up while committing pr88839 fix, by not including the change
> to aarch64-sve.md
> that adds "@" to vcond_mask pattern, which resulted in trunk failing to build
> with: "gen_vcond_mask" was not declared in this scope -:/
> The attached patch resolves the failure.
> OK to commit ?
OK, thanks. (And would have been OK as obvious FWIW.)
Richard
>
> Thanks,
> Prathamesh
>
> 2019-08-22 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
>
> * aarch64-sve.md (vcond_mask): Add "@".
>
> diff --git a/gcc/config/aarch64/aarch64-sve.md b/gcc/config/aarch64/aarch64-sve.md
> index ac65e691d73..f58353e9c6d 100644
> --- a/gcc/config/aarch64/aarch64-sve.md
> +++ b/gcc/config/aarch64/aarch64-sve.md
> @@ -3927,7 +3927,7 @@
> ;; vcond_mask operand order: true, false, mask
> ;; UNSPEC_SEL operand order: mask, true, false (as for VEC_COND_EXPR)
> ;; SEL operand order: mask, true, false
> -(define_expand "vcond_mask_<mode><vpred>"
> +(define_expand "@vcond_mask_<mode><vpred>"
> [(set (match_operand:SVE_ALL 0 "register_operand")
> (unspec:SVE_ALL
> [(match_operand:<VPRED> 3 "register_operand")