3#include "arm_simd/helpers/make_unsigned.hpp"
5#ifdef __ARM_FEATURE_MVE
16template <
typename T>
struct Bool {
17 using type =
typename simd::make_unsigned<T>::type;
21#if ARGON_HAS_SINGLE_FLOAT
22template <>
struct Bool<float32x4_t> {
using type = uint32x4_t; };
24#ifndef ARGON_PLATFORM_MVE
25template <>
struct Bool<float32x2_t> {
using type = uint32x2_t; };
29#if ARGON_HAS_DOUBLE_FLOAT
30template <>
struct Bool<float64x2_t> {
using type = uint64x2_t; };
32#ifndef ARGON_PLATFORM_MVE
33template <>
struct Bool<float64x1_t> {
using type = uint64x1_t; };
37#if ARGON_HAS_HALF_FLOAT
38template <>
struct Bool<float16x8_t> {
using type = uint16x8_t; };
40#ifndef ARGON_PLATFORM_MVE
41template <>
struct Bool<float16x4_t> {
using type = uint16x4_t; };
Header file for SIMD features and platform detection.
A 128-bit SIMD vector wrapping a scalar type, providing arithmetic, logical, and data-movement operat...
Definition argon.hpp:30
Bool< T >::type Bool_t
Helper alias to get the boolean type of a SIMD operation.
Definition bool.hpp:49
Helper template to determine the boolean type of a SIMD operation.
Definition bool.hpp:16