Skip to content

Commit 1c18225

Browse files
bwmf2Amanieu
authored andcommitted
Fix typo
1 parent e6b7951 commit 1c18225

File tree

11 files changed

+67
-67
lines changed

11 files changed

+67
-67
lines changed

library/stdarch/crates/core_arch/src/aarch64/neon/generated.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16978,7 +16978,7 @@ pub unsafe fn vabal_high_s32(a: int64x2_t, b: int32x4_t, c: int32x4_t) -> int64x
1697816978
simd_add(a, simd_cast(f))
1697916979
}
1698016980

16981-
/// Singned saturating Absolute value
16981+
/// Signed saturating Absolute value
1698216982
///
1698316983
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabs_s64)
1698416984
#[inline]
@@ -16994,7 +16994,7 @@ pub unsafe fn vqabs_s64(a: int64x1_t) -> int64x1_t {
1699416994
vqabs_s64_(a)
1699516995
}
1699616996

16997-
/// Singned saturating Absolute value
16997+
/// Signed saturating Absolute value
1699816998
///
1699916999
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabsq_s64)
1700017000
#[inline]

library/stdarch/crates/core_arch/src/arm_shared/neon/generated.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29382,7 +29382,7 @@ pub unsafe fn vabal_s32(a: int64x2_t, b: int32x2_t, c: int32x2_t) -> int64x2_t {
2938229382
simd_add(a, simd_cast(e))
2938329383
}
2938429384

29385-
/// Singned saturating Absolute value
29385+
/// Signed saturating Absolute value
2938629386
///
2938729387
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabs_s8)
2938829388
#[inline]
@@ -29401,7 +29401,7 @@ pub unsafe fn vqabs_s8(a: int8x8_t) -> int8x8_t {
2940129401
vqabs_s8_(a)
2940229402
}
2940329403

29404-
/// Singned saturating Absolute value
29404+
/// Signed saturating Absolute value
2940529405
///
2940629406
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabsq_s8)
2940729407
#[inline]
@@ -29420,7 +29420,7 @@ pub unsafe fn vqabsq_s8(a: int8x16_t) -> int8x16_t {
2942029420
vqabsq_s8_(a)
2942129421
}
2942229422

29423-
/// Singned saturating Absolute value
29423+
/// Signed saturating Absolute value
2942429424
///
2942529425
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabs_s16)
2942629426
#[inline]
@@ -29439,7 +29439,7 @@ pub unsafe fn vqabs_s16(a: int16x4_t) -> int16x4_t {
2943929439
vqabs_s16_(a)
2944029440
}
2944129441

29442-
/// Singned saturating Absolute value
29442+
/// Signed saturating Absolute value
2944329443
///
2944429444
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabsq_s16)
2944529445
#[inline]
@@ -29458,7 +29458,7 @@ pub unsafe fn vqabsq_s16(a: int16x8_t) -> int16x8_t {
2945829458
vqabsq_s16_(a)
2945929459
}
2946029460

29461-
/// Singned saturating Absolute value
29461+
/// Signed saturating Absolute value
2946229462
///
2946329463
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabs_s32)
2946429464
#[inline]
@@ -29477,7 +29477,7 @@ pub unsafe fn vqabs_s32(a: int32x2_t) -> int32x2_t {
2947729477
vqabs_s32_(a)
2947829478
}
2947929479

29480-
/// Singned saturating Absolute value
29480+
/// Signed saturating Absolute value
2948129481
///
2948229482
/// [Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vqabsq_s32)
2948329483
#[inline]

library/stdarch/crates/core_arch/src/riscv_shared/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ pub unsafe fn hinval_gvma_all() {
488488
/// Register `fcsr` is a 32-bit read/write register that selects the dynamic rounding mode
489489
/// for floating-point arithmetic operations and holds the accrued exception flag.
490490
///
491-
/// Accoding to "F" Standard Extension for Single-Precision Floating-Point, Version 2.2,
491+
/// According to "F" Standard Extension for Single-Precision Floating-Point, Version 2.2,
492492
/// register `fcsr` is defined as:
493493
///
494494
/// | Bit index | Meaning |
@@ -521,7 +521,7 @@ pub fn fscsr(value: u32) -> u32 {
521521

522522
/// Reads the floating-point rounding mode register `frm`
523523
///
524-
/// Accoding to "F" Standard Extension for Single-Precision Floating-Point, Version 2.2,
524+
/// According to "F" Standard Extension for Single-Precision Floating-Point, Version 2.2,
525525
/// the rounding mode field is defined as listed in the table below:
526526
///
527527
/// | Rounding Mode | Mnemonic | Meaning |
@@ -558,8 +558,8 @@ pub fn fsrm(value: u32) -> u32 {
558558
/// The accrued exception flags indicate the exception conditions that have arisen
559559
/// on any floating-point arithmetic instruction since the field was last reset by software.
560560
///
561-
/// Accoding to "F" Standard Extension for Single-Precision Floating-Point, Version 2.2,
562-
/// the accured exception flags is defined as a bit vector of 5 bits.
561+
/// According to "F" Standard Extension for Single-Precision Floating-Point, Version 2.2,
562+
/// the accrued exception flags is defined as a bit vector of 5 bits.
563563
/// The meaning of each binary bit is listed in the table below.
564564
///
565565
/// | Bit index | Mnemonic | Meaning |

library/stdarch/crates/core_arch/src/x86/avx2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2277,7 +2277,7 @@ pub unsafe fn _mm256_permute4x64_pd<const IMM8: i32>(a: __m256d) -> __m256d {
22772277
)
22782278
}
22792279

2280-
/// Shuffles eight 32-bit foating-point elements in `a` across lanes using
2280+
/// Shuffles eight 32-bit floating-point elements in `a` across lanes using
22812281
/// the corresponding 32-bit integer index in `idx`.
22822282
///
22832283
/// [Intel's documentation](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_permutevar8x32_ps)

library/stdarch/crates/core_arch/src/x86/sse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ pub unsafe fn _mm_getcsr() -> u32 {
13801380

13811381
/// Sets the MXCSR register with the 32-bit unsigned integer value.
13821382
///
1383-
/// This register constrols how SIMD instructions handle floating point
1383+
/// This register controls how SIMD instructions handle floating point
13841384
/// operations. Modifying this register only affects the current thread.
13851385
///
13861386
/// It contains several groups of flags:

library/stdarch/crates/core_arch/src/x86/sse41.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ pub unsafe fn _mm_ceil_ps(a: __m128) -> __m128 {
689689

690690
/// Round the lower double-precision (64-bit) floating-point element in `b`
691691
/// up to an integer value, store the result as a double-precision
692-
/// floating-point element in the lower element of the intrisic result,
692+
/// floating-point element in the lower element of the intrinsic result,
693693
/// and copies the upper element from `a` to the upper element
694694
/// of the intrinsic result.
695695
///

library/stdarch/crates/std_detect/src/detect/os/linux/aarch64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl From<super::cpuinfo::CpuInfo> for AtHwcap {
227227
impl AtHwcap {
228228
/// Initializes the cache from the feature -bits.
229229
///
230-
/// The feature dependencies here come directly from LLVM's feature definintions:
230+
/// The feature dependencies here come directly from LLVM's feature definitions:
231231
/// https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/AArch64/AArch64.td
232232
fn cache(self, is_exynos9810: bool) -> cache::Initializer {
233233
let mut value = cache::Initializer::default();

library/stdarch/crates/std_detect/src/detect/os/linux/auxvec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub(crate) struct AuxVec {
5252
/// Note that run-time feature detection is not invoked for features that can
5353
/// be detected at compile-time. Also note that if this function returns an
5454
/// error, cpuinfo still can (and will) be used to try to perform run-time
55-
/// feature detecton on some platforms.
55+
/// feature detection on some platforms.
5656
///
5757
/// Note: The `std_detect_dlsym_getauxval` cargo feature is ignored on `*-linux-gnu*` targets,
5858
/// since [all `*-linux-gnu*` targets ([since Rust 1.64](https://blog.rust-lang.org/2022/08/01/Increasing-glibc-kernel-requirements.html))

library/stdarch/crates/stdarch-gen/neon.spec

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Sections start with EXACTLY three slashes followed
1515
// by AT LEAST one space. Sections are used for two things:
1616
//
17-
// 1) they serve as the doc comment for the given intrinics.
17+
// 1) they serve as the doc comment for the given intrinsics.
1818
// 2) they reset all variables (name, fn, etc.)
1919
//
2020
// # Variables
@@ -29,16 +29,16 @@
2929
// the function will exclusively be generated for
3030
// aarch64.
3131
// This is used to generate both aarch64 specific and
32-
// shared intrinics by first only specifying th aarch64
32+
// shared intrinsics by first only specifying th aarch64
3333
// variant then the arm variant.
3434
//
35-
// arm - The arm v7 intrinics used to checked for arm code
35+
// arm - The arm v7 intrinsics used to checked for arm code
3636
// generation. All neon functions available in arm are
37-
// also available in aarch64. If no aarch64 intrinic was
37+
// also available in aarch64. If no aarch64 intrinsic was
3838
// set they are assumed to be the same.
39-
// Intrinics ending with a `.` will have a size suffixes
39+
// Intrinsics ending with a `.` will have a size suffixes
4040
// added (such as `i8` or `i64`) that is not sign specific
41-
// Intrinics ending with a `.s` will have a size suffixes
41+
// Intrinsics ending with a `.s` will have a size suffixes
4242
// added (such as `s8` or `u64`) that is sign specific
4343
//
4444
// a - First input for tests, it gets scaled to the size of
@@ -7490,10 +7490,10 @@ aarch64 = sabal
74907490
generate int64x2_t:int32x4_t:int32x4_t:int64x2_t
74917491

74927492
////////////////////
7493-
// Singned saturating Absolute value
7493+
// Signed saturating Absolute value
74947494
////////////////////
74957495

7496-
/// Singned saturating Absolute value
7496+
/// Signed saturating Absolute value
74977497
name = vqabs
74987498
a = MIN, MAX, -6, -5, -4, -3, -2, -1, 0, -127, 127, 1, 2, 3, 4, 5
74997499
validate MAX, MAX, 6, 5, 4, 3, 2, 1, 0, 127, 127, 1, 2, 3, 4, 5
@@ -7504,7 +7504,7 @@ link-arm = vqabs._EXT_
75047504
link-aarch64 = sqabs._EXT_
75057505
generate int*_t
75067506

7507-
/// Singned saturating Absolute value
7507+
/// Signed saturating Absolute value
75087508
name = vqabs
75097509
a = MIN, -7
75107510
validate MAX, 7

library/stdarch/crates/stdarch-test/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub fn assert(shim_addr: usize, fnname: &str, expected: &str) {
115115
"cpuid" => 30,
116116

117117
// Apparently, on Windows, LLVM generates a bunch of
118-
// saves/restores of xmm registers around these intstructions,
118+
// saves/restores of xmm registers around these instructions,
119119
// which exceeds the limit of 20 below. As it seems dictated by
120120
// Windows's ABI (I believe?), we probably can't do much
121121
// about it.

0 commit comments

Comments
 (0)