r192186 - in /trunk/gcc: ChangeLog config/mips/...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Sun Oct 7 19:17:00 GMT 2012
Author: rsandifo
Date: Sun Oct 7 19:17:37 2012
New Revision: 192186
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192186
Log:
gcc/
* machmode.h (GET_MODE_UNIT_PRECISION): New macro.
* simplify-rtx.c (simplify_truncation): New function,
extracted from simplify_subreg and (in small part) from
simplify_unary_operation_1.
(simplify_unary_operation_1) <TRUNCATE>: Use it. Remove sign bit
test for !TRULY_NOOP_TRUNCATION_MODES_P.
(simplify_subreg): Use simplify_truncate for lowpart subregs
where both the inner and outer modes are scalar integers.
* config/mips/mips.c (mips_truncated_op_cost): New function.
(mips_rtx_costs): Adjust test for BADDU.
* config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mips/mips.c
trunk/gcc/config/mips/mips.md
trunk/gcc/machmode.h
trunk/gcc/simplify-rtx.c
More information about the Gcc-cvs
mailing list