Skip to content

Commit 31b2db2

Browse files
authored
Merge pull request #2 from fullermd/main
s/mutlip/multip/
2 parents 77598b3 + 14886b1 commit 31b2db2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/post/multiply.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ feed them into 4 of the 6 inputs of this CSA array, and when we have our 2 resul
233233
CSA array with `0`s.
234234
235235
<a name="trick"> </a>
236-
A clever trick can be done here. The ARM7TDMI [supports mutliply accumulates](#instructions), which perform multiplication and addition in one instruction. We can implement multiply accumulate by initializing one
236+
A clever trick can be done here. The ARM7TDMI [supports multiply accumulates](#instructions), which perform multiplication and addition in one instruction. We can implement multiply accumulate by initializing one
237237
of those two inputs with the accumulate value, and get multiply accumulate without extra cycles. This trick is what the
238238
ARM7TDMI employs to do multiply accumulate. (This ends up being a moot point, because the CPU is stupid and can only read two register values at a time per cycle. So, using an accumulate causes the CPU to take
239239
an extra cycle _anyway_). <sup>[[4, p.95](#cite4)]</sup>
@@ -569,7 +569,7 @@ u128 partial_sum;
569569
u128 partial_carry;
570570
571571
do {
572-
csa_output = perform_one_cycle_of_booths_mutliplication(
572+
csa_output = perform_one_cycle_of_booths_multiplication(
573573
csa_output, multiplicand, multiplier);
574574
575575
// The bottom 8 bits of this cycle cannot be changed by future

0 commit comments

Comments
 (0)