From 9dc3f9d2ea848a51b6ef62f9abe7f90d50e2a28b Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Wed, 27 Mar 2013 06:37:39 +0000 Subject: [PATCH] backport: tilegx.md (insn_v1mulu): Fix constraints on input operands. Backport from mainline: 2013-03-27 Walter Lee * config/tilegx/tilegx.md (insn_v1mulu): Fix constraints on input operands. (insn_v1mulus): Ditto. (insn_v2muls): Ditto. From-SVN: r197148 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/tilegx/tilegx.md | 12 ++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 67486f464ee1..21f63415abac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2013-03-27 Walter Lee + + Backport from mainline: + 2013-03-27 Walter Lee + + * config/tilegx/tilegx.md (insn_v1mulu): Fix constraints on + input operands. + (insn_v1mulus): Ditto. + (insn_v2muls): Ditto. + 2013-03-27 Walter Lee Backport from mainline: diff --git a/gcc/config/tilegx/tilegx.md b/gcc/config/tilegx/tilegx.md index ff845ae33f6e..5a16fecb3b1c 100644 --- a/gcc/config/tilegx/tilegx.md +++ b/gcc/config/tilegx/tilegx.md @@ -4508,8 +4508,8 @@ (define_expand "insn_v1mulu" [(match_operand:DI 0 "register_operand" "") - (match_operand:DI 1 "reg_or_0_operand" "") - (match_operand:DI 2 "reg_or_0_operand" "")] + (match_operand:DI 1 "register_operand" "") + (match_operand:DI 2 "register_operand" "")] "" { tilegx_expand_builtin_vector_binop (gen_vec_widen_umult_lo_v8qi, V4HImode, @@ -4538,8 +4538,8 @@ (define_expand "insn_v1mulus" [(match_operand:DI 0 "register_operand" "") - (match_operand:DI 1 "reg_or_0_operand" "") - (match_operand:DI 2 "reg_or_0_operand" "")] + (match_operand:DI 1 "register_operand" "") + (match_operand:DI 2 "register_operand" "")] "" { tilegx_expand_builtin_vector_binop (gen_vec_widen_usmult_lo_v8qi, V4HImode, @@ -4566,8 +4566,8 @@ (define_expand "insn_v2muls" [(match_operand:DI 0 "register_operand" "") - (match_operand:DI 1 "reg_or_0_operand" "") - (match_operand:DI 2 "reg_or_0_operand" "")] + (match_operand:DI 1 "register_operand" "") + (match_operand:DI 2 "register_operand" "")] "" { tilegx_expand_builtin_vector_binop (gen_vec_widen_smult_lo_v4qi, V2SImode, -- 2.47.2