This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: autovectorizer doesn't support multistep widen mult
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Paulo Matos <pmatos at broadcom dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 25 Jan 2013 16:59:03 +0100
- Subject: Re: autovectorizer doesn't support multistep widen mult
- References: <19EB96622A777C4AB91610E763265F461A21A2@SJEXCHMB14.corp.ad.broadcom.com>
On Fri, Jan 25, 2013 at 4:13 PM, Paulo Matos <pmatos@broadcom.com> wrote:
> Hello,
>
> Is there any technical reason (besides nobody bothers to implement it) why GCC doesn't support multistep conversions for widen mult?
No.
> In tree-vect-stmts.c:
> /* Check if it's a multi-step conversion that can be done using intermediate
> types. */
>
> prev_type = vectype;
> prev_mode = vec_mode;
>
> if (!CONVERT_EXPR_CODE_P (code))
> return false;
>
> Is there any reason we only proceed for convert expr codes?
Because others are not a conversion?!
> Thanks,
>
> Paulo Matos
>
>