rs6000: Sanitize vector modes
commita2c3f9ffcb541f48c2f7b38529248c589ef8a4c3
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 17:05:26 +0000 (13 17:05 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2017 17:05:26 +0000 (13 17:05 +0000)
treefc0c2cfd060035e7f4bc422171c168cc881d057e
parent2f9d7788419490c3cf5e0d5479e08241f2652484
rs6000: Sanitize vector modes

This removes the vector modes that were only used by SPE.  It also
rearranges things so it is easier to see what is there, and for what.

* config/rs6000/rs6000-modes.def: Remove all 8-byte vector modes
except V2SF and V2SI.  Rearrange the vector modes, and add comments.
* config/rs6000/rs6000.c (rs6000_debug_reg_global): Remove V8QImode
and V4HImode.
(reg_offset_addressing_ok_p): Remove V4HImode and V1DImode.
(rs6000_legitimate_offset_address_p): Ditto.
(rs6000_emit_move): Ditto.
(rs6000_init_builtins): Remove V4HI_type_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249162 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000-modes.def
gcc/config/rs6000/rs6000.c