Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

64 or 80? 4 years 8 months ago #14467

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
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.

64 or 80? 4 years 8 months ago #14469

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
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.

64 or 80? 4 years 8 months ago #14470

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
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

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

Last edit: by gulyone.

64 or 80? 4 years 8 months ago #14472

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
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

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

Last edit: by Sternas Stefanos.

64 or 80? 4 years 8 months ago #14473

  • gulyone
  • gulyone's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 99
  • Thank you received: 5
thanks. Great!

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

  • Page:
  • 1