diff options
Diffstat (limited to 'sysdeps/x86_64/multiarch/strlen-vec.S')
-rw-r--r-- | sysdeps/x86_64/multiarch/strlen-vec.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/x86_64/multiarch/strlen-vec.S b/sysdeps/x86_64/multiarch/strlen-vec.S index b7657282bd..42b6124dfd 100644 --- a/sysdeps/x86_64/multiarch/strlen-vec.S +++ b/sysdeps/x86_64/multiarch/strlen-vec.S @@ -1,5 +1,5 @@ /* SSE2 version of strlen and SSE4.1 version of wcslen. - Copyright (C) 2012-2021 Free Software Foundation, Inc. + Copyright (C) 2012-2022 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -66,8 +66,8 @@ ENTRY(strlen) L(n_nonzero): # ifdef AS_WCSLEN /* Check for overflow from maxlen * sizeof(wchar_t). If it would - overflow the only way this program doesn't have undefined behavior - is if there is a null terminator in valid memory so wcslen will + overflow the only way this program doesn't have undefined behavior + is if there is a null terminator in valid memory so wcslen will suffice. */ mov %RSI_LP, %R10_LP sar $62, %R10_LP |