Change bold code snippets to inline code blocks
This commit is contained in:
parent
f658bfbb40
commit
3c76d884ef
185 changed files with 1772 additions and 1772 deletions
6
53-01.md
6
53-01.md
|
|
@ -72,13 +72,13 @@ then implementing the fixed-point multiplication and division functions
|
|||
in assembly in order to take advantage of the 386's 32-bit capabilities.
|
||||
There's another area of the program that fairly cries out for assembly
|
||||
language: matrix math. The function to multiply a matrix by a vector
|
||||
(**XformVec()**) and the function to concatenate matrices
|
||||
(**ConcatXforms()**) both loop heavily around calls to **FixedMul();** a
|
||||
(`XformVec()`) and the function to concatenate matrices
|
||||
(`ConcatXforms()`) both loop heavily around calls to **FixedMul();** a
|
||||
lot of calling and looping can be eliminated by converting these
|
||||
functions to pure assembly language.
|
||||
|
||||
Listing 53.1 is the module FIXED.ASM from this chapter's iteration of
|
||||
X-Sharp, with **XformVec()** and **ConcatXforms()** implemented in
|
||||
X-Sharp, with `XformVec()` and `ConcatXforms()` implemented in
|
||||
assembly language. The code is heavily optimized, to the extent of
|
||||
completely unrolling the loops via macros so that looping is eliminated
|
||||
altogether. FIXED.ASM is highly effective; the time taken for matrix
|
||||
|
|
|
|||
Loading…
Reference in a new issue