------- Additional Comments From yhlin at sdesigns dot com 2005-05-17 20:44 ------- Reading the output assembly twice, it's true that they are equivalent, it's just that the div is run in the branch delay slot of bnez in the firt case.
It seems we need strict prologue/epilogue for __asm__ statements like .set noreorder .set nomacro .set push ... assembly stuff ... .set pop to have exact same code generated? As a result, the bug is mared as invalid. Thanks for the help. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21535