3: RETGUARD_CHECK(memmove, r10)
ret
lfence
+END(bcopy)
+END(memmove)
+END(memcpy)
RETGUARD_CHECK(scanc, r10)
ret
lfence
+END(scanc)
RETGUARD_CHECK(skpc, r10)
ret
lfence
+END(skpc)
-/* $OpenBSD: strchr.S,v 1.6 2022/12/07 18:25:32 guenther Exp $ */
+/* $OpenBSD: strchr.S,v 1.7 2022/12/07 19:26:39 guenther Exp $ */
/* $NetBSD: strchr.S,v 1.7 2014/03/22 19:16:34 jakllsch Exp $ */
/*-
sar %cl,%r10 /* top bytes 0xff */
and %r10,%rax /* clear lsb from unwanted low bytes */
jmp 21b
+END(strchr)
-/* $OpenBSD: strcmp.S,v 1.5 2022/12/07 18:25:33 guenther Exp $ */
+/* $OpenBSD: strcmp.S,v 1.6 2022/12/07 19:26:39 guenther Exp $ */
/* $NetBSD: strcmp.S,v 1.2 2014/03/22 19:16:34 jakllsch Exp $ */
/*
RETGUARD_CHECK(strcmp, r10)
ret
lfence
+END(strcmp)
-/* $OpenBSD: strlen.S,v 1.9 2022/12/07 18:25:33 guenther Exp $ */
+/* $OpenBSD: strlen.S,v 1.10 2022/12/07 19:26:39 guenther Exp $ */
/* $NetBSD: strlen.S,v 1.6 2014/03/22 19:16:34 jakllsch Exp $ */
/*-
dec %rsi
or %rsi,%rdx /* low bytes now non-zero */
jmp 2b
+END(strlen)
-/* $OpenBSD: strrchr.S,v 1.5 2022/12/07 18:25:33 guenther Exp $ */
+/* $OpenBSD: strrchr.S,v 1.6 2022/12/07 19:26:39 guenther Exp $ */
/* $NetBSD: strrchr.S,v 1.3 2014/03/22 19:16:34 jakllsch Exp $ */
/*
RETGUARD_CHECK(strrchr, r10)
ret
lfence
+END(strrchr)