aboutsummaryrefslogtreecommitdiff
path: root/libcpp/errors.cc
diff options
context:
space:
mode:
authorCraig Blackmore <craig.blackmore@embecosm.com>2024-10-19 07:00:47 -0600
committerJeff Law <jlaw@ventanamicro.com>2024-10-19 07:00:47 -0600
commit12deddebf63217ffe26858c4a89f7aba5133f04c (patch)
tree5345f7a07b945b85c39be00f65186c13071f0225 /libcpp/errors.cc
parentb5aa63b1c81b91fed9bbf89c0ad7551c3f98b9f6 (diff)
downloadgcc-12deddebf63217ffe26858c4a89f7aba5133f04c.zip
gcc-12deddebf63217ffe26858c4a89f7aba5133f04c.tar.gz
gcc-12deddebf63217ffe26858c4a89f7aba5133f04c.tar.bz2
[PATCH 5/7] RISC-V: Move vector memcpy decision making to separate function [NFC]
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: * config/riscv/riscv-string.cc (struct stringop_info): New. (expand_block_move): Move decision making code to... (use_vector_stringop_p): ...here.
Diffstat (limited to 'libcpp/errors.cc')
0 files changed, 0 insertions, 0 deletions