[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] cpu-all.h: Remove unnecessary target-specific i
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH] cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU |
Date: |
Wed, 06 Apr 2011 00:15:26 +0200 |
Le mardi 05 avril 2011 à 22:54 +0100, Peter Maydell a écrit :
> On 5 April 2011 22:48, Laurent Vivier <address@hidden> wrote:
> > Le lundi 04 avril 2011 à 12:09 +0100, Peter Maydell a écrit :
> >> -#if defined(TARGET_SPARC) || defined(TARGET_S390X)
> >> +#if defined(CONFIG_SOFTFLOAT)
> >
> > Why don't you use "#if defined(FLOAT128)" ?
>
> I did consider that, but I felt FLOAT128 was a softfloat-internal
> macro rather than part of the API softfloat provides to the rest
> of qemu.
But, for instance, "#ifdef FLOATX80" is used in target-i386/cpu.h and
target-i386/op_helper.c.
Regards,
Laurent
--
--------------------- address@hidden ----------------------
"Tout ce qui est impossible reste à accomplir" Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard