BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is __fastcall?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Erik Doekes
Guest





PostPosted: Thu Jan 20, 2005 3:28 pm    Post subject: What is __fastcall? Reply with quote



Hi!

I've searched the help but still don't understand. I think I don't need to
know all the details either. But of course it's important that I know when I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.
If I don't know what it stands for (don't think I'll ever understand), had I
better leave it out everywhere? (Except for IDE-managed functions which
always seem to contain __fastcall)

/Erik


Back to top
Pawel Kowalczyk
Guest





PostPosted: Thu Jan 20, 2005 8:19 pm    Post subject: Re: What is __fastcall? Reply with quote



Hi!

Quote:
I've searched the help but still don't understand. I think I don't need to
know all the details either. But of course it's important that I know when
I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.

Have a look at this page - I think you'll find it helpful:

http://www.cppbuilderdevjournal.com/articles/issues/0004/When_to_use___fastcall.htm

Pawel



Back to top
Colin B Maharaj
Guest





PostPosted: Mon Jan 24, 2005 1:40 pm    Post subject: Re: What is __fastcall? Reply with quote



Interesting results in the benchmark. I was thinking that such a small
loop would be cached totally into the CPU and run at CPU speed. Maybe if
he did the test with volatile keyword, on integers, then he may have
seen a difference?? :)


Pawel Kowalczyk wrote:
Quote:
Hi!


I've searched the help but still don't understand. I think I don't need to
know all the details either. But of course it's important that I know when
I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.


Have a look at this page - I think you'll find it helpful:

http://www.cppbuilderdevjournal.com/articles/issues/0004/When_to_use___fastcall.htm

Pawel



Back to top
dkat
Guest





PostPosted: Thu Feb 03, 2005 6:41 pm    Post subject: Re: What is __fastcall? Reply with quote




"Colin B Maharaj" <noreply (AT) myhost (DOT) com> wrote

Quote:
Interesting results in the benchmark. I was thinking that such a small
loop would be cached totally into the CPU and run at CPU speed. Maybe if
he did the test with volatile keyword, on integers, then he may have seen
a difference?? Smile

In my DOS programs I actually have to turn register assignment off in order
to do real time speech and Reaction Time collection.

Quote:
Pawel Kowalczyk wrote:
Hi!


I've searched the help but still don't understand. I think I don't need
to
know all the details either. But of course it's important that I know
when I
should write __fastcall or _fastcall in front of a function
declaration/implementation and when I shouldn't.


Have a look at this page - I think you'll find it helpful:

http://www.cppbuilderdevjournal.com/articles/issues/0004/When_to_use___fastcall.htm

Pawel



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.