From 36da867caf32ed9628673aa1a79b441c5e1c83d6 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 13 Jul 2020 17:15:41 +0000 Subject: [PATCH] features2d: v_fma => v_muladd for integers --- modules/features2d/src/sift.simd.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/features2d/src/sift.simd.hpp b/modules/features2d/src/sift.simd.hpp index fefed638c5..9b869f25c9 100644 --- a/modules/features2d/src/sift.simd.hpp +++ b/modules/features2d/src/sift.simd.hpp @@ -656,7 +656,7 @@ void calcSIFTDescriptor( v_float32 v_rco011 = v_rc01*obin, v_rco010 = v_rc01 - v_rco011; v_float32 v_rco001 = v_rc00*obin, v_rco000 = v_rc00 - v_rco001; - v_int32 idx = v_fma(v_fma(r0+__1, __d_plus_2, c0+__1), __n_plus_2, o0); + v_int32 idx = v_muladd(v_muladd(r0+__1, __d_plus_2, c0+__1), __n_plus_2, o0); v_store_aligned(idx_buf, idx); v_store_aligned(rco_buf, v_rco000);