2014-11-26 3:28 GMT+01:00 Dongsheng Song <dongsheng.s...@gmail.com>:
> On 2014-11-26 04:58, Kai Tietz wrote:
>>
>> 2014-11-25 21:49 GMT+01:00 Carl Kleffner <cmkleff...@gmail.com>:
>>>
>>> Hi Kai,
>>>
>>> you may take notice of some inconsistent behaviour. The master thread
>>> starts
>>> with extended precision. Newly created threads start with the MSVC
>>> standard
>>> double precision.
>>>
>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761175
>>>
>> Yes, we can do here something.  Question is here the following:  Do we
>> want to do this only if executable is generated by mingw-w64, or do we
>> want it for each loaded DLL?
>>
>> Kai
>>
>
> It's really  strange thing, can we just set to extended precision in the
> function pthread_create ?
>
> Regards,
> Cauchy

Well, to set it just for pthread_create would be too short.  Well, we
might consider to add too our pthread-code the ability to clone
creator-thread's FPU-control-word to its child-thread, but this seems
to me like a different story.  I think that the proper behavior is to
set FPU-control-word for any thread within an application using our
startup.  So we won't set it within DLLs explicit, but just in EXEs.

Kai

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to