r254305 - in /trunk/gcc: ChangeLog dwarf2out.c ...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Nov 1 13:30:00 GMT 2017


Author: rsandifo
Date: Wed Nov  1 13:30:34 2017
New Revision: 254305

URL: https://gcc.gnu.org/viewcvs?rev=254305&root=gcc&view=rev
Log:
Add an is_narrower_int_mode helper function

This patch adds a function for testing whether an arbitrary mode X
is an integer mode that is narrower than integer mode Y.  This is
useful for code like expand_float and expand_fix that could in
principle handle vectors as well as scalars.

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

gcc/
	* machmode.h (is_narrower_int_mode): New function
	* optabs.c (expand_float, expand_fix): Use it.
	* dwarf2out.c (rotate_loc_descriptor): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/machmode.h
    trunk/gcc/optabs.c



More information about the Gcc-cvs mailing list