From 9650487569f6f3bbe09e40d3426e719cc5a2727f Mon Sep 17 00:00:00 2001 From: rth Date: Wed, 27 Jun 2012 21:30:51 +0000 Subject: Add MULT_HIGHPART_EXPR * tree.def (MULT_HIGHPART_EXPR): New. * cfgexpand.c (expand_debug_expr): Ignore it. * expr.c (expand_expr_real_2): Handle it. * fold-const.c (int_const_binop_1): Likewise. * optabs.c (optab_for_tree_code): Likewise. * tree-cfg.c (verify_gimple_assign_binary): Likewise. * tree-inline.c (estimate_operator_cost): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. (op_code_prio, op_symbol_code): Likewise. * tree.c (commutative_tree_code): Likewise. Also handle WIDEN_MULT_EXPR, VEC_WIDEN_MULT_HI_EXPR, VEC_WIDEN_MULT_LO_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189027 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/expr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/expr.c') diff --git a/gcc/expr.c b/gcc/expr.c index cad5b10b6b0..5295da2149c 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -8551,6 +8551,7 @@ expand_expr_real_2 (sepops ops, rtx target, enum machine_mode tmode, return expand_divmod (0, code, mode, op0, op1, target, unsignedp); case RDIV_EXPR: + case MULT_HIGHPART_EXPR: goto binop; case TRUNC_MOD_EXPR: -- cgit v1.2.1