Subject: Re: a couple of low level questions
To: None <port-sparc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-sparc
Date: 01/05/2003 21:04:42
>> usr/src/lib/libc/arch/sparc/gen/divrem.m4
> What I mean is, where can I see the code which detects whether to use
> the library code (e.g. usr/src/libc/arch/sparc/gen/divrem.m4) or
> whether do do it in hardware directly (e.g. with a udiv instruction)?
I suspect that you have to do that manually (eg, something like -mv8
when compiling). Maybe one of the SPARC toolchain wizards can tell us?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B