× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question 64 or 80?

  • gulyone
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 1 week ago #14467 by gulyone
64 or 80? was created by gulyone
does CT truely use 80bits FPU instructions set for Extended type or is it stick with the 64bits set?
I ask because I saw an option in the deep setup of fpcupdeluxe, to activate 80bits emulation

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 months 1 week ago #14469 by Sternas Stefanos
Replied by Sternas Stefanos on topic 64 or 80?
Sir
we don't know what fpcupdeluxe has, we don't use this app
CT support ALL the options of Freepascal 3.3.1 SVN trunk

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • gulyone
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 1 week ago - 6 months 1 week ago #14470 by gulyone
Replied by gulyone on topic 64 or 80?
Well, it sounds like 80bits wide Extended reals type is "an option" when building the underlaying compiler 3.x.x
That's why I ask... it could be important for HiTech scientists, and it's not clear
(I read many pages with google around the 64bits / 80bits FPU... saying that not that much (C,C++) compilers use the 80bits High Precision)
Regards
Attachments:
Last edit: 6 months 1 week ago by gulyone.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 months 1 week ago - 6 months 1 week ago #14472 by Sternas Stefanos
Replied by Sternas Stefanos on topic 64 or 80?
CT-FPC has software 80bits FPU switch (FPC_SOFT_FPUX80) enable by default for Win64

NOTE:
Win64 (not other x86-64 platforms) has deprecated the use of the 80 bit 80x87 FPU.
You now have to use the SSE unit for floating point math,
which supports up to 64 bit double precision like most FPU's on other platforms.

So, if you want to cross-compile Win64=>Win32 (target win32 support 80 bit 80x87 FPU)
you must enable FPC_SOFT_FPUX80 switch to Win64 host compiler,
CT-FPC do that by default.

PilotLogic Architect and Core Programmer
Last edit: 6 months 1 week ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • gulyone
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
6 months 1 week ago #14473 by gulyone
Replied by gulyone on topic 64 or 80?
thanks. Great!

Please Log in or Create an account to join the conversation.