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 

Assembly routines and 64 bit

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM
View previous topic :: View next topic  
Author Message
Matthias Pfohl
Guest





PostPosted: Fri Jan 27, 2006 10:39 pm    Post subject: Assembly routines and 64 bit Reply with quote



Hello all,

I wonder what happens with existing assemply code written for Delphi when
Delphi 64 bit arrives.

Can someone enlighten me ?

Thanks in advance,
Matthias


Back to top
Avatar Zondertau
Guest





PostPosted: Sat Jan 28, 2006 5:58 pm    Post subject: Re: Assembly routines and 64 bit Reply with quote



Quote:
I wonder what happens with existing assemply code written for Delphi
when Delphi 64 bit arrives.

Can someone enlighten me ?

The new architecture still supports 32-bit opcodes, even when running
the application in 64-bit mode, so the opcodes will still be translated
into valid code.

This code will most likely, however, not run. I think there are at
least these obstacles:

- Calling conventions will change

- Stack alignment will change

- Stack layout will change (because of larger pointers)

- IIRC Windows will drop FPU and MMX support on 64-bit platforms
(replaced SSE)

Even if the code were modified to deal with these, it would no longer
be optimal; it would probably even be slower than compiler-generated
code.

--
The Fastcode Project: http://www.fastcodeproject.org/

Back to top
Matthias Pfohl
Guest





PostPosted: Sat Jan 28, 2006 6:13 pm    Post subject: Re: Assembly routines and 64 bit Reply with quote



Hello Avatar,

Thanks for the info. Quite dissapointing though ....

Matthias


Back to top
Adem
Guest





PostPosted: Sat Jan 28, 2006 6:21 pm    Post subject: Re: Assembly routines and 64 bit Reply with quote

Matthias Pfohl wrote:

Quote:
Thanks for the info. Quite dissapointing though ....

Look on the bright side: It'll keep the many generations
of FastCoders employed <g>

Cheers,
Adem

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Language BASM 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.