Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MATH_EMULATE




To: port-i386%netbsd.org@localhost

Subject: Re: MATH_EMULATE

From: "Perry E. Metzger" <perry%piermont.com@localhost>

Date: Mon, 14 Jan 2008 00:37:14 -0500


"Douglas A. Tutty" <dtutty%porchlight.ca@localhost> writes:
> On Mon, Jan 14, 2008 at 08:03:44AM +1100, Daniel Carosone wrote:
>  
>>  - Removing MATH_EMULATE from the kernel *doesn't* mean machines
>>    without FPU can't run netbsd, or won't be supported. It just means
>>    that they will need their binaries compiled with -msoft-float,
>>    rather than relying on emulated cpu insructions.  This will be
>>    faster anyway, and such machines these days will be used for
>>    special-purpose cases and will benefit in other ways from
>>    special-purpose builds specific to their needs. 
>
> If that is the only difference, then would it be a trivial (and possibly
> automated) to have an i386-nofpu port that tracks i386 except for the
> compiler option?  Make a change to i386 and the automated part generates
> the same change in i386-nofpu.  The source code would be the same, just
> with different binaries.

Actually, the libm387 stuff would need to be replaced with libm on a
machine that ran without a 387.

-- 
Perry E. Metzger                perry%piermont.com@localhost



References:

MATH_EMULATE
From: Andrew Doran

Re: MATH_EMULATE
From: Vit Herman

Re: MATH_EMULATE
From: Daniel Carosone

Re: MATH_EMULATE
From: Douglas A. Tutty




Prev by Date: Re: MATH_EMULATE

Next by Date: ATI HD2400PRO on netbsd-4 ?

Previous by Thread: Re: MATH_EMULATE

Next by Thread: Re: MATH_EMULATE

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index