[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Performance question concerning chicken flonum vs "foreign flonum"
From: |
Christian Himpe |
Subject: |
Re: Performance question concerning chicken flonum vs "foreign flonum" |
Date: |
Sun, 07 Nov 2021 14:50:22 +0100 (CET) |
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
felix.winkelmann@bevuta.com 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
- Performance question concerning chicken flonum vs "foreign flonum", christian.himpe, 2021/11/04
- Re: Performance question concerning chicken flonum vs "foreign flonum", Jörg F. Wittenberger, 2021/11/04
- Re: Performance question concerning chicken flonum vs "foreign flonum", felix . winkelmann, 2021/11/04
- Re: Performance question concerning chicken flonum vs "foreign flonum", Christian Himpe, 2021/11/05
- Re: Performance question concerning chicken flonum vs "foreign flonum", felix . winkelmann, 2021/11/05
- Re: Performance question concerning chicken flonum vs "foreign flonum", Christian Himpe, 2021/11/06
- Re: Performance question concerning chicken flonum vs "foreign flonum", felix . winkelmann, 2021/11/06
- Re: Performance question concerning chicken flonum vs "foreign flonum", felix . winkelmann, 2021/11/07
- Re: Performance question concerning chicken flonum vs "foreign flonum",
Christian Himpe <=
- Re: Performance question concerning chicken flonum vs "foreign flonum", felix . winkelmann, 2021/11/07
- Re: Performance question concerning chicken flonum vs "foreign flonum", Christian Himpe, 2021/11/07