This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [30/77] Use scalar_int_mode for doubleword splits


On 07/13/2017 02:49 AM, Richard Sandiford wrote:
> 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-07-13  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.
OK.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]