Skip to contentSkip to conversation

i387 Floating Point Unit (FPU) testing

DISCUSSION James Courtier-Dutton 3 participants 4 messages Nov 5, 2006 – Nov 7, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

The kernel contains some i387 FPU emulation code.
Is there any user land software to test the FPU emulation code?
I would like to be able to prove the correctness of the FPU emulation code in the Linux kernel, and also port the test program to other platforms that utilize FPU emulation. For example, DOS emulators like DOSBOX.

James

#1 lore raw
Quoted 6 lines

The kernel contains some i387 FPU emulation code.
Is there any user land software to test the FPU emulation code?
I would like to be able to prove the correctness of the FPU emulation code in the Linux kernel, and also port the test program to other platforms that utilize FPU emulation. For example, DOS emulators like DOSBOX.

If the kernel already emulates it, you don't really need emulation in userspace, no?

	-`J'
#2 lore raw
Quoted 9 lines · Jan Engelhardt
Quoted 5 lines

The kernel contains some i387 FPU emulation code.
Is there any user land software to test the FPU emulation code?
I would like to be able to prove the correctness of the FPU emulation code in the Linux kernel, and also port the test program to other platforms that utilize FPU emulation. For example, DOS emulators like DOSBOX.

If the kernel already emulates it, you don't really need emulation in userspace, no?

	-`J'

Hum...Did you actually read my email?

#3 lore raw
In reply to James Courtier-Dutton
Quoted 6 lines · James Courtier-Dutton

Hi,

The kernel contains some i387 FPU emulation code.
Is there any user land software to test the FPU emulation code?
I would like to be able to prove the correctness of the FPU emulation code in the Linux kernel, and also port the test program to other platforms that utilize FPU emulation. For example, DOS emulators like DOSBOX.

The i387 FPU emulation code is originally from DJGPP, I believe.

-hpa