diff options
author | Richard Henderson <rth@redhat.com> | 2012-06-27 14:30:51 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2012-06-27 14:30:51 -0700 |
commit | 98449720f700d3460a6756f48c4870f3e9a3a6fd (patch) | |
tree | 0ff9298f4b499b29ab5996ba2f0360c7401e22d1 /gcc/tree-pretty-print.c | |
parent | ff4d1662c887e1c43fde5d14c7835210d3a37063 (diff) | |
download | gcc-98449720f700d3460a6756f48c4870f3e9a3a6fd.zip gcc-98449720f700d3460a6756f48c4870f3e9a3a6fd.tar.gz gcc-98449720f700d3460a6756f48c4870f3e9a3a6fd.tar.bz2 |
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.
From-SVN: r189027
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index f810d77..44d3c10 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -1612,6 +1612,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, case WIDEN_SUM_EXPR: case WIDEN_MULT_EXPR: case MULT_EXPR: + case MULT_HIGHPART_EXPR: case PLUS_EXPR: case POINTER_PLUS_EXPR: case MINUS_EXPR: @@ -2674,6 +2675,7 @@ op_code_prio (enum tree_code code) case WIDEN_MULT_PLUS_EXPR: case WIDEN_MULT_MINUS_EXPR: case MULT_EXPR: + case MULT_HIGHPART_EXPR: case TRUNC_DIV_EXPR: case CEIL_DIV_EXPR: case FLOOR_DIV_EXPR: @@ -2852,6 +2854,9 @@ op_symbol_code (enum tree_code code) case WIDEN_MULT_EXPR: return "w*"; + case MULT_HIGHPART_EXPR: + return "h*"; + case NEGATE_EXPR: case MINUS_EXPR: return "-"; |