This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/7] [ARC] Change predicate movv2hi to avoid scaled addresses.
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Francois dot Bedard at synopsys dot com, Claudiu Zissulescu <claziss at gmail dot com>
- Date: Wed, 31 May 2017 16:33:06 +0100
- Subject: Re: [PATCH 4/7] [ARC] Change predicate movv2hi to avoid scaled addresses.
- Authentication-results: sourceware.org; auth=none
- References: <1495189862-20533-1-git-send-email-claziss@synopsys.com> <1495189862-20533-5-git-send-email-claziss@synopsys.com>
* Claudiu Zissulescu <Claudiu.Zissulescu@synopsys.com> [2017-05-19 12:30:59 +0200]:
> From: Claudiu Zissulescu <claziss@gmail.com>
>
> 2016-12-17 Claudiu Zissulescu <claziss@synopsys.com>
>
> * config/arc/simdext.md (movv2hi_insn): Change predicate to avoid
> scaled addresses.
Seems reasonable.
Thanks,
Andrew
> ---
> gcc/config/arc/simdext.md | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/arc/simdext.md b/gcc/config/arc/simdext.md
> index 5253033..6c102d3 100644
> --- a/gcc/config/arc/simdext.md
> +++ b/gcc/config/arc/simdext.md
> @@ -1356,7 +1356,7 @@
> }")
>
> (define_insn_and_split "*movv2hi_insn"
> - [(set (match_operand:V2HI 0 "nonimmediate_operand" "=r,r,r,m")
> + [(set (match_operand:V2HI 0 "move_dest_operand" "=r,r,r,m")
> (match_operand:V2HI 1 "general_operand" "i,r,m,r"))]
> "(register_operand (operands[0], V2HImode)
> || register_operand (operands[1], V2HImode))"
> --
> 1.9.1
>