x86-64: Fix ifdef indentation in strlen-evex.S
Commit Message
Fix some indentations of ifdef in file strlen-evex.S which are off by 1
and confusing to read.
---
sysdeps/x86_64/multiarch/strlen-evex.S | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Comments
On Thu, Apr 1, 2021 at 3:47 PM Sunil K Pandey <skpgkp2@gmail.com> wrote:
>
> Fix some indentations of ifdef in file strlen-evex.S which are off by 1
> and confusing to read.
> ---
> sysdeps/x86_64/multiarch/strlen-evex.S | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/sysdeps/x86_64/multiarch/strlen-evex.S b/sysdeps/x86_64/multiarch/strlen-evex.S
> index cd022509cb..0583819078 100644
> --- a/sysdeps/x86_64/multiarch/strlen-evex.S
> +++ b/sysdeps/x86_64/multiarch/strlen-evex.S
> @@ -276,10 +276,10 @@ L(last_2x_vec):
> .p2align 4
> L(first_vec_x0_check):
> tzcntl %eax, %eax
> -# ifdef USE_AS_WCSLEN
> +# ifdef USE_AS_WCSLEN
> /* NB: Multiply wchar_t count by 4 to get the number of bytes. */
> sall $2, %eax
> -# endif
> +# endif
> /* Check the end of data. */
> cmpq %rax, %rsi
> jbe L(max)
> @@ -293,10 +293,10 @@ L(first_vec_x0_check):
> .p2align 4
> L(first_vec_x1_check):
> tzcntl %eax, %eax
> -# ifdef USE_AS_WCSLEN
> +# ifdef USE_AS_WCSLEN
> /* NB: Multiply wchar_t count by 4 to get the number of bytes. */
> sall $2, %eax
> -# endif
> +# endif
> /* Check the end of data. */
> cmpq %rax, %rsi
> jbe L(max)
> @@ -311,10 +311,10 @@ L(first_vec_x1_check):
> .p2align 4
> L(first_vec_x2_check):
> tzcntl %eax, %eax
> -# ifdef USE_AS_WCSLEN
> +# ifdef USE_AS_WCSLEN
> /* NB: Multiply wchar_t count by 4 to get the number of bytes. */
> sall $2, %eax
> -# endif
> +# endif
> /* Check the end of data. */
> cmpq %rax, %rsi
> jbe L(max)
> @@ -329,10 +329,10 @@ L(first_vec_x2_check):
> .p2align 4
> L(first_vec_x3_check):
> tzcntl %eax, %eax
> -# ifdef USE_AS_WCSLEN
> +# ifdef USE_AS_WCSLEN
> /* NB: Multiply wchar_t count by 4 to get the number of bytes. */
> sall $2, %eax
> -# endif
> +# endif
> /* Check the end of data. */
> cmpq %rax, %rsi
> jbe L(max)
> --
> 2.30.2
>
LGTM. I will check it for you.
Thanks.
@@ -276,10 +276,10 @@ L(last_2x_vec):
.p2align 4
L(first_vec_x0_check):
tzcntl %eax, %eax
-# ifdef USE_AS_WCSLEN
+# ifdef USE_AS_WCSLEN
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
sall $2, %eax
-# endif
+# endif
/* Check the end of data. */
cmpq %rax, %rsi
jbe L(max)
@@ -293,10 +293,10 @@ L(first_vec_x0_check):
.p2align 4
L(first_vec_x1_check):
tzcntl %eax, %eax
-# ifdef USE_AS_WCSLEN
+# ifdef USE_AS_WCSLEN
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
sall $2, %eax
-# endif
+# endif
/* Check the end of data. */
cmpq %rax, %rsi
jbe L(max)
@@ -311,10 +311,10 @@ L(first_vec_x1_check):
.p2align 4
L(first_vec_x2_check):
tzcntl %eax, %eax
-# ifdef USE_AS_WCSLEN
+# ifdef USE_AS_WCSLEN
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
sall $2, %eax
-# endif
+# endif
/* Check the end of data. */
cmpq %rax, %rsi
jbe L(max)
@@ -329,10 +329,10 @@ L(first_vec_x2_check):
.p2align 4
L(first_vec_x3_check):
tzcntl %eax, %eax
-# ifdef USE_AS_WCSLEN
+# ifdef USE_AS_WCSLEN
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
sall $2, %eax
-# endif
+# endif
/* Check the end of data. */
cmpq %rax, %rsi
jbe L(max)