Re: Be careful when using MMX or Float point instructions in Delphi2007
- From: "Rudy Velthuis [TeamB]" <newsgroups@xxxxxxxxxxxx>
- Date: 18 Nov 2007 11:02:18 -0700
Qi wrote:
Rudy Velthuis [TeamB] wrote:
So it should not matter what they use, as long as they clean up
after themselves. <g>
I was talking about manually write MMX code for optimization
purpose.
The hand written MMX code may break the common rules.
And if someone doesn't know FillChar use FP instructions (like me), he
will get in trouble.
It should not matter. As Florent quoted from the help, ALL Delphi
functions assume that the FP stack is free for use. So you don't have
to know what FillChar uses. You should simply make sure the FP stack is
empty when you call a Delphi function.
--
Rudy Velthuis [TeamB]
"One word sums up probably the responsibility of any Governor,
and that one word is 'to be prepared'." -- George W. Bush
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 071118-2, 18.11.2007
Tested on: 18.11.2007 20:02:15
avast! - copyright (c) 1988-2007 ALWIL Software.
http://www.avast.com
.
- References:
- Be careful when using MMX or Float point instructions in Delphi 2007
- From: Qi
- Re: Be careful when using MMX or Float point instructions in Delphi 2007
- From: Farshad
- Re: Be careful when using MMX or Float point instructions in Delphi 2007
- From: Rudy Velthuis [TeamB]
- Re: Be careful when using MMX or Float point instructions in Delphi 2007
- From: Farshad
- Re: Be careful when using MMX or Float point instructions in Delphi 2007
- From: Rudy Velthuis [TeamB]
- Re: Be careful when using MMX or Float point instructions in Delphi 2007
- From: Qi
- Be careful when using MMX or Float point instructions in Delphi 2007
- Prev by Date: Re: eWeek sez "Rotten Apple: Leopard"
- Next by Date: Re: Be careful when using MMX or Float point instructions in Delphi 2007
- Previous by thread: Re: Be careful when using MMX or Float point instructions in Delphi 2007
- Next by thread: Re: Be careful when using MMX or Float point instructions in Delphi 2007
- Index(es):
Relevant Pages
|