[fpc-pascal] FPC Graphics options?

Marco van de Voort marcov at stack.nl
Fri May 19 19:02:47 CEST 2017


In our previous episode, Sven Barth via fpc-pascal said:
> >
> > I also tried -Oofastmath, but to no avail. (floor is still external, and
> > still double)
> 
> Floor is not declared as inline and even the Trunc()/Frac() intrinsics it
> uses wouldn't be inlined as they're assembler routines and FPC as of now
> doesn't inline assembler routines.

The inline might release some register pressure.

> Also if it's Double then all is well. Extended (the 80-bit one) is the
> problematic case.
> What system are you testing on?

My work laptop, win10/64.

I think it was win64 as target, so no extended. The compiler did list it in
options tho.



More information about the fpc-pascal mailing list