|
|
190885 |
From b1ecc9d86746b8c0285935eae99c31ede19a7d9e Mon Sep 17 00:00:00 2001
|
|
|
190885 |
From: Sunil K Pandey <skpgkp2@gmail.com>
|
|
|
190885 |
Date: Thu, 1 Apr 2021 15:47:04 -0700
|
|
|
190885 |
Subject: [PATCH] x86-64: Fix ifdef indentation in strlen-evex.S
|
|
|
190885 |
|
|
|
190885 |
Fix some indentations of ifdef in file strlen-evex.S which are off by 1
|
|
|
190885 |
and confusing to read.
|
|
|
190885 |
|
|
|
190885 |
(cherry picked from commit 595c22ecd8e87a27fd19270ed30fdbae9ad25426)
|
|
|
190885 |
---
|
|
|
190885 |
sysdeps/x86_64/multiarch/strlen-evex.S | 16 ++++++++--------
|
|
|
190885 |
1 file changed, 8 insertions(+), 8 deletions(-)
|
|
|
190885 |
|
|
|
190885 |
diff --git a/sysdeps/x86_64/multiarch/strlen-evex.S b/sysdeps/x86_64/multiarch/strlen-evex.S
|
|
|
190885 |
index cd022509..05838190 100644
|
|
|
190885 |
--- a/sysdeps/x86_64/multiarch/strlen-evex.S
|
|
|
190885 |
+++ b/sysdeps/x86_64/multiarch/strlen-evex.S
|
|
|
190885 |
@@ -276,10 +276,10 @@ L(last_2x_vec):
|
|
|
190885 |
.p2align 4
|
|
|
190885 |
L(first_vec_x0_check):
|
|
|
190885 |
tzcntl %eax, %eax
|
|
|
190885 |
-# ifdef USE_AS_WCSLEN
|
|
|
190885 |
+# ifdef USE_AS_WCSLEN
|
|
|
190885 |
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
|
|
|
190885 |
sall $2, %eax
|
|
|
190885 |
-# endif
|
|
|
190885 |
+# endif
|
|
|
190885 |
/* Check the end of data. */
|
|
|
190885 |
cmpq %rax, %rsi
|
|
|
190885 |
jbe L(max)
|
|
|
190885 |
@@ -293,10 +293,10 @@ L(first_vec_x0_check):
|
|
|
190885 |
.p2align 4
|
|
|
190885 |
L(first_vec_x1_check):
|
|
|
190885 |
tzcntl %eax, %eax
|
|
|
190885 |
-# ifdef USE_AS_WCSLEN
|
|
|
190885 |
+# ifdef USE_AS_WCSLEN
|
|
|
190885 |
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
|
|
|
190885 |
sall $2, %eax
|
|
|
190885 |
-# endif
|
|
|
190885 |
+# endif
|
|
|
190885 |
/* Check the end of data. */
|
|
|
190885 |
cmpq %rax, %rsi
|
|
|
190885 |
jbe L(max)
|
|
|
190885 |
@@ -311,10 +311,10 @@ L(first_vec_x1_check):
|
|
|
190885 |
.p2align 4
|
|
|
190885 |
L(first_vec_x2_check):
|
|
|
190885 |
tzcntl %eax, %eax
|
|
|
190885 |
-# ifdef USE_AS_WCSLEN
|
|
|
190885 |
+# ifdef USE_AS_WCSLEN
|
|
|
190885 |
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
|
|
|
190885 |
sall $2, %eax
|
|
|
190885 |
-# endif
|
|
|
190885 |
+# endif
|
|
|
190885 |
/* Check the end of data. */
|
|
|
190885 |
cmpq %rax, %rsi
|
|
|
190885 |
jbe L(max)
|
|
|
190885 |
@@ -329,10 +329,10 @@ L(first_vec_x2_check):
|
|
|
190885 |
.p2align 4
|
|
|
190885 |
L(first_vec_x3_check):
|
|
|
190885 |
tzcntl %eax, %eax
|
|
|
190885 |
-# ifdef USE_AS_WCSLEN
|
|
|
190885 |
+# ifdef USE_AS_WCSLEN
|
|
|
190885 |
/* NB: Multiply wchar_t count by 4 to get the number of bytes. */
|
|
|
190885 |
sall $2, %eax
|
|
|
190885 |
-# endif
|
|
|
190885 |
+# endif
|
|
|
190885 |
/* Check the end of data. */
|
|
|
190885 |
cmpq %rax, %rsi
|
|
|
190885 |
jbe L(max)
|
|
|
190885 |
--
|
|
|
190885 |
GitLab
|
|
|
190885 |
|