summaryrefslogtreecommitdiff
path: root/n/avr/modules/math/fixed/fixed_div_f824.avr.S
diff options
context:
space:
mode:
authorschodet2005-08-17 20:37:34 +0000
committerschodet2005-08-17 20:37:34 +0000
commit875991a3399c5326036cfe2d3023b567ce4666a9 (patch)
tree3bb272c4427298042f1129a75e6bfdab6d4fe75c /n/avr/modules/math/fixed/fixed_div_f824.avr.S
parent99d9fd4751024915868c9eeff0b5d9497b3b468c (diff)
Ajout du test mul et div.
Ajout du code host. Ajout des timings.
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