26 using ::native::scalar;
28 using ::native::avx512;
29 using ::native::avx512_bf16;
30 using ::native::avx512_fp16;
32 using ::native::neon_fp16;
33 using ::native::neon_bf16;
35 using ::native::isa_admission;
38 using ::native::isa_list;
40 using ::native::operator&;
41 using ::native::operator<;
42 using ::native::operator>;
43 using ::native::operator<=;
44 using ::native::operator>=;
45 using ::native::operator+;
49 using ::native::abi_lookup;
53export namespace native::detail {
54 using ::native::detail::source_isa;
55 using ::native::detail::known_features;
56 using ::native::detail::x86_features;
57 using ::native::detail::arm_features;
58 using ::native::detail::wasm_features;
59 using ::native::detail::decode_x86_features;
60 using ::native::detail::decode_arm_features;
Architecture-tagged vectors, register packs and supporting value types. Native arithmetic follows its...
constexpr std::size_t arm_feature_count
Number of named ARM feature values.
constexpr architecture arm
Select ARM feature metadata independently of the compilation target.
constexpr architecture x86
Select x86 feature metadata independently of the compilation target.
constexpr bool with_isa(isa_list< Entries... >, C const &cpu, F &&callback, isa< detail::observation_family< C > > minimum={})
Admit the first available source variant and invoke callback.operator()().
x86_feature
Architecture-specific instruction features, represented by local bit indices.
architecture
Instruction-set families; an ISA value belongs to exactly one family.
target_entry(isa< Family >, isa< Family >={}) -> target_entry< Family >
Deduce a source record from same-family ISA values.
constexpr auto feature_closure(A input) noexcept
constexpr architecture wasm
Select WebAssembly feature metadata independently of the compilation target.
constexpr std::size_t x86_feature_count
Number of named x86 feature values.
constexpr isa_admission< x86 > classify_isa(C const &cpu, isa< x86 > requested, isa< x86 > minimum={}) noexcept
constexpr int target
First matching requirement, with every later choice checked for shadowing.
constexpr isa< Family > target_features(std::string_view text) noexcept
wasm_feature
WebAssembly validation capabilities, using local bit indices.
constexpr std::size_t wasm_feature_count
Number of named Wasm feature values.
arm_feature
Independently observable ARM instruction features, using local bit indices.
constexpr architecture target_arch
The compiler target's family; no optional instruction support is implied.
isa(E) -> isa< detail::family_of< E > >
Deduce the family from a feature enum; explicit isa<> always names the host family.