Skip to content

Commit

Permalink
Merge pull request #603 from howjmay/typos
Browse files Browse the repository at this point in the history
docs: Fix the typos
  • Loading branch information
jserv authored Jul 1, 2023
2 parents 6a2d069 + 89bfd4e commit 2eede22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sse2neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -2235,7 +2235,7 @@ FORCE_INLINE __m128 _mm_or_ps(__m128 a, __m128 b)
#define _m_pmulhuw(a, b) _mm_mulhi_pu16(a, b)

// Fetch the line of data from memory that contains address p to a location in
// the cache heirarchy specified by the locality hint i.
// the cache hierarchy specified by the locality hint i.
// https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_mm_prefetch
FORCE_INLINE void _mm_prefetch(char const *p, int i)
{
Expand Down Expand Up @@ -2315,7 +2315,7 @@ FORCE_INLINE __m128 _mm_rsqrt_ps(__m128 in)
float32x4_t out = vrsqrteq_f32(vreinterpretq_f32_m128(in));

// Generate masks for detecting whether input has any 0.0f/-0.0f
// (which becomes positive/negative infinity by IEEE-754 arthimetic rules).
// (which becomes positive/negative infinity by IEEE-754 arithmetic rules).
const uint32x4_t pos_inf = vdupq_n_u32(0x7F800000);
const uint32x4_t neg_inf = vdupq_n_u32(0xFF800000);
const uint32x4_t has_pos_zero =
Expand Down

0 comments on commit 2eede22

Please sign in to comment.