Commit e76f4331 authored by Michael R. Crusoe's avatar Michael R. Crusoe Committed by Michael R. Crusoe

typo fixes from codespell

parent 73160356
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
********************************************************************** **********************************************************************
* *
* This is portability layer which should help iron out some * 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++. * C and C++.
* *
* It was originally developed for SIMD Everywhere * It was originally developed for SIMD Everywhere
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#include "hedley.h" #include "hedley.h"
/* I know this seems a little silly, but some non-hosted compilers /* 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(SIMDE_ALIGN_SIZE_T_)
#if defined(__SIZE_TYPE__) #if defined(__SIZE_TYPE__)
#define SIMDE_ALIGN_SIZE_T_ __SIZE_TYPE__ #define SIMDE_ALIGN_SIZE_T_ __SIZE_TYPE__
...@@ -405,7 +405,7 @@ ...@@ -405,7 +405,7 @@
/* SIMDE_ALIGN_ASSUME_LIKE(Pointer, Type) /* 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. */ * type instead of a numeric value. */
#if defined(SIMDE_ALIGN_OF) && defined(SIMDE_ALIGN_ASSUME_TO) #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)) #define SIMDE_ALIGN_ASSUME_LIKE(Pointer, Type) SIMDE_ALIGN_ASSUME_TO(Pointer, SIMDE_ALIGN_OF(Type))
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
/* Support for complex math. /* 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., * 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, * -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 * but there is no way (AFAICT) to detect that flag so we have to rely
......
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
#define SIMDE_DIAGNOSTIC_DISABLE_CAST_FUNCTION_TYPE_ #define SIMDE_DIAGNOSTIC_DISABLE_CAST_FUNCTION_TYPE_
#endif #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 * 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. */ * the compiler and version first, so we know it's not a problem. */
#if HEDLEY_HAS_WARNING("-Wc99-extensions") #if HEDLEY_HAS_WARNING("-Wc99-extensions")
......
...@@ -58,7 +58,7 @@ SIMDE_BEGIN_DECLS_ ...@@ -58,7 +58,7 @@ SIMDE_BEGIN_DECLS_
* that on Arm since it would break compatibility with the NEON F16 * that on Arm since it would break compatibility with the NEON F16
* functions. */ * functions. */
#define SIMDE_FLOAT16_API_FP16_NO_ABI 3 #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. */ * return values are raw __fp16 values not structs. */
#define SIMDE_FLOAT16_API_FP16 4 #define SIMDE_FLOAT16_API_FP16 4
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
*/ */
/* This is a SIMDe extension which is not part of AVX-512. It exists /* 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: * something like:
* *
* float sgn = input < 0 ? -1 : 1; * float sgn = input < 0 ? -1 : 1;
......
...@@ -804,7 +804,7 @@ simde_mm_move_ss (simde__m128 a, simde__m128 b) { ...@@ -804,7 +804,7 @@ simde_mm_move_ss (simde__m128 a, simde__m128 b) {
SIMDE_FUNCTION_ATTRIBUTES SIMDE_FUNCTION_ATTRIBUTES
simde__m128 simde__m128
simde_x_mm_broadcastlow_ps(simde__m128 a) { 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 * all lanes. It is used to avoid generating spurious exceptions in
* *_ss functions since there may be garbage in the upper lanes. */ * *_ss functions since there may be garbage in the upper lanes. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment