[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/9] target-sh4: switch sh4 to softfloat
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [PATCH 1/9] target-sh4: switch sh4 to softfloat |
Date: |
Tue, 11 Jan 2011 22:44:20 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Jan 11, 2011 at 01:22:08PM -0800, Nathan Froyd wrote:
> On Tue, Jan 11, 2011 at 10:01:30PM +0100, Aurelien Jarno wrote:
> > case "$target_arch2" in
> > -
> > alpha|arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|s390x|sparc|sparc64|sparc32plus)
> > +
> > alpha|arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|s390x|sh4|sh4eb|sparc|sparc64|sparc32plus)
> > echo "CONFIG_SOFTFLOAT=y" >> $config_target_mak
> > ;;
> > *)
>
> This is obvious, I think...but it's also a little ridiculous. Why not
> make everything use softfloat and dispense with this? How much work
> would it be on the x86 side?
>
On the x86 target, the problem is that it doesn't compile with
softfloat. OTOH, I think it is the way to go, as for example emulating
an x86 machine on ARM, even if you don't care about the exception flags,
the precision is not correct.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
- [Qemu-devel] target-sh4: improve FPU emulation, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 5/9] target-sh4: define FPSCR constants, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 9/9] target-sh4: add ftrv instruction, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 8/9] target-sh4: add fipr instruction, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 7/9] target-sh4: implement FPU exceptions, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 6/9] target-sh4: implement flush-to-zero, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 3/9] softfloat: fix default-NaN mode, Aurelien Jarno, 2011/01/11
- [Qemu-devel] [PATCH 2/9] softfloat: SH4 has the sNaN bit set, Aurelien Jarno, 2011/01/11