On Wed, Aug 10, 2011 at 12:54 PM, Bastien ROUCARIES
<[email protected]> wrote:
> Ok in this case use the wrapper from gnulib
>
> Bastien
>
> Le 10 août 2011 12:04, "Bernhard R. Link" <[email protected]> a écrit :
>
> * roucaries bastien <[email protected]> [110810 00:09]:
>
>> On Tue, Aug 9, 2011 at 5:03 PM, Bernhard R. Link <[email protected]>
>> wrote:
>
>> > I think the behaviour ntl is using (some assembler on i386 to unset and
>> > restore the CPU bit ...
>
> Which other lib would want to do floating point operations between the
> start and the end of one of the functions of quad_float.c ?

Did you read this http://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html

A little bit out of topic but worth to report upstream

After reviewing the implementation it seems that it is quite fragile:
1.  #if (defined(__GNUC__) && NTL_EXT_DOUBLE && (defined(__i386__) ||
defined(__i486__) || defined(__i586__)))
Does not work if 686 is compiled with -mfpmath=387
2. volatile trick is fragile

Care to report upstream ?

Bastien

> Bernhard R. Link
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a sub...
>
> Archive:
> http://lists.debian.org/[email protected]
>
>


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/cae2spaznu7kt3fxgr0njrsoqders3b-m3mx7ftaw7eka8fc...@mail.gmail.com

Reply via email to