yeah, inlining might be buggy... have no idea why... I'll double check this anyway.
~d On Thursday 02 January 2003 17:46, Steve Underwood wrote: > Hi, > > I was half asleep when I reported my last code generation problem, but > this time I think I am awake :-) > > The attached test.c file compiles to the attached test.s file. There > seems to be something rather wrong with this. The arithmetic performed > on accum2 looks OK, but accum1 is screwed up. accum1 is never loaded or > stored, and screwy registers are used in accumulating the result of the > imul16 routine. > > Regards, > Steve -- ********************************************************************* ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 314-8860, 5585314 *********************************************************************