diff --git a/.packit/simde.spec b/.packit/simde.spec index 6cd431988..cefd13953 100644 --- a/.packit/simde.spec +++ b/.packit/simde.spec @@ -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. diff --git a/docker/README.md b/docker/README.md index e7e543d51..01a2c30d5 100644 --- a/docker/README.md +++ b/docker/README.md @@ -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. diff --git a/simde/simde-align.h b/simde/simde-align.h index 0c8a809ee..2cd49e75a 100644 --- a/simde/simde-align.h +++ b/simde/simde-align.h @@ -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 @@ -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__ @@ -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)) diff --git a/simde/simde-complex.h b/simde/simde-complex.h index ce840e228..48ebe4cf1 100644 --- a/simde/simde-complex.h +++ b/simde/simde-complex.h @@ -26,7 +26,7 @@ /* Support for complex math. * - * We try to avoid inculding (in C++ mode) since it pulls in + * We try to avoid including (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 diff --git a/simde/simde-diagnostic.h b/simde/simde-diagnostic.h index a525d3a2a..6c7d2e732 100644 --- a/simde/simde-diagnostic.h +++ b/simde/simde-diagnostic.h @@ -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") diff --git a/simde/simde-f16.h b/simde/simde-f16.h index 5d10ce75e..77a220a1b 100644 --- a/simde/simde-f16.h +++ b/simde/simde-f16.h @@ -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 diff --git a/simde/x86/avx512/xorsign.h b/simde/x86/avx512/xorsign.h index 38fb5f942..f7fdc8c97 100644 --- a/simde/x86/avx512/xorsign.h +++ b/simde/x86/avx512/xorsign.h @@ -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; diff --git a/simde/x86/sse.h b/simde/x86/sse.h index a3e060a26..a8855f540 100644 --- a/simde/x86/sse.h +++ b/simde/x86/sse.h @@ -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. */ diff --git a/test/x86/f16c.c b/test/x86/f16c.c index 886eb2378..ae9901f48 100644 --- a/test/x86/f16c.c +++ b/test/x86/f16c.c @@ -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) },