Skip to content

Commit 718e4fb

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 5912c96 + bc68fb0 commit 718e4fb

File tree

1 file changed

+2
-2
lines changed
  • include/FastSIMD/ToolSet/ARM/128

1 file changed

+2
-2
lines changed

include/FastSIMD/ToolSet/ARM/128/f32x4.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,12 @@ namespace FS
244244
template<FastSIMD::FeatureSet SIMD, typename = EnableIfNative<f32<4, SIMD>>, typename = EnableIfRelaxed<SIMD>>
245245
FS_FORCEINLINE f32<4, SIMD> FMulAdd( const f32<4, SIMD>& a, const f32<4, SIMD>& b, const f32<4, SIMD>& c )
246246
{
247-
return vmlaq_f32( b.native, c.native, a.native );
247+
return vmlaq_f32( c.native, a.native, b.native );
248248
}
249249

250250
template<FastSIMD::FeatureSet SIMD, typename = EnableIfNative<f32<4, SIMD>>, typename = EnableIfRelaxed<SIMD>>
251251
FS_FORCEINLINE f32<4, SIMD> FNMulAdd( const f32<4, SIMD>& a, const f32<4, SIMD>& b, const f32<4, SIMD>& c )
252252
{
253-
return vmlaq_f32( b.native, c.native, a.native );
253+
return vmlsq_f32( c.native, a.native, b.native );
254254
}
255255
}

0 commit comments

Comments
 (0)