r242179 - in /branches/ARM/sve-branch/gcc: expm...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Nov 11 17:13:00 GMT 2016
Author: rsandifo
Date: Fri Nov 11 17:13:47 2016
New Revision: 242179
URL: https://gcc.gnu.org/viewcvs?rev=242179&root=gcc&view=rev
Log:
Make more use of GET_MODE_UNIT_SIZE
This patch uses GET_MODE_UNIT_SIZE instead of GET_MODE_SIZE in
cases where, for compound modes, the mode of the scalar elements
is what matters. E.g. the choice between truncation and extension
is really based on the modes of the consistuent scalars rather
than the mode as a whole.
None of the existing code was wrong. The patch simply makes
things easier when converting to variable-sized modes.
Modified:
branches/ARM/sve-branch/gcc/expmed.c
branches/ARM/sve-branch/gcc/optabs.c
branches/ARM/sve-branch/gcc/ree.c
branches/ARM/sve-branch/gcc/simplify-rtx.c
More information about the Gcc-cvs
mailing list