Correct sparc's REGMODE_NATURAL_SIZE and MODES_TIEABLE_P wrt. vector modes.
authorDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2011 21:50:58 +0000 (21:50 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 21 Nov 2011 21:50:58 +0000 (13:50 -0800)
commit98ccb32db43c4f2782ca59cd4e0d9ab1b4d37fab
treee83a97dd65882dcecbef6e3ce93db0030de097b3
parente57a3447f7117ade80869bbcfeb8f8abc3af346a
Correct sparc's REGMODE_NATURAL_SIZE and MODES_TIEABLE_P wrt. vector modes.

* config/sparc/sparc.c (sparc_regmode_natural_size): New function
implementing REGMODE_NATURAL_SIZE taking into consideration vector
modes.
(sparc_modes_tieable_p): Similarly for MODES_TIEABLE_P.
* config/sparc/sparc-protos.h (sparc_regmode_natural_size,
sparc_modes_tieable_p): Declare.
* gcc/config/sparc/sparc.h (REGMODE_NATURAL_SIZE,
MODES_TIEABLE_P): Use new helper functions.

From-SVN: r181599
gcc/ChangeLog
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h