Re: [PATCH 5/7] RISC-V: Move vector memcpy decision making to separate function [NFC]

2024-10-19 Thread Jeff Law
On 10/18/24 7:12 AM, Craig Blackmore wrote: This moves the code for deciding whether to generate a vectorized memcpy, what vector mode to use and whether a loop is needed out of riscv_vector::expand_block_move and into a new function riscv_vector::use_stringop_p so that it can be reused for ot

[PATCH 5/7] RISC-V: Move vector memcpy decision making to separate function [NFC]

2024-10-18 Thread Craig Blackmore
This moves the code for deciding whether to generate a vectorized memcpy, what vector mode to use and whether a loop is needed out of riscv_vector::expand_block_move and into a new function riscv_vector::use_stringop_p so that it can be reused for other string operations. gcc/ChangeLog: *