#include <eve/module/core.hpp>
#include <iostream>
int main()
{
eve::wide wf0{0.0, 1.0, 2.0, 3.0, -1.0, -2.0, -3.0, -4.0};
eve::wide wu0{0u, 1u, 2u, 3u, 4u, 5u, 6u, 7u};
std::cout << "<- wf0 = " << wf0 << "\n";
std::cout << "<- wi0 = " << wi0 << "\n";
std::cout << "<- wu0 = " << wu0 << "\n";
std::cout <<
"-> lo(wf0) = " <<
eve::lo(wf0) <<
"\n";
std::cout <<
"-> lo(wu0) = " <<
eve::lo(wu0) <<
"\n";
std::cout <<
"-> lo(wi0) = " <<
eve::lo(wi0) <<
"\n";
}
constexpr auto lo
Computes the least significant half of each lane.
Definition lo.hpp:73
Wrapper for SIMD registers.
Definition wide.hpp:70