Re: Proposed floating point changes (Re: Using float emulator on a system with FPU?)

1999-07-22 Thread Douglas Thomas Crosher
> + * The macro to choose one of these values does these steps: 1) Throw > + * away status word bits that cannot be masked. 2) Throw away the bits > + * currently masked in the control word, assuming the user isn't > + * interested in them anymore. 3) Reinsert status word bit 7 (stack Throwi

Proposed floating point changes (Re: Using float emulator on a system with FPU?)

1999-07-22 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > >Guessing from LINT's comments, you had to leave out npx and include > >one of the emulators, but -current's config refuses to config a kernel > >file without npx support. > > This was broken by adding "mandatory" to the npx line in file.i386. > > >I

Re: Using float emulator on a system with FPU?

1999-07-22 Thread Bruce Evans
>I am now able to switch "npx_exists" between npx_probe1() and >npx_attach(), which let me run with the emulator on a Pentium. > >But only from serial kgdb, since as you noted in your other message, >symbols are not available to ddb in ELF kernels started with -d. > >I assume you use kdb_init() fr

Re: Using float emulator on a system with FPU?

1999-07-22 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Bruce Evans wrote: > >I'm going to work on FreeBSD's floating point support, but I need to > >test my changes on systems using the FPU emulators (non-GPL and GPL). > > > >Is there any way to use these emulators on a system that has a > >hardware FPU? > > Toggling `npx_ex

Re: Using float emulator on a system with FPU?

1999-07-14 Thread Peter Jeremy
Hi Warner, >Without commenting on the need to have an emulator in the kernel, >doesn't -msoft-float work faster? Yes it does. The kernel has to emulate an 80x87, giving you the following sequence: a) trap to kernel b) decode FP instruction c) fetch operands - possibly including copyin() d) perfo

Re: Using float emulator on a system with FPU?

1999-07-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Smith writes: : Lots (and I mean _lots_) of embedded systems use fpu-less 386 and 486 : cores. Alienating users of these systems would be a dumb idea. Without commenting on the need to have an emulator in the kernel, doesn't -msoft-float work faster? Or is t

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Peter Jeremy
"Brian F. Feldman" <[EMAIL PROTECTED]> wrote: >On Tue, 13 Jul 1999, Peter Jeremy wrote: >> Anyone interested in working on FP emulation (or checking the >> shortcuts DEC made when then designed the Alpha) might like to >> check out : > >fetch: ucbtest.tar.g

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Oliver Fromme
Wilko Bulte wrote in list.freebsd-current: > As Poul-Henning Kamp wrote ... > > In message <[EMAIL PROTECTED]>, "Bria > > > > >> I suggested about half a year ago that we should officially desupport > > >> non-FPU configurations in 4.0. Unfortunately, my resolution was > > >> soundly defea

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Wilko Bulte
As Poul-Henning Kamp wrote ... > In message <[EMAIL PROTECTED]>, "Bria > > >> I suggested about half a year ago that we should officially desupport > >> non-FPU configurations in 4.0. Unfortunately, my resolution was > >> soundly defeated. > > > >Why shouldn't we? Noone uses machines without FPU

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Brian F. Feldman
On Tue, 13 Jul 1999, Peter Jeremy wrote: > Doug Rabson <[EMAIL PROTECTED]> wrote: > >You might consider looking at the fp emulator which I wrote for the alpha. > >It should be accurate (I tested against the fpu on an x86) and contains > >test harness code which can be used to play with it on both

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Trevor Johnson
Alex Zepeda wrote: > I've noticed recently, more and more, Linux is moving into the embedded > market quite nicely, and being used on smaller and smaller systems. > FreeBSD OTOH has been focusing (albeit not too successfully) on the higher > end market. OTOOH: http://www.freebsd.org/~picobsd/ _

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Martin Cracauer
In <[EMAIL PROTECTED]>, Garrett Wollman wrote: > < said: > > > I'm going to work on FreeBSD's floating point support, but I need to > > test my changes on systems using the FPU emulators (non-GPL and GPL). > > I suggested about half a year ago that we should officially desupport > non-FPU conf

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Daniel C. Sobral
"Brian F. Feldman" wrote: > > Why shouldn't we? Noone uses machines without FPUs anymore. What non-ancient > CPU doesn't have an FPU? And we're talking about the i386 family here... And 486SX. Anyway, I still hear of people with such machines. As a matter of fact, I caught some flak when I made

Re: Using float emulator on a system with FPU?

1999-07-13 Thread Peter Jeremy
Doug Rabson <[EMAIL PROTECTED]> wrote: >You might consider looking at the fp emulator which I wrote for the alpha. >It should be accurate (I tested against the fpu on an x86) and contains >test harness code which can be used to play with it on both x86 and alpha. Anyone interested in working on F

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Matthew N. Dodd
On Mon, 12 Jul 1999, Brian F. Feldman wrote: > Why shouldn't we? Noone uses machines without FPUs anymore. What > non-ancient CPU doesn't have an FPU? And we're talking about the i386 > family here... I've got a few. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | |

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Mike Smith
> > I suggested about half a year ago that we should officially desupport > > non-FPU configurations in 4.0. Unfortunately, my resolution was > > soundly defeated. > > Why shouldn't we? Noone uses machines without FPUs anymore. What non-ancient > CPU doesn't have an FPU? And we're talking about

Re: Using float emulator on a system with FPU?

1999-07-12 Thread John Birrell
Alex Zepeda wrote: > On Mon, 12 Jul 1999, Brian F. Feldman wrote: > > > Why shouldn't we? Noone uses machines without FPUs anymore. What > > non-ancient CPU doesn't have an FPU? And we're talking about the i386 > > family here... Nonsense. Read this:

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Brian F. Feldman
On Mon, 12 Jul 1999, Alex Zepeda wrote: > On Mon, 12 Jul 1999, Brian F. Feldman wrote: > > > Why shouldn't we? Noone uses machines without FPUs anymore. What > > non-ancient CPU doesn't have an FPU? And we're talking about the i386 > > family here... > > I've noticed recently, more and more, Li

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Alex Zepeda
On Mon, 12 Jul 1999, Brian F. Feldman wrote: > Why shouldn't we? Noone uses machines without FPUs anymore. What > non-ancient CPU doesn't have an FPU? And we're talking about the i386 > family here... I've noticed recently, more and more, Linux is moving into the embedded market quite nicely, an

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Mikhail Teterin
Brian F. Feldman once wrote: > > I suggested about half a year ago that we should officially > > desupport non-FPU configurations in 4.0. Unfortunately, my > > resolution was soundly defeated. > > Why shouldn't we? Noone uses machines without FPUs anymore. What > non-anc

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Jesper Skriver
On Mon, Jul 12, 1999 at 01:38:57PM -0700, David Schwartz wrote: > > > > Why shouldn't we? Noone uses machines without FPUs anymore. > > What non-ancient > > > CPU doesn't have an FPU? And we're talking about the i386 family here... > > > > > > > Embedded systems, anyone? > > True, but how

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Daniel Eischen
> Why shouldn't we? Noone uses machines without FPUs anymore. What non-ancient > CPU doesn't have an FPU? And we're talking about the i386 family here... IIRC, there were a few folks running FreeBSD in an embedded environment. Perhaps with 80386 FPU coprocessor-less systems? Dan Eischen [EMAIL

RE: Using float emulator on a system with FPU?

1999-07-12 Thread David Schwartz
> > Why shouldn't we? Noone uses machines without FPUs anymore. > What non-ancient > > CPU doesn't have an FPU? And we're talking about the i386 family here... > > > > Embedded systems, anyone? True, but how late a version do you really want to run on them? I've left even my P60's at Fre

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Julian Elischer
On Mon, 12 Jul 1999, Garrett Wollman wrote: > < said: > > > I'm going to work on FreeBSD's floating point support, but I need to > > test my changes on systems using the FPU emulators (non-GPL and GPL). > > I suggested about half a year ago that we should officially desupport > non-FPU confi

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Chris D. Faulhaber
On Mon, 12 Jul 1999, Brian F. Feldman wrote: > On Mon, 12 Jul 1999, Garrett Wollman wrote: > > > < said: > > > > > I'm going to work on FreeBSD's floating point support, but I need to > > > test my changes on systems using the FPU emulators (non-GPL and GPL). > > > > I suggested about half a

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, "Bria >> I suggested about half a year ago that we should officially desupport >> non-FPU configurations in 4.0. Unfortunately, my resolution was >> soundly defeated. > >Why shouldn't we? Noone uses machines without FPUs anymore. What non-ancient >CPU doesn't have

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Brian F. Feldman
On Mon, 12 Jul 1999, Garrett Wollman wrote: > < said: > > > I'm going to work on FreeBSD's floating point support, but I need to > > test my changes on systems using the FPU emulators (non-GPL and GPL). > > I suggested about half a year ago that we should officially desupport > non-FPU configu

Using float emulator on a system with FPU?

1999-07-12 Thread Garrett Wollman
< said: > I'm going to work on FreeBSD's floating point support, but I need to > test my changes on systems using the FPU emulators (non-GPL and GPL). I suggested about half a year ago that we should officially desupport non-FPU configurations in 4.0. Unfortunately, my resolution was soundly d

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Doug Rabson
On Mon, 12 Jul 1999, Martin Cracauer wrote: > Moin, > > I'm going to work on FreeBSD's floating point support, but I need to > test my changes on systems using the FPU emulators (non-GPL and GPL). > > Is there any way to use these emulators on a system that has a > hardware FPU? > > Guessing

Re: Using float emulator on a system with FPU?

1999-07-12 Thread Bruce Evans
>I'm going to work on FreeBSD's floating point support, but I need to >test my changes on systems using the FPU emulators (non-GPL and GPL). > >Is there any way to use these emulators on a system that has a >hardware FPU? Toggling `npx_exists' using ddb used to work. Now, toggling it off on i58

Using float emulator on a system with FPU?

1999-07-12 Thread Martin Cracauer
Moin, I'm going to work on FreeBSD's floating point support, but I need to test my changes on systems using the FPU emulators (non-GPL and GPL). Is there any way to use these emulators on a system that has a hardware FPU? Guessing from LINT's comments, you had to leave out npx and include one