Le mardi 05 avril 2011 à 22:54 +0100, Peter Maydell a écrit : > On 5 April 2011 22:48, Laurent Vivier <laur...@vivier.eu> 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 -- --------------------- laur...@vivier.eu ---------------------- "Tout ce qui est impossible reste à accomplir" Jules Verne "Things are only impossible until they're not" Jean-Luc Picard