rs6000: Add len_load/len_store optab support
authorKewen Lin <linkw@linux.ibm.com>
Wed, 8 Jul 2020 07:44:02 +0000 (02:44 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Wed, 8 Jul 2020 07:48:01 +0000 (02:48 -0500)
commit4070208f2384df01798d23e6ecba7b30296aa588
tree58fca72c9f795b02d03201d192c6748eb4eb4069
parentd496134a6b1ef1314c18bd316d8c1900158beae9
rs6000: Add len_load/len_store optab support

Define rs6000 specific len_load/len_store for the LEN_LOAD/LEN_STORE
internal function's expansion.  As the doc description of the
len_load/len_store optab shows, we should use V16QI to wrap those
available vector modes.

gcc/ChangeLog:

* config/rs6000/vsx.md (len_load_v16qi): New define_expand.
(len_store_v16qi): Likewise.
gcc/config/rs6000/vsx.md