diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2022-04-03 16:17:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-03 16:17:54 -0700 |
| commit | c2fbead43a3c61eb22d8ad31bda4d9e1b6ff6ab2 (patch) | |
| tree | fe2e362e579a1871ea73ca486e66c289669b990e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0711e11593e7d3ce7cffdb7bd966553e4a4f858f (diff) | |
| parent | 8cd9325e206bf362071b71a812849a3b463bcbcc (diff) | |
| download | rust-c2fbead43a3c61eb22d8ad31bda4d9e1b6ff6ab2.tar.gz rust-c2fbead43a3c61eb22d8ad31bda4d9e1b6ff6ab2.zip | |
rust-lang/portable-simd#272: Standardize documentation for SIMD vector and mask types
This is a documentation-only patch that standardizes the presentation of vector types like `u32x4` and mask types like `mask32x16`. The reasoning behind the patch was as follows: 1. Standardized terminology should be preferred, so `element` instead of `value` and `SIMD vector` instead of `vector`. These terms appear in the rest of the documentation and tutorials. 2. Try to avoid situations where two numbers are next to each other. So `16 elements of 32 bits` instead of `16 32-bit elements`. 4. Try to anticipate what readers are looking for -- so state the full bit-width directly. ### Vector Types - Before: Vector of 32 `i8` values - After: A 256-bit SIMD vector with 32 elements of type `i8`. ### Mask Types - Before: Vector of 16 16-bit masks - After: A mask for SIMD vectors with 16 elements of 32 bits.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
