Bug#608550: closed by Aurelien Jarno aurel...@aurel32.net (Re:

2011-01-01 Thread Peter T. Breuer
Hi ... (disagree, for flaw in reasoning about bne). Also sprach Debian Bug Tracking System: With compile options -O0 -static -DMIPS -mips1 -mabi=32 -msoft-float -mno-memcpy gcc produces incorrect code for division (and I suppose, %) from C. Test code can be simply:

Bug#608550: closed by Aurelien Jarno aurel...@aurel32.net (Re:

2011-01-01 Thread Julien BLACHE
Peter T. Breuer p...@inv.it.uc3m.es wrote: Hi, * if v1 is equal to 0, the following sequence is executed: bne $3,$0,1f div $0,$2,$3 break 7 Yes. The branch fails, and falls through to the division, which (fails and) traps in the break following. I think you're getting

Bug#608550: closed by Aurelien Jarno aurel...@aurel32.net (Re:

2011-01-01 Thread Aurelien Jarno
On Sat, Jan 01, 2011 at 03:34:02PM +0100, Peter T. Breuer wrote: Hi ... (disagree, for flaw in reasoning about bne). Also sprach Debian Bug Tracking System: With compile options -O0 -static -DMIPS -mips1 -mabi=32 -msoft-float -mno-memcpy gcc produces incorrect code for