static inline SimdFloat gmx_simdcall operator&(SimdFloat a, SimdFloat b)
{
svbool_t pg = svptrue_b32();
- return { svreinterpret_f32_s32(svand_s32_x(pg, svreinterpret_s32_f32(a.simdInternal_),
- svreinterpret_s32_f32(b.simdInternal_))) };
+ return { svreinterpret_f32_s32(svand_s32_x(
+ pg, svreinterpret_s32_f32(a.simdInternal_), svreinterpret_s32_f32(b.simdInternal_))) };
}
static inline SimdFloat gmx_simdcall andNot(SimdFloat a, SimdFloat b)
{
svbool_t pg = svptrue_b32();
- return { svreinterpret_f32_s32(svbic_s32_x(pg, svreinterpret_s32_f32(b.simdInternal_),
- svreinterpret_s32_f32(a.simdInternal_))) };
+ return { svreinterpret_f32_s32(svbic_s32_x(
+ pg, svreinterpret_s32_f32(b.simdInternal_), svreinterpret_s32_f32(a.simdInternal_))) };
}
static inline SimdFloat gmx_simdcall operator|(SimdFloat a, SimdFloat b)
{
svbool_t pg = svptrue_b32();
- return { svreinterpret_f32_s32(svorr_s32_x(pg, svreinterpret_s32_f32(a.simdInternal_),
- svreinterpret_s32_f32(b.simdInternal_))) };
+ return { svreinterpret_f32_s32(svorr_s32_x(
+ pg, svreinterpret_s32_f32(a.simdInternal_), svreinterpret_s32_f32(b.simdInternal_))) };
}
static inline SimdFloat gmx_simdcall operator^(SimdFloat a, SimdFloat b)
{
svbool_t pg = svptrue_b32();
- return { svreinterpret_f32_s32(sveor_s32_x(pg, svreinterpret_s32_f32(a.simdInternal_),
- svreinterpret_s32_f32(b.simdInternal_))) };
+ return { svreinterpret_f32_s32(sveor_s32_x(
+ pg, svreinterpret_s32_f32(a.simdInternal_), svreinterpret_s32_f32(b.simdInternal_))) };
}
static inline SimdFloat gmx_simdcall operator+(SimdFloat a, SimdFloat b)
iExponent = svsub_s32_x(
pg, svreinterpret_s32_u32(svlsr_n_u32_x(pg, svreinterpret_u32_s32(iExponent), 23)), exponentBias);
-
- svfloat32_t result = svreinterpret_f32_s32(svorr_s32_x(
- pg, svand_s32_x(pg, svreinterpret_s32_f32(value.simdInternal_), mantissaMask),
- svreinterpret_s32_f32(half)));
+ svfloat32_t result = svreinterpret_f32_s32(
+ svorr_s32_x(pg,
+ svand_s32_x(pg, svreinterpret_s32_f32(value.simdInternal_), mantissaMask),
+ svreinterpret_s32_f32(half)));
if (opt == MathOptimization::Safe)
{