Use proper lists instead of DLs with bullet points
This commit is contained in:
parent
500e7f5654
commit
7e957c0bb4
12 changed files with 83 additions and 83 deletions
14
08-02.html
14
08-02.html
|
|
@ -77,13 +77,13 @@ jz Match
|
|||
<P>More on this shortly.
|
||||
</P>
|
||||
<P>To recap, here are some things to look for when striving to convert C code into optimized assembly language:</P>
|
||||
<DL>
|
||||
<DD><B>•</B> Move the entire performance-critical section into a single assembly language function.
|
||||
<DD><B>•</B> Don’t use calls or stack frame accesses inside the critical code, if possible, and avoid unnecessary memory accesses of any kind.
|
||||
<DD><B>•</B> Change segments as infrequently as possible.
|
||||
<DD><B>•</B> Optimize in terms of what assembly does well, <I>not</I> in terms of fine-tuning compiled C code.
|
||||
<DD><B>•</B> Change the rules to the benefit of assembly, if necessary; for example, reorganize data structto allow efficient assembly language processing.
|
||||
</DL>
|
||||
<ul>
|
||||
<li>Move the entire performance-critical section into a single assembly language function.</li>
|
||||
<li>Don’t use calls or stack frame accesses inside the critical code, if possible, and avoid unnecessary memory accesses of any kind.</li>
|
||||
<li>Change segments as infrequently as possible.</li>
|
||||
<li>Optimize in terms of what assembly does well, <I>not</I> in terms of fine-tuning compiled C code.</li>
|
||||
<li>Change the rules to the benefit of assembly, if necessary; for example, reorganize data structto allow efficient assembly language processing.</li>
|
||||
</ul>
|
||||
<P>That said, let me show some of these precepts in action.
|
||||
</P>
|
||||
<H4 ALIGN="LEFT"><A NAME="Heading9"></A><FONT COLOR="#000077">A C-to-Assembly Case Study</FONT></H4>
|
||||
|
|
|
|||
Loading…
Reference in a new issue