Argon 0.1.0
Loading...
Searching...
No Matches
argon::widenable_from Concept Reference

Whether lanes of integer type W can be loaded from (and stored as) the narrower integer type N, as MVE's widening loads and narrowing stores allow: 8-bit into 16- or 32-bit lanes, 16-bit into 32-bit lanes. More...

#include <argon_full.hpp>

Concept definition

template<typename N, typename W>
concept widenable_from = std::is_integral_v<N> && std::is_integral_v<W> && sizeof(N) < sizeof(W) && sizeof(W) <= 4
Whether lanes of integer type W can be loaded from (and stored as) the narrower integer type N,...
Definition argon_full.hpp:34

Detailed Description

Whether lanes of integer type W can be loaded from (and stored as) the narrower integer type N, as MVE's widening loads and narrowing stores allow: 8-bit into 16- or 32-bit lanes, 16-bit into 32-bit lanes.