asm needs too many reloads

Alexandre Oliva aoliva@redhat.com
Thu Aug 16 18:22:00 GMT 2001


On Aug 16, 2001, "jonathan page" <pagejonathan@hotmail.com> wrote:

> /* This code snippet works fine...but the problem shows up when
> * this macro is included from a large c file with many such macros
> */

Then, we need the large C file ot be able to duplicate the problem.
Or a reduced version thereof that still triggers it.

Consider using local variables to hold copies of op1 and op2, and
other local variables for __temp and fl, explicitly assigned to the
global variables after the asm statement.  I believe this would help
reload do its job.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list