aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2023-05-30 23:02:29 +0000
commit65cc53fe7c6556b90159b8c3da1eb283792387db (patch)
tree879c71521e54f86942bf3ba2a39f9b4bc2dfb915 /sysdeps/s390
parent4d0fe291aed3a476a3b59c4ecfae9d35ac0f15e8 (diff)
downloadglibc-65cc53fe7c6556b90159b8c3da1eb283792387db.zip
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.gz
glibc-65cc53fe7c6556b90159b8c3da1eb283792387db.tar.bz2
Fix misspellings in sysdeps/ -- BZ 25337
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/memchr-vx.S2
-rw-r--r--sysdeps/s390/memcpy-z900.S2
-rw-r--r--sysdeps/s390/memset-z900.S2
-rw-r--r--sysdeps/s390/multiarch/8bit-generic.c14
-rw-r--r--sysdeps/s390/s390-32/setjmp.S6
-rw-r--r--sysdeps/s390/s390-32/start.S2
-rw-r--r--sysdeps/s390/s390-64/setjmp.S6
-rw-r--r--sysdeps/s390/s390-64/strncpy-z900.S2
-rw-r--r--sysdeps/s390/stpncpy-vx.S2
-rw-r--r--sysdeps/s390/strcspn-vx.S2
-rw-r--r--sysdeps/s390/strncmp-vx.S2
-rw-r--r--sysdeps/s390/strpbrk-vx.S2
-rw-r--r--sysdeps/s390/strrchr-vx.S6
-rw-r--r--sysdeps/s390/strspn-vx.S2
-rw-r--r--sysdeps/s390/utf16-utf32-z9.c4
-rw-r--r--sysdeps/s390/utf8-utf16-z9.c4
-rw-r--r--sysdeps/s390/utf8-utf32-z9.c4
-rw-r--r--sysdeps/s390/wcpncpy-vx.S2
-rw-r--r--sysdeps/s390/wcscmp-vx.S2
-rw-r--r--sysdeps/s390/wcscspn-vx.S2
-rw-r--r--sysdeps/s390/wcsncmp-vx.S4
-rw-r--r--sysdeps/s390/wcspbrk-vx.S2
-rw-r--r--sysdeps/s390/wcsrchr-vx.S6
-rw-r--r--sysdeps/s390/wcsspn-vx.S2
-rw-r--r--sysdeps/s390/wmemchr-vx.S2
25 files changed, 43 insertions, 43 deletions
diff --git a/sysdeps/s390/memchr-vx.S b/sysdeps/s390/memchr-vx.S
index aa0a65e..c7c601a 100644
--- a/sysdeps/s390/memchr-vx.S
+++ b/sysdeps/s390/memchr-vx.S
@@ -96,7 +96,7 @@ ENTRY(MEMCHR_Z13)
aghi %r5,16
.Llastcmp:
- /* Use comparision result only if located within first n characters.
+ /* Use comparison result only if located within first n characters.
%r5: current_len;
%r4: n;
(current_len - n): [0...16[
diff --git a/sysdeps/s390/memcpy-z900.S b/sysdeps/s390/memcpy-z900.S
index b7843f7..fe77e37 100644
--- a/sysdeps/s390/memcpy-z900.S
+++ b/sysdeps/s390/memcpy-z900.S
@@ -110,7 +110,7 @@ ENTRY(__memcpy_mvcle)
LGR %r2,%r1 # destination address
LGR %r3,%r5 # destination length = source length
.L_MVCLE_1:
- mvcle %r2,%r4,0 # thats it, MVCLE is your friend
+ mvcle %r2,%r4,0 # that's it, MVCLE is your friend
jo .L_MVCLE_1
LGR %r2,%r0 # return destination address
br %r14
diff --git a/sysdeps/s390/memset-z900.S b/sysdeps/s390/memset-z900.S
index 7a90415..964c872 100644
--- a/sysdeps/s390/memset-z900.S
+++ b/sysdeps/s390/memset-z900.S
@@ -166,7 +166,7 @@ ENTRY(__memset_mvcle)
lgr %r3,%r4 # move length to r3
sgr %r4,%r4 # no source for MVCLE, only a pad byte
sgr %r5,%r5
-.L0: mvcle %r2,%r4,0(%r1) # thats it, MVCLE is your friend
+.L0: mvcle %r2,%r4,0(%r1) # that's it, MVCLE is your friend
jo .L0
lgr %r2,%r0 # return value is source address
.L1:
diff --git a/sysdeps/s390/multiarch/8bit-generic.c b/sysdeps/s390/multiarch/8bit-generic.c
index e90c322..3b5f5e7 100644
--- a/sysdeps/s390/multiarch/8bit-generic.c
+++ b/sysdeps/s390/multiarch/8bit-generic.c
@@ -34,7 +34,7 @@
# undef from_generic
# undef to_generic
-/* Generate the converion routines with vector instructions. The vector
+/* Generate the conversion routines with vector instructions. The vector
routines can only be used with charsets where the maximum UCS4 value
fits in 1 byte size. Then the hardware translate-instruction is used
to translate between multiple generic characters and "1 byte UCS4"
@@ -172,7 +172,7 @@
ASM_CLOBBER_VR ("v21") ASM_CLOBBER_VR ("v22") \
ASM_CLOBBER_VR ("v23") ASM_CLOBBER_VR ("v24") \
); \
- /* Error occured? */ \
+ /* Error occurred? */ \
if (loop_count != 0) \
{ \
/* Found an invalid character! */ \
@@ -278,8 +278,8 @@
ASM_CLOBBER_VR ("v20") ASM_CLOBBER_VR ("v21") \
ASM_CLOBBER_VR ("v22") \
); \
- /* Error occured in step 1? An error (ch >= max || ch == 0) \
- occured, if remaining_loop_count > 0. The error occured \
+ /* Error occurred in step 1? An error (ch >= max || ch == 0) \
+ occurred, if remaining_loop_count > 0. The error occurred \
at character-index (index) after already processed blocks. */ \
loop_count -= remaining_loop_count; \
if (loop_count > 0) \
@@ -321,15 +321,15 @@
ASM_CLOBBER_VR ("v16") \
ASM_CLOBBER_VR ("v17") \
); \
- /* Error occured in processed bytes of step 2? \
- Thus possible error in step 1 is obselete.*/ \
+ /* Error occurred in processed bytes of step 2? \
+ Thus possible error in step 1 is obsolete.*/ \
if (tmp < 16) \
{ \
index = tmp; \
inptr -= loop_count * 64; \
} \
} \
- /* Error occured in step 1/2? */ \
+ /* Error occurred in step 1/2? */ \
if (index < 16) \
{ \
/* Found an invalid character (see step 2) or zero \
diff --git a/sysdeps/s390/s390-32/setjmp.S b/sysdeps/s390/s390-32/setjmp.S
index d9f476f..2525932 100644
--- a/sysdeps/s390/s390-32/setjmp.S
+++ b/sysdeps/s390/s390-32/setjmp.S
@@ -38,13 +38,13 @@
/* We include the BSD entry points here as well. */
ENTRY (setjmp)
lhi %r3,1 /* second argument of one */
- j .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+ j .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
END (setjmp)
/* Binary compatibility entry point. */
ENTRY(_setjmp)
lhi %r3,0 /* second argument of zero */
- j .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+ j .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
END (_setjmp)
#if NEED_COMPAT_SYMBOLS
strong_alias (_setjmp, __GI__setjmp)
@@ -54,7 +54,7 @@ libc_hidden_def (_setjmp)
ENTRY(__setjmp)
lhi %r3,0 /* second argument of zero */
- j .Linternal_sigsetjmp /* branch relativ to __sigsetjmp */
+ j .Linternal_sigsetjmp /* branch relative to __sigsetjmp */
END (__setjmp)
ENTRY(__sigsetjmp)
diff --git a/sysdeps/s390/s390-32/start.S b/sysdeps/s390/s390-32/start.S
index eb84e7f..23166f6 100644
--- a/sysdeps/s390/s390-32/start.S
+++ b/sysdeps/s390/s390-32/start.S
@@ -80,7 +80,7 @@ _start:
/* Usually the auxiliary vector can be expected directly after
the environment variables. But we have to skip extra zeros
- because the loader might have removed unsecure variables for
+ because the loader might have removed insecure variables for
setuid programs. */
.L26: l %r5,0(%r6)
diff --git a/sysdeps/s390/s390-64/setjmp.S b/sysdeps/s390/s390-64/setjmp.S
index a953353..b1df220 100644
--- a/sysdeps/s390/s390-64/setjmp.S
+++ b/sysdeps/s390/s390-64/setjmp.S
@@ -38,13 +38,13 @@
/* We include the BSD entry points here as well. */
ENTRY (setjmp)
lghi %r3,1 /* Second argument of one. */
- j .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp. */
+ j .Linternal_sigsetjmp /* Branch relative to __sigsetjmp. */
END (setjmp)
/* Binary compatibility entry point. */
ENTRY(_setjmp)
slgr %r3,%r3 /* Second argument of zero. */
- j .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp. */
+ j .Linternal_sigsetjmp /* Branch relative to __sigsetjmp. */
END (_setjmp)
#if NEED_COMPAT_SYMBOLS
strong_alias (_setjmp, __GI__setjmp)
@@ -54,7 +54,7 @@ libc_hidden_def (_setjmp)
ENTRY(__setjmp)
slgr %r3,%r3 /* Second argument of zero. */
- j .Linternal_sigsetjmp /* Branch relativ to __sigsetjmp. */
+ j .Linternal_sigsetjmp /* Branch relative to __sigsetjmp. */
END (__setjmp)
ENTRY(__sigsetjmp)
diff --git a/sysdeps/s390/s390-64/strncpy-z900.S b/sysdeps/s390/s390-64/strncpy-z900.S
index 5d39243..97b725e 100644
--- a/sysdeps/s390/s390-64/strncpy-z900.S
+++ b/sysdeps/s390/s390-64/strncpy-z900.S
@@ -52,7 +52,7 @@ ENTRY(STRNCPY_Z900_G5)
jz .L8
icm %r0,2,6(%r3) # seventh byte
jz .L9
- icm %r0,1,7(%r3) # eigth byte
+ icm %r0,1,7(%r3) # eighth byte
jz .L10
stg %r0,0(%r2,%r3) # store all eight to dest.
la %r3,8(%r3)
diff --git a/sysdeps/s390/stpncpy-vx.S b/sysdeps/s390/stpncpy-vx.S
index 02e36dc..a11b195 100644
--- a/sysdeps/s390/stpncpy-vx.S
+++ b/sysdeps/s390/stpncpy-vx.S
@@ -157,7 +157,7 @@ ENTRY(STPNCPY_Z13)
lgr %r0,%r2 /* Save return-pointer to found zero. */
clgije %r4,1,.Lend /* Skip zero-filling, if found zero is last
possible character.
- (1 is substracted from r4 below!). */
+ (1 is subtracted from r4 below!). */
aghi %r4,-2 /* mvc with exrl needs count - 1.
(additional -1, see remaining bytes above) */
srlg %r6,%r4,8 /* Split into 256 byte blocks. */
diff --git a/sysdeps/s390/strcspn-vx.S b/sysdeps/s390/strcspn-vx.S
index 340e4c6..f48bc5d 100644
--- a/sysdeps/s390/strcspn-vx.S
+++ b/sysdeps/s390/strcspn-vx.S
@@ -250,7 +250,7 @@ ENTRY(STRCSPN_Z13)
character in this part of reject
is a zero. */
/* r8>0 -> zero found in this acc-part. */
- vrepb %v18,%v17,0 /* Replicate first char accross all chars. */
+ vrepb %v18,%v17,0 /* Replicate first char across all chars. */
vceqb %v22,%v20,%v17 /* Create a mask (v22) of null chars
by comparing with 0 (v20). */
vsel %v17,%v18,%v17,%v22 /* Replace null chars with first char. */
diff --git a/sysdeps/s390/strncmp-vx.S b/sysdeps/s390/strncmp-vx.S
index 0b15ea5..ff8238d 100644
--- a/sysdeps/s390/strncmp-vx.S
+++ b/sysdeps/s390/strncmp-vx.S
@@ -110,7 +110,7 @@ ENTRY(STRNCMP_Z13)
j .Lloop
.Llastcmp:
- /* Use comparision result only if located within first n characters.
+ /* Use comparison result only if located within first n characters.
%r0: loaded byte count in vreg;
%r5: current_len;
%r4: n;
diff --git a/sysdeps/s390/strpbrk-vx.S b/sysdeps/s390/strpbrk-vx.S
index 3ac123a..bc7513b 100644
--- a/sysdeps/s390/strpbrk-vx.S
+++ b/sysdeps/s390/strpbrk-vx.S
@@ -262,7 +262,7 @@ ENTRY(STRPBRK_Z13)
if first char in this part of accept
is a zero. */
/* r8>0 -> zero found in this acc-part. */
- vrepb %v18,%v17,0 /* Replicate first char accross all chars. */
+ vrepb %v18,%v17,0 /* Replicate first char across all chars. */
vceqb %v22,%v20,%v17 /* Create a mask (v22) of null chars
by comparing with 0 (v20). */
vsel %v17,%v18,%v17,%v22 /* Replace null chars with first char. */
diff --git a/sysdeps/s390/strrchr-vx.S b/sysdeps/s390/strrchr-vx.S
index 70b9534..2091c13 100644
--- a/sysdeps/s390/strrchr-vx.S
+++ b/sysdeps/s390/strrchr-vx.S
@@ -30,7 +30,7 @@
Register usage:
-r0=loaded bytes in first part of s.
- -r1=pointer to last occurence of c or NULL if not found.
+ -r1=pointer to last occurrence of c or NULL if not found.
-r2=s
-r3=c
-r4=tmp
@@ -38,7 +38,7 @@
-v16=part of s
-v17=index of found element
-v18=replicated c
- -v19=part of s with last occurence of c.
+ -v19=part of s with last occurrence of c.
-v20=permute pattern
*/
ENTRY(STRRCHR_Z13)
@@ -99,7 +99,7 @@ ENTRY(STRRCHR_Z13)
j .Lloop
.Lfound_first_part:
- /* This code is only executed if the found c/zero is whithin loaded
+ /* This code is only executed if the found c/zero is within loaded
bytes. If no c/zero was found (cc==3) the found index = 16, thus
this code is not called.
Resulting condition code of vector find element equal:
diff --git a/sysdeps/s390/strspn-vx.S b/sysdeps/s390/strspn-vx.S
index 4af597a..8c77698 100644
--- a/sysdeps/s390/strspn-vx.S
+++ b/sysdeps/s390/strspn-vx.S
@@ -238,7 +238,7 @@ ENTRY(STRSPN_Z13)
clije %r8,0,.Lslow_add_lbc_end /* End if zero is first character
in this part of accept-string. */
/* r8>0 -> zero found in this acc-part. */
- vrepb %v18,%v17,0 /* Replicate first char accross all chars. */
+ vrepb %v18,%v17,0 /* Replicate first char across all chars. */
vceqb %v22,%v20,%v17 /* Create a mask (v22) of null chars
by comparing with 0 (v20). */
vsel %v17,%v18,%v17,%v22 /* Replace null chars with first char. */
diff --git a/sysdeps/s390/utf16-utf32-z9.c b/sysdeps/s390/utf16-utf32-z9.c
index 36c56cc..a20e9b6 100644
--- a/sysdeps/s390/utf16-utf32-z9.c
+++ b/sysdeps/s390/utf16-utf32-z9.c
@@ -449,7 +449,7 @@ gconv_end (struct __gconv_step *data)
" slgr %[R_OUTLEN],%[R_TMP3]\n\t" \
/* Handles UTF16 surrogates with convert instruction. */ \
"20: cu24 %[R_OUT],%[R_IN],1\n\t" \
- " jo 0b\n\t" /* Try vector implemenation again. */ \
+ " jo 0b\n\t" /* Try vector implementation again. */ \
" lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1. */ \
" lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2. */ \
".machine pop" \
@@ -760,7 +760,7 @@ gconv_end (struct __gconv_step *data)
" slgr %[R_OUTLEN],%[R_TMP3]\n\t" \
/* Handles UTF16 surrogates with convert instruction. */ \
"20: cu42 %[R_OUT],%[R_IN]\n\t" \
- " jo 0b\n\t" /* Try vector implemenation again. */ \
+ " jo 0b\n\t" /* Try vector implementation again. */ \
" lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1. */ \
" lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2. */ \
".machine pop" \
diff --git a/sysdeps/s390/utf8-utf16-z9.c b/sysdeps/s390/utf8-utf16-z9.c
index 33f7c64..c72c2ed 100644
--- a/sysdeps/s390/utf8-utf16-z9.c
+++ b/sysdeps/s390/utf8-utf16-z9.c
@@ -293,7 +293,7 @@ gconv_end (struct __gconv_step *data)
" slgr %[R_OUTLEN],%[R_TMP3]\n\t" \
/* Handle multibyte utf8-char with convert instruction. */ \
"20: cu12 %[R_OUT],%[R_IN],1\n\t" \
- " jo 0b\n\t" /* Try vector implemenation again. */ \
+ " jo 0b\n\t" /* Try vector implementation again. */ \
" lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1. */ \
" lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2. */ \
".machine pop" \
@@ -873,7 +873,7 @@ gconv_end (struct __gconv_step *data)
" slgr %[R_OUTLEN],%[R_TMP3]\n\t" \
/* Handles UTF16 surrogates with convert instruction. */ \
"20: cu21 %[R_OUT],%[R_IN],1\n\t" \
- " jo 0b\n\t" /* Try vector implemenation again. */ \
+ " jo 0b\n\t" /* Try vector implementation again. */ \
" lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1. */ \
" lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2. */ \
".machine pop" \
diff --git a/sysdeps/s390/utf8-utf32-z9.c b/sysdeps/s390/utf8-utf32-z9.c
index 55321c5..c3bb464 100644
--- a/sysdeps/s390/utf8-utf32-z9.c
+++ b/sysdeps/s390/utf8-utf32-z9.c
@@ -541,7 +541,7 @@ gconv_end (struct __gconv_step *data)
" slgr %[R_OUTLEN],%[R_TMP3]\n\t" \
/* Handle multibyte utf8-char with convert instruction. */ \
"20: cu14 %[R_OUT],%[R_IN],1\n\t" \
- " jo 0b\n\t" /* Try vector implemenation again. */ \
+ " jo 0b\n\t" /* Try vector implementation again. */ \
" lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1. */ \
" lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2. */ \
".machine pop" \
@@ -923,7 +923,7 @@ gconv_end (struct __gconv_step *data)
" slgr %[R_INLEN],%[R_I]\n\t" \
/* Handle multibyte utf8-char with convert instruction. */ \
"20: cu41 %[R_OUT],%[R_IN]\n\t" \
- " jo 0b\n\t" /* Try vector implemenation again. */ \
+ " jo 0b\n\t" /* Try vector implementation again. */ \
" lochil %[R_RES],%[RES_OUT_FULL]\n\t" /* cc == 1. */ \
" lochih %[R_RES],%[RES_IN_ILL]\n\t" /* cc == 2. */ \
".machine pop" \
diff --git a/sysdeps/s390/wcpncpy-vx.S b/sysdeps/s390/wcpncpy-vx.S
index 3c2361b..16b68ef 100644
--- a/sysdeps/s390/wcpncpy-vx.S
+++ b/sysdeps/s390/wcpncpy-vx.S
@@ -174,7 +174,7 @@ ENTRY(WCPNCPY_Z13)
lay %r0,-3(%r2) /* Save return-pointer to found zero. */
clgije %r4,1,.Lend /* Skip zero-filling, if found-zero is last
possible character.
- (1 is substracted from r4 below!). */
+ (1 is subtracted from r4 below!). */
aghi %r4,-2 /* mvc with exrl needs count - 1.
(additional -1, see remaining bytes above) */
srlg %r6,%r4,8 /* Split into 256 byte blocks. */
diff --git a/sysdeps/s390/wcscmp-vx.S b/sysdeps/s390/wcscmp-vx.S
index c397eb0..0a161e0 100644
--- a/sysdeps/s390/wcscmp-vx.S
+++ b/sysdeps/s390/wcscmp-vx.S
@@ -94,7 +94,7 @@ ENTRY(WCSCMP_Z13)
vlef %v16,0(%r5,%r2),0 /* Load one character. */
vlef %v17,0(%r5,%r3),0
lghi %r1,4 /* Loaded byte count is 4. */
- j .Llt_cmp /* Proceed with comparision. */
+ j .Llt_cmp /* Proceed with comparison. */
.Llt16_1:
lcbb %r4,0(%r5,%r3),6 /* Get loaded byte count of s2. */
diff --git a/sysdeps/s390/wcscspn-vx.S b/sysdeps/s390/wcscspn-vx.S
index 857c95e..d7a9b60 100644
--- a/sysdeps/s390/wcscspn-vx.S
+++ b/sysdeps/s390/wcscspn-vx.S
@@ -255,7 +255,7 @@ ENTRY(WCSCSPN_Z13)
character in this part of reject
is a zero. */
/* r8>0 -> zero found in this acc-part. */
- vrepf %v18,%v17,0 /* Replicate first char accross all chars. */
+ vrepf %v18,%v17,0 /* Replicate first char across all chars. */
vceqf %v22,%v20,%v17 /* Create a mask (v22) of null chars
by comparing with 0 (v20). */
vsel %v17,%v18,%v17,%v22 /* Replace null chars with first char. */
diff --git a/sysdeps/s390/wcsncmp-vx.S b/sysdeps/s390/wcsncmp-vx.S
index bf4cb15..1bf769b 100644
--- a/sysdeps/s390/wcsncmp-vx.S
+++ b/sysdeps/s390/wcsncmp-vx.S
@@ -138,10 +138,10 @@ ENTRY(WCSNCMP_Z13)
vlef %v16,0(%r5,%r2),0 /* Load one character. */
lghi %r0,4 /* Loaded byte count is 4. */
vlef %v17,0(%r5,%r3),0
- j .Llt_cmp /* Proceed with comparision. */
+ j .Llt_cmp /* Proceed with comparison. */
.Llastcmp:
- /* Use comparision result only if located within first n characters.
+ /* Use comparison result only if located within first n characters.
%r0: loaded byte count in vreg;
%r5: current_len;
%r4: n;
diff --git a/sysdeps/s390/wcspbrk-vx.S b/sysdeps/s390/wcspbrk-vx.S
index 7b96bd3..294ab5a 100644
--- a/sysdeps/s390/wcspbrk-vx.S
+++ b/sysdeps/s390/wcspbrk-vx.S
@@ -268,7 +268,7 @@ ENTRY(WCSPBRK_Z13)
If first char in this part of accept
is a zero. */
/* r8>0 -> zero found in this acc-part. */
- vrepf %v18,%v17,0 /* Replicate first char accross all chars. */
+ vrepf %v18,%v17,0 /* Replicate first char across all chars. */
vceqf %v22,%v20,%v17 /* Create a mask (v22) of null chars
by comparing with 0 (v20). */
vsel %v17,%v18,%v17,%v22 /* Replace null chars with first char. */
diff --git a/sysdeps/s390/wcsrchr-vx.S b/sysdeps/s390/wcsrchr-vx.S
index 7903d7e..3465ee3 100644
--- a/sysdeps/s390/wcsrchr-vx.S
+++ b/sysdeps/s390/wcsrchr-vx.S
@@ -29,7 +29,7 @@
Register usage:
-r0=loaded bytes in first part of s.
- -r1=pointer to last occurence of c or NULL if not found.
+ -r1=pointer to last occurrence of c or NULL if not found.
-r2=s
-r3=c
-r4=tmp
@@ -37,7 +37,7 @@
-v16=part of s
-v17=index of found element
-v18=replicated c
- -v19=part of s with last occurence of c.
+ -v19=part of s with last occurrence of c.
-v20=permute pattern
*/
ENTRY(WCSRCHR_Z13)
@@ -100,7 +100,7 @@ ENTRY(WCSRCHR_Z13)
j .Lloop
.Lfound_first_part:
- /* This code is only executed if the found c/zero is whithin loaded
+ /* This code is only executed if the found c/zero is within loaded
bytes. If no c/zero was found (cc==3) the found index = 16, thus
this code is not called.
Resulting condition code of vector find element equal:
diff --git a/sysdeps/s390/wcsspn-vx.S b/sysdeps/s390/wcsspn-vx.S
index 3948110..d78ed95 100644
--- a/sysdeps/s390/wcsspn-vx.S
+++ b/sysdeps/s390/wcsspn-vx.S
@@ -245,7 +245,7 @@ ENTRY(WCSSPN_Z13)
clije %r8,0,.Lslow_add_lbc_end /* End if zero is first character
in this part of accept-string. */
/* r8>0 -> zero found in this acc-part. */
- vrepf %v18,%v17,0 /* Replicate first char accross all chars. */
+ vrepf %v18,%v17,0 /* Replicate first char across all chars. */
vceqf %v22,%v20,%v17 /* Create a mask (v22) of null chars
by comparing with 0 (v20). */
vsel %v17,%v18,%v17,%v22 /* Replace null chars with first char. */
diff --git a/sysdeps/s390/wmemchr-vx.S b/sysdeps/s390/wmemchr-vx.S
index db87299..a692858 100644
--- a/sysdeps/s390/wmemchr-vx.S
+++ b/sysdeps/s390/wmemchr-vx.S
@@ -108,7 +108,7 @@ ENTRY(WMEMCHR_Z13)
aghi %r5,16
.Llastcmp:
- /* Use comparision result only if located within first n characters.
+ /* Use comparison result only if located within first n characters.
%r5: current_len;
%r4: n;
(current_len - n): [0...16[