The openrisc bugtracker has been moved to: bugzilla.opencores.org. This page is read-only
GCC 4.2.2 assumes no hardware multiplication
Information:
Type :: BUG
Status :: CLOSED
Assigned to ::
Jeremy, Bennett
Description:
The old GCC 3.4.4. for OpenRISC assumed the availability of hardware multiplication, but not hardware division by default (i.e. -mhard-mul, -msoft-div), which was consistent with the default Verilog configuration. The current GCC 4.2.2 appears to assume neither hardware multiplication nor hardware division are present (i.e. -msoft-mul, -msoft-div).
The old behavior can be restored by using -mhard-div on the GCC command line of in the CFLAGS within Makefiles. However it would be better to restore the defaults, for consistency with Verilog.
This is based on a preliminary analysis of the problem, which needs verifying.
Comments:
| Bennett, Jeremy | Sep 5, 2010 |
|---|---|
|
This bug was introduced by accident, due to a change in internal GCC interfaces. It is fixed in GCC 4.5.1 in SVN. Jeremy Marking closed. Jeremy
-- |
|
Post a comment:
Login to post comments!
