 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Matthias Pfohl Guest
|
Posted: Fri Jan 27, 2006 10:39 pm Post subject: Assembly routines and 64 bit |
|
|
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
|
Posted: Sat Jan 28, 2006 5:58 pm Post subject: Re: Assembly routines and 64 bit |
|
|
| 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
|
Posted: Sat Jan 28, 2006 6:13 pm Post subject: Re: Assembly routines and 64 bit |
|
|
Hello Avatar,
Thanks for the info. Quite dissapointing though ....
Matthias
|
|
| Back to top |
|
 |
Adem Guest
|
Posted: Sat Jan 28, 2006 6:21 pm Post subject: Re: Assembly routines and 64 bit |
|
|
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 |
|
 |
|
|
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
|
|