Skip to content
Snippets Groups Projects
Commit e9c45232 authored by noraabiakar's avatar noraabiakar Committed by Ben Cumming
Browse files

Fix typos in SIMD docs (#469)

Fix some typos in the SIMD documentation.
parent bc6fcffd
No related branches found
No related tags found
No related merge requests found
...@@ -666,16 +666,16 @@ a SIMD class of width *N* and value type *V*. ...@@ -666,16 +666,16 @@ a SIMD class of width *N* and value type *V*.
* - ``C::copy_from(c)`` * - ``C::copy_from(c)``
- ``C::vector_type`` - ``C::vector_type``
- Return a vector with values *v*\ `i`:sub: loaded from *p+i*. *p* may be unaligned. - Return a vector with values *v*\ `i`:sub: loaded from *c+i*. *c* may be unaligned.
* - ``C::copy_from_masked(c, m)`` * - ``C::copy_from_masked(c, m)``
- ``C::vector_type`` - ``C::vector_type``
- Return a vector with values *v*\ `i`:sub: loaded from *p+i* wherever *m*\ `i`:sub: is true. *p* may be unaligned. - Return a vector with values *v*\ `i`:sub: loaded from *c+i* wherever *m*\ `i`:sub: is true. *c* may be unaligned.
* - ``C::copy_from_masked(w, c, m)`` * - ``C::copy_from_masked(w, c, m)``
- ``void`` - ``void``
- Return a vector with values *v*\ `i`:sub: loaded from *p+i* wherever *m*\ `i`:sub: is true, or equal to *w*\ `i`:sub - Return a vector with values *v*\ `i`:sub: loaded from *c+i* wherever *m*\ `i`:sub: is true, or equal to *w*\ `i`:sub
otherwise. *p* may be unaligned. otherwise. *c* may be unaligned.
.. rubric:: Lane access .. rubric:: Lane access
...@@ -689,7 +689,7 @@ a SIMD class of width *N* and value type *V*. ...@@ -689,7 +689,7 @@ a SIMD class of width *N* and value type *V*.
* - ``C::element(v, i)`` * - ``C::element(v, i)``
- ``C::scalar_type`` - ``C::scalar_type``
- Value in ith lane of *u*. - Value in ith lane of *v*.
* - ``C::set_element(r, i, x)`` * - ``C::set_element(r, i, x)``
- ``void`` - ``void``
...@@ -925,7 +925,7 @@ SIMD mask class. ...@@ -925,7 +925,7 @@ SIMD mask class.
* - ``C::select(m, v, w)`` * - ``C::select(m, v, w)``
- ``C::vector_type`` - ``C::vector_type``
- Lane-wise *m*? *v*: *u*. - Lane-wise *m*? *v*: *w*.
Missing functionality Missing functionality
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment