Dear Felix,
Thank you for the patch. I built the current git head with your patch.
After importing chicken.flonum, I get the following error when calling fp*+:
#;2> (fp*+ 1.0 2.0 3.0)
Error: unbound variable: g18021803
Call history:
<syntax> (fp*+ 1.0 2.0 3.0)
<eval> (fp*+ 1.0 2.0 3.0) <--
But, fp*+ is found:
#;2> (procedure? fp*+)
#t
I performed the following build steps:
git clone git://code.call-cc.org/chicken-core
cd, mv etc.
patch -p1 < 0001-Add-support-for-fused-multiply-add.patch
make PREFIX=XXX PLATFORM=linux OPTIMIZE_FOR_SPEED=1
CHICKEN=XXX/chicken52/bin/chicken
make PREFIX=XXX PLATFORM=linux install
Best
Christian
[email protected] schrieb am 2021-11-07:
> Hi!
> Here a patch against the current git HEAD, adding support for "fp*+". Please
> give it a try, if you want.
> This is experimental, if people consider this worthwhile, I can submit it for
> adding to the core
> system. Note that you still may need passing extra C-compiler options to
> enable inlining of
> the fma(3) call.
> cheers,
> felix
--
Dr. rer. nat. Christian Himpe
University of Münster / Applied Mathematics Münster
Orléans-Ring 10 / 48149 Münster / Germany
https://himpe.science