This is the mail archive of the
mailing list for the GCC project.
r242179 - in /branches/ARM/sve-branch/gcc: expm...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:13:47 -0000
- Subject: r242179 - in /branches/ARM/sve-branch/gcc: expm...
Date: Fri Nov 11 17:13:47 2016
New Revision: 242179
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.