This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Without this we aren't getting proper memcpy inlining on RISC-V systems, which is particularly disastrous for Dhrystone performance on RV32IM systems. gcc/ChangeLog 2017-11-07 Andrew Waterman <[email protected]> * config/riscv/riscv-protos.h (riscv_hard_regno_nregs): New prototype. (riscv_expand_block_move): Likewise. gcc/config/riscv/riscv.h (MOVE_RATIO): Tune cost to movmemsi implementation. (RISCV_MAX_MOVE_BYTES_PER_LOOP_ITER): New define. (RISCV_MAX_MOVE_BYTES_STRAIGHT): New define. gcc/config/riscv/riscv.c (riscv_block_move_straight): New function. (riscv_adjust_block_mem): Likewise. (riscv_block_move_loop): Likewise. (riscv_expand_block_move): Likewise. gcc/config/riscv/riscv.md (movmemsi): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254501 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
1 parent
605bc7b
commit b731149
Showing
5 changed files
with
204 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
2017-11-07 Andrew Waterman <[email protected]> | ||
|
||
* config/riscv/riscv-protos.h (riscv_hard_regno_nregs): New | ||
prototype. | ||
(riscv_expand_block_move): Likewise. | ||
gcc/config/riscv/riscv.h (MOVE_RATIO): Tune cost to movmemsi | ||
implementation. | ||
(RISCV_MAX_MOVE_BYTES_PER_LOOP_ITER): New define. | ||
(RISCV_MAX_MOVE_BYTES_STRAIGHT): New define. | ||
gcc/config/riscv/riscv.c (riscv_block_move_straight): New | ||
function. | ||
(riscv_adjust_block_mem): Likewise. | ||
(riscv_block_move_loop): Likewise. | ||
(riscv_expand_block_move): Likewise. | ||
gcc/config/riscv/riscv.md (movmemsi): New pattern. | ||
|
||
2017-11-07 Michael Clark <[email protected]> | ||
|
||
* config/riscv/linux.h (MUSL_ABI_SUFFIX): New define. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters