aboutsummaryrefslogtreecommitdiff
path: root/string/aarch64/strcpy-sve.S
diff options
context:
space:
mode:
authorKinsey Moore <wkmoore@gmail.com>2020-12-11 14:24:26 -0600
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2020-12-17 13:15:41 +0000
commitafd6244a1f8d92299967d3d50e6f6a1466da413f (patch)
treedcdff0861f1ec286a702901de0914d748c4c2f56 /string/aarch64/strcpy-sve.S
parent58af293330a412b593375b84c57e5f8968425db7 (diff)
downloadarm-optimized-routines-afd6244a1f8d92299967d3d50e6f6a1466da413f.tar.gz
string: Add support for ILP32 ABI
This adds sanitization of padding bits for pointers and size_t types as required by ARM aapcs64 for the AArch64 ILP32 ABI.
Diffstat (limited to 'string/aarch64/strcpy-sve.S')
-rw-r--r--string/aarch64/strcpy-sve.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/string/aarch64/strcpy-sve.S b/string/aarch64/strcpy-sve.S
index a785d45..550132b 100644
--- a/string/aarch64/strcpy-sve.S
+++ b/string/aarch64/strcpy-sve.S
@@ -25,6 +25,8 @@
#endif
ENTRY_ALIGN (FUNC, 4)
+ PTR_ARG (0)
+ PTR_ARG (1)
setffr /* initialize FFR */
ptrue p2.b, all /* all ones; loop invariant */
mov x2, 0 /* initialize offset */