#include <eve/module/core.hpp>
#include <iostream>
int main()
{
std::cout << std::showbase << std::hex;
std::cout << "<- wi0 = " << wi0 << "\n";
std::cout << "<- wi1 = " << wi1 << "\n";
std::cout << "<- wi2 = " << wi2 << "\n";
std::cout <<
"-> bit_swap_pairs(wi0, wi1, wi2) = " <<
eve::bit_swap_pairs(wi0, wi1, wi2) <<
"\n";
std::cout <<
"-> bit_swap_pairs[wi3 > 0](wi0, wi1, wi3) = " <<
eve::bit_swap_pairs[wi3 >= 0](wi0, wi1, wi3) <<
"\n";
}
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition conditional.hpp:332
Wrapper for SIMD registers.
Definition wide.hpp:86