Where's ".div" implemented?
Nick Patavalis
npat@inaccessnetworks.com
Tue Jun 3 14:51:00 GMT 2003
On Tue, Jun 03, 2003 at 07:25:03AM -0700, Doug Evans wrote:
> .div is in gcc/config/sparc/lb1spc.asm in the gcc sources.
>
> I'm guessing no one's tried running linux on an old v7 machine
> because the linux configurations don't include lb1spc.asm in libgcc.a.
> [not surprising]
Actually my target processor is a quite new LEON, which is compliant
with sparc-v8, but with the integer multiply / divide instructions
disabled (according to the gcc-manual is the only difference between
v7 / v8, as far as gcc is concerned).
As I am planning on eventually running linux on it, I would like to
have a single toolkit. I also figure that since gcc accepts the
"-mcpu=v7" the integet mul/div instructions *should* de included in
libgcc.a (i.e. not including them could be considered a "bug" of
sorts).
Do you know how to make gcc build with these functions included in
"libgcc.a". I mean what build-scripts, config-files, etc should be
changed to make this happen?
Thanks
/npat
--
Perilous to us all are the devices of an art deeper than we possess
ourselves.
-- Gandalf, in J.R.R. Tolkien's The Lord of the Rings
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list