Commit 0c66e48
committed
Replace
Refactor `write_matrix.s` to avoid using the `mul` instruction by
implementing a custom solution for multiplication. This approach
is inspired by the cumulative addition/subtraction logic used in
the earlier `dot` operation implementation.
Negative numbers are not handled here, as both the number of rows
and columns are guaranteed to be positive.mul in write_matrix.s1 parent c818213 commit 0c66e48
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
0 commit comments