Skip to content

Commit

Permalink
Add binary sfpu div init
Browse files Browse the repository at this point in the history
  • Loading branch information
rdjogoTT committed Dec 21, 2024
1 parent 48e7139 commit 041753e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions common/inc/sfpu/ckernel_sfpu_binary.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,13 @@ inline void _calculate_sfpu_binary_(const uint dst_offset)
}
}

template <bool APPROXIMATION_MODE /*unused*/, int BINOP_MODE>
inline void _sfpu_binary_init_()
{
if constexpr (BINOP_MODE == DIV_BINARY) {
_init_reciprocal_<APPROXIMATION_MODE>();
}
}

} // namespace sfpu
} // namespace ckernel

0 comments on commit 041753e

Please sign in to comment.