machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro.
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 6 Jul 2011 14:44:30 +0000 (14:44 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 6 Jul 2011 14:44:30 +0000 (14:44 +0000)
commitd0edd768de548507869ddec157f2e8b3551a6231
tree95d75bc9dd3fb8ff5d3161011734bcfd2796c8bf
parente5cabdfba868da1d67a6fa317846dbd5dfd83ee5
machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro.

* machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro.
* combine.c (make_extraction, gen_lowpart_or_truncate,
apply_distributive_law, simplify_comparison,
reg_truncated_to_mode, record_truncated_value): Use it.
* cse.c (notreg_cost): Likewise.
* expmed.c (store_bit_field_1, extract_bit_field_1): Likewise.
* expr.c (convert_move, convert_modes): Likewise.
* optabs.c (expand_binop, expand_unop): Likewise.
* postreload.c (move2add_last_label): Likewise.
* regmove.c (optimize_reg_copy_3): Likewise.
* rtlhooks.c (gen_lowpart_general): Likewise.
* simplify-rtx.c (simplify_unary_operation_1): Likewise.

From-SVN: r175921
12 files changed:
gcc/ChangeLog
gcc/combine.c
gcc/cse.c
gcc/dse.c
gcc/expmed.c
gcc/expr.c
gcc/machmode.h
gcc/optabs.c
gcc/postreload.c
gcc/regmove.c
gcc/rtlhooks.c
gcc/simplify-rtx.c