rs6000-string.c (expand_cmp_vec_sequence): Rename and modify expand_strncmp_vec_sequence.
authorAaron Sawdey <acsawdey@linux.ibm.com>
Mon, 26 Nov 2018 20:59:06 +0000 (20:59 +0000)
committerAaron Sawdey <acsawdey@gcc.gnu.org>
Mon, 26 Nov 2018 20:59:06 +0000 (14:59 -0600)
commit37ae4739bc8277539b16fbcf5294f19b082d5c79
tree2d94558038c47e2c6a126a2ff8597feeb330cae3
parent02ef9b0c2d73bac1e3bc3f8cc8c1e1f43826a04b
rs6000-string.c (expand_cmp_vec_sequence): Rename and modify expand_strncmp_vec_sequence.

2018-11-26  Aaron Sawdey  <acsawdey@linux.ibm.com>

* config/rs6000/rs6000-string.c (expand_cmp_vec_sequence): Rename
and modify expand_strncmp_vec_sequence.
(emit_final_compare_vec): Rename and modify emit_final_str_compare_vec.
(generate_6432_conversion): New function.
(expand_block_compare): Add support for vsx.
(expand_block_compare_gpr): New function.
* config/rs6000/rs6000.opt (rs6000_block_compare_inline_limit): Increase
default limit to 63 because of more compact vsx code.

From-SVN: r266481
gcc/ChangeLog
gcc/config/rs6000/rs6000-string.c
gcc/config/rs6000/rs6000.opt