r251482 - in /trunk/gcc: ChangeLog expr.c lower...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Aug 30 11:12:00 GMT 2017


Author: rsandifo
Date: Wed Aug 30 11:12:35 2017
New Revision: 251482

URL: https://gcc.gnu.org/viewcvs?rev=251482&root=gcc&view=rev
Log:
[30/77] Use scalar_int_mode for doubleword splits

This patch uses is_a <scalar_int_mode> in a couple of places that
were splitting doubleword integer operations into word_mode
operations.  It also uses scalar_int_mode in the expand_expr_real_2
handling of doubleword shifts.

2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
	    Alan Hayward  <alan.hayward@arm.com>
	    David Sherwood  <david.sherwood@arm.com>

gcc/
	* expr.c (expand_expr_real_2): Use scalar_int_mode for the
	double-word mode.
	* lower-subreg.c (resolve_shift_zext): Use is_a <scalar_int_mode>.
	* optabs.c (expand_unop): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/expr.c
    trunk/gcc/lower-subreg.c
    trunk/gcc/optabs.c



More information about the Gcc-cvs mailing list