]> gcc.gnu.org Git - gcc.git/commit - gcc/machmode.h
expr.c (convert_move): When a partial_int requires multiple conversion steps...
authorDJ Delorie <dj@redhat.com>
Wed, 1 Jun 2005 00:20:13 +0000 (20:20 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 1 Jun 2005 00:20:13 +0000 (20:20 -0400)
commitd2348bd59174b5f3c5c492da6190f80c3f6d745b
treead8920def875a4093b66cd5ff53f14ecb758f32a
parentcc2f3fa620d43b024f4cc1ea800e5246798e1f00
expr.c (convert_move): When a partial_int requires multiple conversion steps...

* expr.c (convert_move): When a partial_int requires multiple
conversion steps, make sure successive steps convert the
intermediate value, not the original value.

* expmed.c (expand_mult): Convert partial_int multiplies to
shift/add combinations too.

* genmodes.c (mode_data): Add wider_2x.
(calc_wider_mode): Calculate twice-wider mode too.
(emit_mode_wider): Emit twice-wider mode too.
* machmode.h (mode_2xwider, GET_MODE_2XWIDER_MODE): New.
* expr.c (expand_expr_real_1): Use it for expanding
multiplies.

From-SVN: r100414
gcc/ChangeLog
gcc/expmed.c
gcc/expr.c
gcc/genmodes.c
gcc/machmode.h
This page took 0.088228 seconds and 5 git commands to generate.