|
Message
From: Matjaz Breskvar<phoenix@o...>
Date: Thu Apr 14 00:28:09 CEST 2005
Subject: [openrisc] gcc, __modsi3, bug
Hi all !There was a bug in __modsi3 (the one called for '%' computation) functions in all compiler version in the opnecores cvs. I fixed it in gcc-3.2.3 and gcc-3.4.2. Sometimes the sign of the result was wrong, so i suggest everybody update the compiler ...
best regards, p.
PS. right now x = a % b is positive if both a non-negative and b non-negative or both negative. i hope this is correct.
|
 |