r255747 - in /trunk/gcc: ChangeLog machmode.h s...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Sat Dec 16 14:26:00 GMT 2017


Author: rsandifo
Date: Sat Dec 16 14:26:43 2017
New Revision: 255747

URL: https://gcc.gnu.org/viewcvs?rev=255747&root=gcc&view=rev
Log:
poly_int: mode query functions

This patch changes the bit size and vector count arguments to the
machmode.h functions from unsigned int to poly_uint64.

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

gcc/
	* machmode.h (mode_for_size, int_mode_for_size, float_mode_for_size)
	(smallest_mode_for_size, smallest_int_mode_for_size): Take the mode
	size as a poly_uint64.
	(mode_for_vector, mode_for_int_vector): Take the number of vector
	elements as a poly_uint64.
	* stor-layout.c (mode_for_size, smallest_mode_for_size): Take the mode
	size as a poly_uint64.
	(mode_for_vector, mode_for_int_vector): Take the number of vector
	elements as a poly_uint64.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/machmode.h
    trunk/gcc/stor-layout.c



More information about the Gcc-cvs mailing list