[fpc-devel] FPC SoftFPU implementation

Max Nazhalov stein_nospam at mail.ru
Sun Jun 9 18:22:07 CEST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: softfpu.zip
Type: application/x-zip-compressed
Size: 11311 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130609/8387b380/attachment.bin>


More information about the fpc-devel mailing list