Yao Zihong
09a94c86ca
riscv: memcpy_noalignment: Reorder to store via a3, then bump a3
Rewrite the copy micro-step from:
REG_L a4, 0(a5)
addi a3, a3, SZREG
addi a5, a5, SZREG
REG_S a4, -SZREG(a3)
to:
REG_L a4, 0(a5)
addi a5, a5, SZREG
REG_S a4, 0(a3)
addi a3, a3, SZREG
Semantics are unchanged: both read *(a5_old), write *(a3_old), and then
increment a3/a5 by SZREG. memcpy assumes non-overlapping regions, so the
reordering preserves correctness.
No functional change.
Signed-off-by: Yao Zihong <zihong.plct@isrc.iscas.ac.cn>
Reviewed-by: Peter Bergner <bergner@tenstorrent.com>
2025-10-30 17:49:21 -05:00
..
2025-10-29 12:54:10 -03:00
2025-09-11 14:48:00 -03:00
2025-09-11 14:46:07 -03:00
2025-10-03 15:19:54 -03:00
2025-09-11 14:46:07 -03:00
2025-10-17 17:03:54 +00:00
2025-10-29 12:54:12 -03:00
2025-09-11 14:46:07 -03:00
2025-09-08 15:01:18 +02:00
2025-08-16 01:44:27 +02:00
2025-10-30 15:41:07 -03:00
2025-10-30 15:41:35 -03:00
2025-09-11 14:46:07 -03:00
2025-10-30 15:41:28 -03:00
2025-10-30 15:41:35 -03:00
2025-09-09 13:53:54 +00:00
2025-09-23 10:29:24 -03:00
2025-09-08 15:01:18 +02:00
2025-09-11 14:46:07 -03:00
2025-09-23 10:29:24 -03:00
2025-10-26 12:19:53 -05:00
2025-10-01 15:15:15 +00:00
2025-10-30 17:49:21 -05:00
2025-09-11 14:46:07 -03:00
2025-09-11 14:46:07 -03:00
2025-09-11 14:46:07 -03:00
2025-10-30 15:41:35 -03:00
2025-10-29 12:53:55 -03:00
2025-03-28 12:35:53 +00:00
2025-10-29 12:54:01 -03:00
2025-10-29 12:54:14 -03:00