Einzelnen Beitrag anzeigen

Insider2004
(Gast)

n/a Beiträge
 
#1

Erste kleine Neuigkeiten zum neuen Delphi 64 bit compiler

  Alt 8. Jan 2010, 20:31
Hi,
im emba-non-tech-forum diskutiert zur Zeit auch Allen Bauer mit. Er ist der Oberboss aller Entwickler. Ab und zu kann man ihm ein paar Details entlocken. Siehe unten. Es wird z.B. keinen Extended-Typ mehr unter Delphi 64 bit geben:

Frage:
Would you mind to share some info about what customers should do to
get things ready for 64Bit, too?

Antwort von Allen Bauer:

Stop casting integers to pointers and vice-versa. SizeOf(Int) <> SizeOf
(Pointer). Oh, and Extended will probably be equal to Double. This is
because when in 64bit mode, the 8087 coprocessor is unavailable. You
have to use MMX/SSE instructions for doing floating point and a 10byte
float isn't supported since it cannot be properly aligned on a 8byte or
16byte boundary. This was already the case in the Delphi.NET compiler.
CLR doesn't have the concept of an Extended floating point. In
retrospect, it was probably a mistake to include Extended in the
language since it is not in the IEEE standard and was *only* intended
to be internal to the coprocessor for storing intermediate results of
calculations to reduce round-off errors.
  Mit Zitat antworten Zitat