10 #ifndef EIGEN_TYPE_CASTING_SVE_H
11 #define EIGEN_TYPE_CASTING_SVE_H
13 #include "../../InternalHeaderCheck.h"
19 struct type_casting_traits<float, numext::
int32_t> {
20 enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
24 struct type_casting_traits<numext::
int32_t, float> {
25 enum { VectorizedCast = 1, SrcCoeffRatio = 1, TgtCoeffRatio = 1 };
30 return svcvt_f32_s32_z(svptrue_b32(),
a);
35 return svcvt_s32_f32_z(svptrue_b32(),
a);
40 return svreinterpret_f32_s32(
a);
45 return svreinterpret_s32_f32(
a);
PacketXi preinterpret< PacketXi, PacketXf >(const PacketXf &a)
PacketXi pcast< PacketXf, PacketXi >(const PacketXf &a)
PacketXf pcast< PacketXi, PacketXf >(const PacketXi &a)
PacketXf preinterpret< PacketXf, PacketXi >(const PacketXi &a)