Skip to content

Commit 2f37ddc

Browse files
authored
Fix dupe word typos (#1344)
1 parent 790411f commit 2f37ddc

File tree

10 files changed

+30
-30
lines changed

10 files changed

+30
-30
lines changed

crates/core_arch/src/mips/msa.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ pub unsafe fn __msa_bmnz_v(a: v16u8, b: v16u8, c: v16u8) -> v16u8 {
22082208
/// Immediate Bit Move If Not Zero
22092209
///
22102210
/// Copy to destination vector `a` (sixteen unsigned 8-bit integer numbers) all bits from source vector
2211-
/// `b` (sixteen unsigned 8-bit integer numbers) for which the corresponding bits from from immediate `imm8`
2211+
/// `b` (sixteen unsigned 8-bit integer numbers) for which the corresponding bits from immediate `imm8`
22122212
/// are 1 and leaves unchanged all destination bits for which the corresponding target bits are 0.
22132213
///
22142214
#[inline]
@@ -2237,7 +2237,7 @@ pub unsafe fn __msa_bmz_v(a: v16u8, b: v16u8, c: v16u8) -> v16u8 {
22372237
/// Immediate Bit Move If Zero
22382238
///
22392239
/// Copy to destination vector `a` (sixteen unsigned 8-bit integer numbers) all bits from source vector
2240-
/// `b` (sixteen unsigned 8-bit integer numbers) for which the corresponding bits from from immediate `imm8`
2240+
/// `b` (sixteen unsigned 8-bit integer numbers) for which the corresponding bits from immediate `imm8`
22412241
/// are 0 and leaves unchanged all destination bits for which the corresponding immediate bits are 1.
22422242
///
22432243
#[inline]

crates/core_arch/src/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ pub mod arch {
155155
/// which support SIMD, or it will not have SIMD at all. For compatibility
156156
/// the standard library itself does not use any SIMD internally.
157157
/// Determining how best to ship your WebAssembly binary with SIMD is
158-
/// largely left up to you as it can can be pretty nuanced depending on
158+
/// largely left up to you as it can be pretty nuanced depending on
159159
/// your situation.
160160
///
161161
/// [condsections]: https://github.com/webassembly/conditional-sections

crates/core_arch/src/x86/avx.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ pub unsafe fn _mm256_set1_epi8(a: i8) -> __m256i {
24502450
)
24512451
}
24522452

2453-
/// Broadcasts 16-bit integer `a` to all all elements of returned vector.
2453+
/// Broadcasts 16-bit integer `a` to all elements of returned vector.
24542454
/// This intrinsic may generate the `vpbroadcastw`.
24552455
///
24562456
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_epi16)

crates/core_arch/src/x86/avx512bf16.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub unsafe fn _mm256_cvtne2ps_pbh(a: __m256, b: __m256) -> __m256bh {
8080
}
8181

8282
/// Convert packed single-precision (32-bit) floating-point elements in two vectors a and b
83-
/// to packed BF16 (16-bit) floating-point elements and and store the results in single vector
83+
/// to packed BF16 (16-bit) floating-point elements and store the results in single vector
8484
/// dst using writemask k (elements are copied from src when the corresponding mask bit is not set).
8585
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#expand=1769,1651,1654&avx512techs=AVX512_BF16&text=_mm256_mask_cvtne2ps_pbh)
8686
#[inline]

crates/core_arch/src/x86/avx512bitalg.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ pub unsafe fn _mm_mask_popcnt_epi8(src: __m128i, k: __mmask16, a: __m128i) -> __
303303
}
304304

305305
/// Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers.
306-
/// Then groups 8 8-bit values from `c`as indices into the the bits of the corresponding 64-bit integer.
306+
/// Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer.
307307
/// It then selects these bits and packs them into the output.
308308
///
309309
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_bitshuffle_epi64_mask)
@@ -315,7 +315,7 @@ pub unsafe fn _mm512_bitshuffle_epi64_mask(b: __m512i, c: __m512i) -> __mmask64
315315
}
316316

317317
/// Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers.
318-
/// Then groups 8 8-bit values from `c`as indices into the the bits of the corresponding 64-bit integer.
318+
/// Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer.
319319
/// It then selects these bits and packs them into the output.
320320
///
321321
/// Uses the writemask in k - elements are zeroed in the result if the corresponding mask bit is not set.
@@ -330,7 +330,7 @@ pub unsafe fn _mm512_mask_bitshuffle_epi64_mask(k: __mmask64, b: __m512i, c: __m
330330
}
331331

332332
/// Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers.
333-
/// Then groups 8 8-bit values from `c`as indices into the the bits of the corresponding 64-bit integer.
333+
/// Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer.
334334
/// It then selects these bits and packs them into the output.
335335
///
336336
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_bitshuffle_epi64_mask)
@@ -342,7 +342,7 @@ pub unsafe fn _mm256_bitshuffle_epi64_mask(b: __m256i, c: __m256i) -> __mmask32
342342
}
343343

344344
/// Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers.
345-
/// Then groups 8 8-bit values from `c`as indices into the the bits of the corresponding 64-bit integer.
345+
/// Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer.
346346
/// It then selects these bits and packs them into the output.
347347
///
348348
/// Uses the writemask in k - elements are zeroed in the result if the corresponding mask bit is not set.
@@ -357,7 +357,7 @@ pub unsafe fn _mm256_mask_bitshuffle_epi64_mask(k: __mmask32, b: __m256i, c: __m
357357
}
358358

359359
/// Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers.
360-
/// Then groups 8 8-bit values from `c`as indices into the the bits of the corresponding 64-bit integer.
360+
/// Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer.
361361
/// It then selects these bits and packs them into the output.
362362
///
363363
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_bitshuffle_epi64_mask)
@@ -369,7 +369,7 @@ pub unsafe fn _mm_bitshuffle_epi64_mask(b: __m128i, c: __m128i) -> __mmask16 {
369369
}
370370

371371
/// Considers the input `b` as packed 64-bit integers and `c` as packed 8-bit integers.
372-
/// Then groups 8 8-bit values from `c`as indices into the the bits of the corresponding 64-bit integer.
372+
/// Then groups 8 8-bit values from `c`as indices into the bits of the corresponding 64-bit integer.
373373
/// It then selects these bits and packs them into the output.
374374
///
375375
/// Uses the writemask in k - elements are zeroed in the result if the corresponding mask bit is not set.

crates/core_arch/src/x86/avx512bw.rs

+14-14
Original file line numberDiff line numberDiff line change
@@ -7450,7 +7450,7 @@ pub unsafe fn _mm_maskz_set1_epi8(k: __mmask16, a: i8) -> __m128i {
74507450
transmute(simd_select_bitmask(k, r, zero))
74517451
}
74527452

7453-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst.
7453+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst.
74547454
///
74557455
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_shufflelo_epi16&expand=5221)
74567456
#[inline]
@@ -7501,7 +7501,7 @@ pub unsafe fn _mm512_shufflelo_epi16<const IMM8: i32>(a: __m512i) -> __m512i {
75017501
transmute(r)
75027502
}
75037503

7504-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7504+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
75057505
///
75067506
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_mask_shufflelo_epi16&expand=5219)
75077507
#[inline]
@@ -7518,7 +7518,7 @@ pub unsafe fn _mm512_mask_shufflelo_epi16<const IMM8: i32>(
75187518
transmute(simd_select_bitmask(k, r.as_i16x32(), src.as_i16x32()))
75197519
}
75207520

7521-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
7521+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
75227522
///
75237523
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_maskz_shufflelo_epi16&expand=5220)
75247524
#[inline]
@@ -7532,7 +7532,7 @@ pub unsafe fn _mm512_maskz_shufflelo_epi16<const IMM8: i32>(k: __mmask32, a: __m
75327532
transmute(simd_select_bitmask(k, r.as_i16x32(), zero))
75337533
}
75347534

7535-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7535+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
75367536
///
75377537
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_mask_shufflelo_epi16&expand=5216)
75387538
#[inline]
@@ -7549,7 +7549,7 @@ pub unsafe fn _mm256_mask_shufflelo_epi16<const IMM8: i32>(
75497549
transmute(simd_select_bitmask(k, shuffle.as_i16x16(), src.as_i16x16()))
75507550
}
75517551

7552-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7552+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
75537553
///
75547554
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_maskz_shufflelo_epi16&expand=5217)
75557555
#[inline]
@@ -7563,7 +7563,7 @@ pub unsafe fn _mm256_maskz_shufflelo_epi16<const IMM8: i32>(k: __mmask16, a: __m
75637563
transmute(simd_select_bitmask(k, shuffle.as_i16x16(), zero))
75647564
}
75657565

7566-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7566+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
75677567
///
75687568
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_mask_shufflelo_epi16&expand=5213)
75697569
#[inline]
@@ -7580,7 +7580,7 @@ pub unsafe fn _mm_mask_shufflelo_epi16<const IMM8: i32>(
75807580
transmute(simd_select_bitmask(k, shuffle.as_i16x8(), src.as_i16x8()))
75817581
}
75827582

7583-
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7583+
/// Shuffle 16-bit integers in the low 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the low 64 bits of 128-bit lanes of dst, with the high 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
75847584
///
75857585
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_maskz_shufflelo_epi16&expand=5214)
75867586
#[inline]
@@ -7594,7 +7594,7 @@ pub unsafe fn _mm_maskz_shufflelo_epi16<const IMM8: i32>(k: __mmask8, a: __m128i
75947594
transmute(simd_select_bitmask(k, shuffle.as_i16x8(), zero))
75957595
}
75967596

7597-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst.
7597+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst.
75987598
///
75997599
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_shufflehi_epi16&expand=5212)
76007600
#[inline]
@@ -7645,7 +7645,7 @@ pub unsafe fn _mm512_shufflehi_epi16<const IMM8: i32>(a: __m512i) -> __m512i {
76457645
transmute(r)
76467646
}
76477647

7648-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7648+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
76497649
///
76507650
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_mask_shufflehi_epi16&expand=5210)
76517651
#[inline]
@@ -7662,7 +7662,7 @@ pub unsafe fn _mm512_mask_shufflehi_epi16<const IMM8: i32>(
76627662
transmute(simd_select_bitmask(k, r.as_i16x32(), src.as_i16x32()))
76637663
}
76647664

7665-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
7665+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
76667666
///
76677667
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_maskz_shufflehi_epi16&expand=5211)
76687668
#[inline]
@@ -7676,7 +7676,7 @@ pub unsafe fn _mm512_maskz_shufflehi_epi16<const IMM8: i32>(k: __mmask32, a: __m
76767676
transmute(simd_select_bitmask(k, r.as_i16x32(), zero))
76777677
}
76787678

7679-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7679+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
76807680
///
76817681
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_mask_shufflehi_epi16&expand=5207)
76827682
#[inline]
@@ -7693,7 +7693,7 @@ pub unsafe fn _mm256_mask_shufflehi_epi16<const IMM8: i32>(
76937693
transmute(simd_select_bitmask(k, shuffle.as_i16x16(), src.as_i16x16()))
76947694
}
76957695

7696-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
7696+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
76977697
///
76987698
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_maskz_shufflehi_epi16&expand=5208)
76997699
#[inline]
@@ -7707,7 +7707,7 @@ pub unsafe fn _mm256_maskz_shufflehi_epi16<const IMM8: i32>(k: __mmask16, a: __m
77077707
transmute(simd_select_bitmask(k, shuffle.as_i16x16(), zero))
77087708
}
77097709

7710-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
7710+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst, using writemask k (elements are copied from src when the corresponding mask bit is not set).
77117711
///
77127712
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_mask_shufflehi_epi16&expand=5204)
77137713
#[inline]
@@ -7724,7 +7724,7 @@ pub unsafe fn _mm_mask_shufflehi_epi16<const IMM8: i32>(
77247724
transmute(simd_select_bitmask(k, shuffle.as_i16x8(), src.as_i16x8()))
77257725
}
77267726

7727-
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
7727+
/// Shuffle 16-bit integers in the high 64 bits of 128-bit lanes of a using the control in imm8. Store the results in the high 64 bits of 128-bit lanes of dst, with the low 64 bits of 128-bit lanes being copied from a to dst, using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
77287728
///
77297729
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_maskz_shufflehi_epi16&expand=5205)
77307730
#[inline]

crates/core_arch/src/x86/avx512f.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26268,7 +26268,7 @@ pub unsafe fn _mm512_set1_epi8(a: i8) -> __m512i {
2626826268
transmute(i8x64::splat(a))
2626926269
}
2627026270

26271-
/// Broadcast the low packed 16-bit integer from a to all all elements of dst.
26271+
/// Broadcast the low packed 16-bit integer from a to all elements of dst.
2627226272
///
2627326273
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_set1_epi16&expand=4944)
2627426274
#[inline]

crates/core_arch/src/x86/sse2.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ pub unsafe fn _mm_shuffle_epi32<const IMM8: i32>(a: __m128i) -> __m128i {
14091409
/// `IMM8`.
14101410
///
14111411
/// Put the results in the high 64 bits of the returned vector, with the low 64
1412-
/// bits being copied from from `a`.
1412+
/// bits being copied from `a`.
14131413
///
14141414
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_shufflehi_epi16)
14151415
#[inline]
@@ -1441,7 +1441,7 @@ pub unsafe fn _mm_shufflehi_epi16<const IMM8: i32>(a: __m128i) -> __m128i {
14411441
/// `IMM8`.
14421442
///
14431443
/// Put the results in the low 64 bits of the returned vector, with the high 64
1444-
/// bits being copied from from `a`.
1444+
/// bits being copied from `a`.
14451445
///
14461446
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_shufflelo_epi16)
14471447
#[inline]

0 commit comments

Comments
 (0)