]> gcc.gnu.org Git - gcc.git/commit
AArch64: Cleanup memset expansion
authorWilco Dijkstra <wilco.dijkstra@arm.com>
Wed, 21 Feb 2024 23:34:37 +0000 (23:34 +0000)
committerWilco Dijkstra <wilco.dijkstra@arm.com>
Fri, 26 Apr 2024 17:25:22 +0000 (18:25 +0100)
commit6b86f71165de9ee64fb76489c04ce032dd74ac21
treefcd34fa33f01351fb11b7927ae00631467052d3b
parent768fbb56b3285b2a3cf067881e745e0f8caec215
AArch64: Cleanup memset expansion

Cleanup memset implementation.  Similar to memcpy/memmove, use an offset and
bytes throughout.  Simplify the complex calculations when optimizing for size
by using a fixed limit.

gcc/ChangeLog:
* config/aarch64/aarch64.cc (MAX_SET_SIZE): New define.
(aarch64_progress_pointer): Remove function.
(aarch64_set_one_block_and_progress_pointer): Simplify and clean up.
(aarch64_expand_setmem): Clean up implementation, use byte offsets,
simplify size calculation.
gcc/config/aarch64/aarch64.cc
This page took 0.108004 seconds and 5 git commands to generate.