[PATCH v2 2/2] newlib: riscv: Align whitespace of size optimized memset()

Eric Salem <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Align the whitespace of the size optimized implementation of memset()
to match the speed optimized version.

Reviewed-by: Christian Herber <[email protected]>
Signed-off-by: Eric Salem <[email protected]>
---
 newlib/libc/machine/riscv/memset.S | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/newlib/libc/machine/riscv/memset.S b/newlib/libc/machine/riscv/memset.S
index f3ec5ac52c1f..533f66758ac2 100644
--- a/newlib/libc/machine/riscv/memset.S
+++ b/newlib/libc/machine/riscv/memset.S
@@ -51,14 +51,14 @@
 
 memset:
 #if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
-  mv a3, a0
-  beqz a2, .Ldone
+  mv     a3, a0
+  beqz   a2, .Ldone
 
 .Lset:
-  sb a1, 0(a3)
+  sb     a1, 0(a3)
   addi   a2, a2, -1
   addi   a3, a3, 1
-  bnez a2, .Lset
+  bnez   a2, .Lset
 
 .Ldone:
   ret
-- 
2.49.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.