Skip to content

Commit

Permalink
features2d: v_fma => v_muladd for integers
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Jul 13, 2020
1 parent 8931c68 commit 36da867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/features2d/src/sift.simd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 36da867

Please sign in to comment.