[fpc-devel] FPC SoftFPU implementation
Pierre Free Pascal
pierre at freepascal.org
Mon Jun 10 16:31:54 CEST 2013
Hi Max,
thank you for your contribution...
While testing it, I managed to fix another independent longstanding bug in
softfpu.pp
(rev 24864) which fixes a int64<->single conversion error.
I must confess that it's been a long time since I last looked at the
software fpu support code... thus I cannot make any prediction
on the integration of your code in the compiler.
Pierre Muller
> -----Message d'origine-----
> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
> bounces at lists.freepascal.org] De la part de Max Nazhalov
> Envoyé : dimanche 9 juin 2013 18:22
> À : fpc-devel-request at lists.freepascal.org
> Objet : [fpc-devel] FPC SoftFPU implementation
>
> Some time ago I had to do a few hw-independent experiments with floating
> point, and faced with "./fpc/rtl/inc/softfpu.pp" unit. Its' current state
is
> far from finishing of porting stage, so I had to make some changes to get
it
> up and compile with originally foreseen functionality.
>
> This is roughly a draft patch -- just conversion of unfinished porting of
C-
> syntax; it omits some details like 'public'/'alias:'/'compilerproc'
placing
> (since I have no idea about these modifiers). In addition, fixed several
> lost 'exit's, 'var'-modifier for 'shortShift128Left', some
range-warnings..
>
> Ambiguities were checked against "John R. Hauser's SoftFloat Release 2b".
> Missing parts were also ported from there. But almost no serious testing
was
> performed yet by now due to lack of time.
>
> Could this patch be reviewed and accepted/adapted/rejected?
>
> ---
> WBR,
> Max
More information about the fpc-devel
mailing list