summaryrefslogtreecommitdiff
path: root/n/avr/modules/math/fixed/fixed_div_f824.avr.S
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/modules/math/fixed/fixed_div_f824.avr.S')
-rw-r--r--n/avr/modules/math/fixed/fixed_div_f824.avr.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/n/avr/modules/math/fixed/fixed_div_f824.avr.S b/n/avr/modules/math/fixed/fixed_div_f824.avr.S
index 76992c3..43f4e0c 100644
--- a/n/avr/modules/math/fixed/fixed_div_f824.avr.S
+++ b/n/avr/modules/math/fixed/fixed_div_f824.avr.S
@@ -23,6 +23,10 @@
;
; }}}
+; Perfs:
+; 1186 cycles in worse case
+; 843 per second, per MHz
+
#define dd3 r25
#define dd2 r24
#define dd1 r23
@@ -44,7 +48,7 @@
#define cnt r16
- .section .text
+ .text
.global fixed_div_f824
.func fixed_div_f824
fixed_div_f824:
@@ -159,4 +163,4 @@ fixed_div_f824:
; Return.
1: pop r16
ret
- .endfunc
+ .endfunc