about summary refs log tree commit diff
path: root/sysdeps/aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64')
-rw-r--r--sysdeps/aarch64/atomic-machine.h2
-rw-r--r--sysdeps/aarch64/multiarch/memset_base64.S8
2 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/aarch64/atomic-machine.h b/sysdeps/aarch64/atomic-machine.h
index 0ea74866f0..6f48029d91 100644
--- a/sysdeps/aarch64/atomic-machine.h
+++ b/sysdeps/aarch64/atomic-machine.h
@@ -24,7 +24,7 @@
 #define ATOMIC_EXCHANGE_USES_CAS 0
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   ({									\
diff --git a/sysdeps/aarch64/multiarch/memset_base64.S b/sysdeps/aarch64/multiarch/memset_base64.S
index 43c0feb952..35296a6dec 100644
--- a/sysdeps/aarch64/multiarch/memset_base64.S
+++ b/sysdeps/aarch64/multiarch/memset_base64.S
@@ -102,9 +102,9 @@ L(set_long):
 	sub	count, dstend, dst
 
 	/*
-	 * Adjust count and bias for loop. By substracting extra 1 from count,
+	 * Adjust count and bias for loop. By subtracting extra 1 from count,
 	 * it is easy to use tbz instruction to check whether loop tailing
-	 * count is less than 33 bytes, so as to bypass 2 unneccesary stps.
+	 * count is less than 33 bytes, so as to bypass 2 unnecessary stps.
 	 */
 	sub	count, count, 64+16+1
 
@@ -151,9 +151,9 @@ L(zva_64):
 
 	sub	count, dstend, dst
 	/*
-	 * Adjust count and bias for loop. By substracting extra 1 from count,
+	 * Adjust count and bias for loop. By subtracting extra 1 from count,
 	 * it is easy to use tbz instruction to check whether loop tailing
-	 * count is less than 33 bytes, so as to bypass 2 unneccesary stps.
+	 * count is less than 33 bytes, so as to bypass 2 unnecessary stps.
 	 */
 	sub	count, count, 128+64+64+1
 	add	dst, dst, 128