Intel xvec
Experimental C++ simd class library
Loading...
Searching...
No Matches
C++26: Vector compound assignment

Apply element-wise operations and assign their results. More...

Friends

constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator+= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Add corresponding elements and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator-= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Subtract corresponding elements and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator*= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Multiply corresponding elements and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator/= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Divide corresponding elements and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator%= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Compute element-wise remainders and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator&= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Compute the element-wise bitwise AND and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator|= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Compute the element-wise bitwise OR and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator^= (basic_vec &lhs, const basic_vec &rhs) noexcept
 Compute the element-wise bitwise XOR and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator<<= (basic_vec &lhs, const basic_vec &shift) noexcept
 Shift elements left by element-wise amounts and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator>>= (basic_vec &lhs, const basic_vec &shift) noexcept
 Shift elements right by element-wise amounts and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator<<= (basic_vec &lhs, simd_size_type shift) noexcept
 Shift every element left by a shared amount and assign the result.
constexpr basic_vec & xvec::simd::basic_vec< _Tp, _Abi >::operator>>= (basic_vec &lhs, simd_size_type shift) noexcept
 Shift every element right by a shared amount and assign the result.

Detailed Description

Apply element-wise operations and assign their results.

See also
https://eel.is/c++draft/simd.cassign