Re: FastMM.. any work in progress?
- From: Pierre le Riche <pleriche@xxxxxxxxxxx>
- Date: Mon, 14 Jul 2008 10:15:56 +0200
Hi Sanyin,
Can you explain this behaviour?It is not safe to use MMX?
It is safe to use MMX, just not in the memory manager. :-) Some of the "compiler magic" functions pass a floating point parameter on the FPU stack. If such a routine calls the memory manager and the memory manager uses MMX then that FPU parameter will be destroyed, since you cannot use the FPU and MMX at the same time.
So far I have only seen this happen in custom variant code, so admittedly it is rare for this to happen. However, the gain from using MMX is very small (less than 2%), so I decided to play it safe and switch it off by default.
Regards,
Pierre
.
- References:
- FastMM.. any work in progress?
- From: Clément Doss
- Re: FastMM.. any work in progress?
- From: Pierre le Riche
- Re: FastMM.. any work in progress?
- From: Sanyin
- Re: FastMM.. any work in progress?
- From: Pierre le Riche
- Re: FastMM.. any work in progress?
- From: Sanyin
- FastMM.. any work in progress?
- Prev by Date: Re: FastMM.. any work in progress?
- Next by Date: Re: I need the fastest routine
- Previous by thread: Re: FastMM.. any work in progress?
- Next by thread: Re: FastMM.. any work in progress?
- Index(es):
Relevant Pages
|