Intel xvec
Experimental C++ simd class library
Loading...
Searching...
No Matches
C++26: Binary vector operators

Element-wise arithmetic, bitwise, and shift operations. More...

Friends

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

Detailed Description

Element-wise arithmetic, bitwise, and shift operations.

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