- Posts: 99
- Thank you received: 4
×
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 Member
-
Less
More
2 years 5 months 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
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
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
2 years 5 months ago #14469
by Sternas Stefanos
PilotLogic Architect and Core Programmer
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
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 Member
-
Less
More
- Posts: 99
- Thank you received: 4
2 years 5 months ago - 2 years 5 months 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
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: 2 years 5 months ago by gulyone.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
2 years 5 months ago - 2 years 5 months ago #14472
by Sternas Stefanos
PilotLogic Architect and Core Programmer
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.
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: 2 years 5 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- gulyone
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 99
- Thank you received: 4
2 years 5 months 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.