Re: 2.2.18Pre Lan Performance Rocks!

Jeff V. Merkey
2000-11-02T22:50:48Z

"Jeff V. Merkey" wrote:

In the example of an AGI generating code fragment, while I described the
sequence of creating the AGI with immediate address usage correctly
(i.e. if you load an address into a register then immediately attempt to
use it, it will generate an AGI), I failed to put the register in the
coding example.

A couple of folks are testing the gcc compiler for AGI problems as a
result of this post, and I am posting the corrected code for their
tests.

This code fragment will generate an AGI condition:

mov eax, addr
mov [eax].offset, ebx

You can do it with any register combination, BTW, eax and abx are
provided as examples. For those who are monitoring the code produced by
gcc, this is the example to use to test generate an AGI correctly.

:-)

Jeff