ec: Consider replacing int_sqrtf() with sqrtf() |
||||
Issue descriptionIf CONFIG_FPU is defined, we can throw away our inefficient int_sqrtf() function and replace it with sqrtf(), which takes just 14 CPU clock cycles to compute.
,
Jun 21 2017
,
Jun 21 2017
jbruneau@ pointed out that although nds32 has an FPU, it doesn't seem to have a HW sqrt instruction, so sqrtf() is probably less efficient than our int_sqrtf() binary search. Let's change our condition for using sqrtf().
,
Jun 21 2017
,
Jun 21 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by sha...@chromium.org
, Apr 12 2017Labels: Hotlist-GoodFirstBug
Status: Available (was: Untriaged)