Skip to content

Commit

Permalink
typo fixes from codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 1, 2024
1 parent 285b50d commit 8639fef
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .packit/simde.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ License: MIT
URL: https://github.com/simd-everywhere/simde
# This value is magically replaced with the archive tar.gz file created by
# `git archive` in the process of the CI.
# Set the exsiting file `README.md` in case of creating SRPM from this RPM spec
# Set the existing file `README.md` in case of creating SRPM from this RPM spec
# file on local for testing purpose.
Source0: README.md
# A path to the CI script.
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Once the container is ready it will drop you into a bash shell in
`/opt/simde`; this is the build directory.

This will bind the parent directory (the root of the SIMDe checkout)
to `/usr/local/src/simde`; any changes to either will propogate to the
to `/usr/local/src/simde`; any changes to either will propagate to the
other, meaning you can continue using your normal development
environment and just re-run ninja in the container to (re)build SIMDe.

Expand Down
6 changes: 3 additions & 3 deletions simde/simde-align.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
**********************************************************************
*
* This is portability layer which should help iron out some
* differences across various compilers, as well as various verisons of
* differences across various compilers, as well as various versions of
* C and C++.
*
* It was originally developed for SIMD Everywhere
Expand Down Expand Up @@ -55,7 +55,7 @@
#include "hedley.h"

/* I know this seems a little silly, but some non-hosted compilers
* don't have stddef.h, so we try to accomodate them. */
* don't have stddef.h, so we try to accommodate them. */
#if !defined(SIMDE_ALIGN_SIZE_T_)
#if defined(__SIZE_TYPE__)
#define SIMDE_ALIGN_SIZE_T_ __SIZE_TYPE__
Expand Down Expand Up @@ -405,7 +405,7 @@

/* SIMDE_ALIGN_ASSUME_LIKE(Pointer, Type)
*
* Tihs is similar to SIMDE_ALIGN_ASSUME_TO, except that it takes a
* This is similar to SIMDE_ALIGN_ASSUME_TO, except that it takes a
* type instead of a numeric value. */
#if defined(SIMDE_ALIGN_OF) && defined(SIMDE_ALIGN_ASSUME_TO)
#define SIMDE_ALIGN_ASSUME_LIKE(Pointer, Type) SIMDE_ALIGN_ASSUME_TO(Pointer, SIMDE_ALIGN_OF(Type))
Expand Down
2 changes: 1 addition & 1 deletion simde/simde-complex.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

/* Support for complex math.
*
* We try to avoid inculding <complex> (in C++ mode) since it pulls in
* We try to avoid including <complex> (in C++ mode) since it pulls in
* a *lot* of code. Unfortunately this only works for GNU modes (i.e.,
* -std=gnu++14 not -std=c++14) unless you pass -fext-numeric-literals,
* but there is no way (AFAICT) to detect that flag so we have to rely
Expand Down
2 changes: 1 addition & 1 deletion simde/simde-diagnostic.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
#define SIMDE_DIAGNOSTIC_DISABLE_CAST_FUNCTION_TYPE_
#endif

/* clang will emit this warning when we use C99 extensions whan not in
/* clang will emit this warning when we use C99 extensions when not in
* C99 mode, even though it does support this. In such cases we check
* the compiler and version first, so we know it's not a problem. */
#if HEDLEY_HAS_WARNING("-Wc99-extensions")
Expand Down
2 changes: 1 addition & 1 deletion simde/simde-f16.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SIMDE_BEGIN_DECLS_
* that on Arm since it would break compatibility with the NEON F16
* functions. */
#define SIMDE_FLOAT16_API_FP16_NO_ABI 3
/* This is basically __fp16 as specified by Arm, where arugments and
/* This is basically __fp16 as specified by Arm, where arguments and
* return values are raw __fp16 values not structs. */
#define SIMDE_FLOAT16_API_FP16 4

Expand Down
2 changes: 1 addition & 1 deletion simde/x86/avx512/xorsign.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

/* This is a SIMDe extension which is not part of AVX-512. It exists
* because a lot of numerical methods in SIMDe have algoriths which do
* because a lot of numerical methods in SIMDe have algorithms which do
* something like:
*
* float sgn = input < 0 ? -1 : 1;
Expand Down
2 changes: 1 addition & 1 deletion simde/x86/sse.h
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ simde_mm_move_ss (simde__m128 a, simde__m128 b) {
SIMDE_FUNCTION_ATTRIBUTES
simde__m128
simde_x_mm_broadcastlow_ps(simde__m128 a) {
/* This function broadcasts the first element in the inpu vector to
/* This function broadcasts the first element in the input vector to
* all lanes. It is used to avoid generating spurious exceptions in
* *_ss functions since there may be garbage in the upper lanes. */

Expand Down
2 changes: 1 addition & 1 deletion test/x86/f16c.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test_simde_mm_cvtps_ph (SIMDE_MUNIT_TEST_ARGS) {
{ INT16_C( 25352), INT16_C( 24774), -INT16_C( 8787), INT16_C( 25507), INT16_C( 0), INT16_C( 0), INT16_C( 0), INT16_C( 0) } },

#if 0
// simde_mm_cvtps_ph doesn't handle the rounding paramter at all
// simde_mm_cvtps_ph doesn't handle the rounding parameter at all
{ { SIMDE_FLOAT32_C( 9204.05), SIMDE_FLOAT32_C( 86132.80), SIMDE_FLOAT32_C( 37121.74), SIMDE_FLOAT32_C( 68581.13) },
{ INT16_C( 28799), INT16_C( 31744), INT16_C( 30856), INT16_C( 31744), INT16_C( 0), INT16_C( 0), INT16_C( 0), INT16_C( 0) },
{ INT16_C( 28798), INT16_C( 31743), INT16_C( 30856), INT16_C( 31743), INT16_C( 0), INT16_C( 0), INT16_C( 0), INT16_C( 0) },
Expand Down

0 comments on commit 8639fef

Please sign in to comment.