8#elifdef __ARM_FEATURE_MVE
24template <>
struct Scalar<int8x16_t> {
using type = int8_t; };
25template <>
struct Scalar<uint8x16_t> {
using type = uint8_t; };
26template <>
struct Scalar<int16x8_t> {
using type = int16_t; };
27template <>
struct Scalar<uint16x8_t> {
using type = uint16_t; };
28template <>
struct Scalar<int32x4_t> {
using type = int32_t; };
29template <>
struct Scalar<uint32x4_t> {
using type = uint32_t; };
30template <>
struct Scalar<int64x2_t> {
using type = int64_t; };
31template <>
struct Scalar<uint64x2_t> {
using type = uint64_t; };
33#if ARGON_HAS_SINGLE_FLOAT
34template <>
struct Scalar<float32x4_t> {
using type = float; };
37#if ARGON_HAS_HALF_FLOAT
38template <>
struct Scalar<float16x8_t> {
using type = float16_t; };
41#if ARGON_HAS_DOUBLE_FLOAT
42template <>
struct Scalar<float64x2_t> {
using type = double; };
45#ifndef ARGON_PLATFORM_MVE
46template <>
struct Scalar<int8x8_t> {
using type = int8_t; };
47template <>
struct Scalar<uint8x8_t> {
using type = uint8_t; };
48template <>
struct Scalar<int16x4_t> {
using type = int16_t; };
49template <>
struct Scalar<uint16x4_t> {
using type = uint16_t; };
50template <>
struct Scalar<int32x2_t> {
using type = int32_t; };
51template <>
struct Scalar<uint32x2_t> {
using type = uint32_t; };
52template <>
struct Scalar<int64x1_t> {
using type = int64_t; };
53template <>
struct Scalar<uint64x1_t> {
using type = uint64_t; };
54#if ARGON_HAS_SINGLE_FLOAT
55template <>
struct Scalar<float32x2_t> {
using type = float; };
58#if ARGON_HAS_HALF_FLOAT
59template <>
struct Scalar<float16x4_t> {
using type = float16_t; };
62#if ARGON_HAS_DOUBLE_FLOAT
63template <>
struct Scalar<float64x1_t> {
using type = double; };
71using Scalar_t =
typename Scalar<std::remove_cv_t<T>>::type;
Header file for SIMD features and platform detection.
SIMDe's NEON implementation (x86 and other non-Arm hosts) under the NEON intrinsic names.
Helper template to get the scalar type of a SIMD vector type.
Definition scalar.hpp:21