[NDS32] Implement strlensi pattern.
authorKito Cheng <kito.cheng@gmail.com>
Sun, 11 Mar 2018 08:24:33 +0000 (08:24 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sun, 11 Mar 2018 08:24:33 +0000 (08:24 +0000)
commit483c57af553b22721f46bfdbd2795ac004767a51
tree1ea95eb6e07517701cc160efd267f7ff3f22d2a6
parent3999578cc522eb57d65c00c9293ca88cfbd901c2
[NDS32] Implement strlensi pattern.

gcc/
* config/nds32/nds32-memory-manipulation.c (nds32_expand_strlen): New
function.
* config/nds32/nds32-multiple.md (strlensi): New pattern.
* config/nds32/nds32-protos.h (nds32_expand_strlen): Declare function.

Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
From-SVN: r258425
gcc/ChangeLog
gcc/config/nds32/nds32-memory-manipulation.c
gcc/config/nds32/nds32-multiple.md
gcc/config/nds32/nds32-protos.h