@@ -247,7 +247,7 @@ FORCE_INLINE void _sse2neon_smp_mb(void)
247247#endif
248248
249249/* Apple Silicon cache lines are double of what is commonly used by Intel, AMD
250- * and other Arm microarchtectures use.
250+ * and other Arm microarchitectures use.
251251 * From sysctl -a on Apple M1:
252252 * hw.cachelinesize: 128
253253 */
@@ -658,7 +658,7 @@ FORCE_INLINE uint16_t _sse2neon_vaddvq_u16(uint16x8_t a)
658658 * This last part, <data_type>, is a little complicated. It identifies the
659659 * content of the input values, and can be set to any of the following values:
660660 * + ps - vectors contain floats (ps stands for packed single-precision)
661- * + pd - vectors cantain doubles (pd stands for packed double-precision)
661+ * + pd - vectors contain doubles (pd stands for packed double-precision)
662662 * + epi8/epi16/epi32/epi64 - vectors contain 8-bit/16-bit/32-bit/64-bit
663663 * signed integers
664664 * + epu8/epu16/epu32/epu64 - vectors contain 8-bit/16-bit/32-bit/64-bit
@@ -8628,9 +8628,9 @@ FORCE_INLINE __m128i _mm_aesenc_si128(__m128i a, __m128i RoundKey)
86288628#define SSE2NEON_AES_B2W (b0 , b1 , b2 , b3 ) \
86298629 (((uint32_t) (b3) << 24) | ((uint32_t) (b2) << 16) | \
86308630 ((uint32_t) (b1) << 8) | (uint32_t) (b0))
8631- // muliplying 'x' by 2 in GF(2^8)
8631+ // multiplying 'x' by 2 in GF(2^8)
86328632#define SSE2NEON_AES_F2 (x ) ((x << 1) ^ (((x >> 7) & 1) * 0x011b /* WPOLY */ ))
8633- // muliplying 'x' by 3 in GF(2^8)
8633+ // multiplying 'x' by 3 in GF(2^8)
86348634#define SSE2NEON_AES_F3 (x ) (SSE2NEON_AES_F2(x) ^ x)
86358635#define SSE2NEON_AES_U0 (p ) \
86368636 SSE2NEON_AES_B2W(SSE2NEON_AES_F2(p), p, p, SSE2NEON_AES_F3(p))
@@ -8708,14 +8708,14 @@ FORCE_INLINE __m128i _mm_aesdec_si128(__m128i a, __m128i RoundKey)
87088708 v = vqtbx4q_u8 (v , _sse2neon_vld1q_u8_x4 (_sse2neon_rsbox + 0xc0 ), w - 0xc0 );
87098709
87108710 // inverse mix columns
8711- // muliplying 'v' by 4 in GF(2^8)
8711+ // multiplying 'v' by 4 in GF(2^8)
87128712 w = (v << 1 ) ^ (uint8x16_t ) (((int8x16_t ) v >> 7 ) & 0x1b );
87138713 w = (w << 1 ) ^ (uint8x16_t ) (((int8x16_t ) w >> 7 ) & 0x1b );
87148714 v ^= w ;
87158715 v ^= (uint8x16_t ) vrev32q_u16 ((uint16x8_t ) w );
87168716
87178717 w = (v << 1 ) ^ (uint8x16_t ) (((int8x16_t ) v >> 7 ) &
8718- 0x1b ); // muliplying 'v' by 2 in GF(2^8)
8718+ 0x1b ); // multiplying 'v' by 2 in GF(2^8)
87198719 w ^= (uint8x16_t ) vrev32q_u16 ((uint16x8_t ) v );
87208720 w ^= vqtbl1q_u8 (v ^ w , vld1q_u8 (ror32by8 ));
87218721
0 commit comments