memcpy and memset for AArch64, from overlapping loads and LDP/STP Q pairs. Every build checks every size up to 1,024 bytes at all 64 alignments.
Size test: every size from 0 to 1,024 at all 64 alignmentsAug 25
1# Verified builds for neon-mem. Both routines are assembled for AArch64, then
2# the size test runs under Linux on an AArch64 CPU or qemu-aarch64.
4[project]
5isa = "arm64"
6assembler = "gas"
7target = "AArch64 Linux, AAPCS64"
9[[step]]
10name = "assemble memcpy"
11run = ["clang", "--target=aarch64-linux-gnu", "-c", "-g", "-o", "build/memcpy.o", "src/memcpy.S"]
14name = "assemble memset"
15run = ["clang", "--target=aarch64-linux-gnu", "-c", "-g", "-o", "build/memset.o", "src/memset.S"]
18name = "link the size test"
19run = ["clang", "--target=aarch64-linux-gnu", "-O2", "-ffreestanding", "-nostdlib", "-static", "-fuse-ld=lld", "-o", "build/sizes", "test/sizes.c", "build/memcpy.o", "build/memset.o"]
21[[step]]
22name = "every size and alignment"
23on = "linux"
24run = ["./build/sizes"]
25expect = "131200 calls, 0 failures"
28path = "build/memcpy.o"