diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2023-10-16 13:57:43 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2023-10-16 14:02:15 -0600 |
commit | 328745607c5d403a1c7b6bc2ecaa1574ee42122f (patch) | |
tree | 7c8e1a4f9a01195c5d4f7bb336ea0fd7ed1faeba /gcc/rust/backend/rust-compile-struct-field-expr.h | |
parent | c92737722ffff85c759247f96f281438bbf1418d (diff) | |
download | gcc-328745607c5d403a1c7b6bc2ecaa1574ee42122f.zip gcc-328745607c5d403a1c7b6bc2ecaa1574ee42122f.tar.gz gcc-328745607c5d403a1c7b6bc2ecaa1574ee42122f.tar.bz2 |
RISC-V: NFC: Move scalar block move expansion code into riscv-string.cc
This just moves a few functions out of riscv.cc into riscv-string.cc in an
attempt to keep riscv.cc manageable. This was originally Christoph's code and
I'm just pushing it on his behalf.
Full disclosure: I built rv64gc after changing to verify everything still
builds. Given it was just lifting code from one place to another, I didn't run
the testsuite.
gcc/
* config/riscv/riscv-protos.h (emit_block_move): Remove redundant
prototype. Improve comment.
* config/riscv/riscv.cc (riscv_block_move_straight): Move from riscv.cc
into riscv-string.cc.
(riscv_adjust_block_mem, riscv_block_move_loop): Likewise.
(riscv_expand_block_move): Likewise.
* config/riscv/riscv-string.cc (riscv_block_move_straight): Add moved
function.
(riscv_adjust_block_mem, riscv_block_move_loop): Likewise.
(riscv_expand_block_move): Likewise.
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.h')
0 files changed, 0 insertions, 0 deletions