Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-11

using softfloat on i386

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Santhoff

Hi,

after finding the floating point calculations implementation for fpc[1] I'm asking myself if it is possible to force fpc to use it although the CPU does actually have a FPU built in.

How can this be done?

[1] /usr/home/marc/fpc-2.2.2/share/src/fpc-2.2.2/rtl/inc/softfpu.pp

Marc Santhoff

Reply by email

Florian Klaempfl
to Marc Santhoff
Show quoted text 7 lines
Hi, after finding the floating point calculations implementation for fpc[1] I'm asking myself if it is possible to force fpc to use it although the CPU does actually have a FPU built in. How can this be done?

Try to build the rtl with OPT=-Cfsoft, it might work, but is not guranteed ;)

Reply by email

Marc Santhoff
to Florian Klaempfl
Florian Klaempfl wrote 11 lines
Marc Santhoff schrieb: > Hi, > > after finding the floating point calculations implementation for fpc[1] > I'm asking myself if it is possible to force fpc to use it although the > CPU does actually have a FPU built in. > > How can this be done? Try to build the rtl with OPT=-Cfsoft, it might work, but is not guranteed ;)

Thak you, I'll try that.

Thinking a little bit longer it could be a better way to have a special unit for overloading the basic calculation function for using softfloat and include that in testing programs ...

Marc

Marc Santhoff

Reply by email