Skip to content

Commit ac9cfe8

Browse files
committed
Replace fib_iterative_24M with 32M
1 parent 6c29ed7 commit ac9cfe8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
.globl main
33
main:
44
# Iterative Fibonacci - pure register arithmetic
5-
# ~24M steps
5+
# ~32M steps
66
#
77
# Loop body: 5 instructions per iteration
8-
# 4800000 iterations × 5 = 24000000 + setup/teardown
8+
# 6400000 iterations × 5 = 32000000 + setup/teardown
99

1010
li t0, 0 # a = fib(0) = 0
1111
li t1, 1 # b = fib(1) = 1
12-
li a0, 4800000 # iteration count
12+
li a0, 6400000 # iteration count
1313

1414
.loop:
1515
add t2, t0, t1 # t2 = a + b

0 commit comments

Comments
 (0)