Orchestra compiler code generation efficiency
| Date | 2015-06-12 10:32 |
| From | "F. Silvain" |
| Subject | Orchestra compiler code generation efficiency |
Hey hey everyone,
I was wondering how well the Csound compiler can optimise code or how much
this actually matters, since finally it's a question of how the Csound binary
is optimised for the running system.
Does it help to reorder expressions, use bit shift instead of multiplication
by 2^x and the like? Can anyone enlighten me please?
Thank you, any hint is much appreciated!
Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter: http://twitter.com/ffanci_silvain
* GitHub: https://github.com/fsilvain
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2015-06-12 11:20 |
| From | jpff |
| Subject | Re: Orchestra compiler code generation efficiency |
There is basic constnt folding but you should remember that Csound works
in floaing point so bit shift it slpw -- convert to integer, shift, convert
bck so lots of actions. All operations are via sibroutine cll s well so
this is not the usul C case/
On Fri, 12 Jun 2015, F. Silvain wrote:
> Hey hey everyone,
> I was wondering how well the Csound compiler can optimise code or how much
> this actually matters, since finally it's a question of how the Csound binary
> is optimised for the running system.
>
> Does it help to reorder expressions, use bit shift instead of multiplication
> by 2^x and the like? Can anyone enlighten me please?
>
> Thank you, any hint is much appreciated!
>
> Ta-ta
> ----
> Ffanci
> * Homepage: https://freeshell.de/~silvain
> * Twitter: http://twitter.com/ffanci_silvain
> * GitHub: https://github.com/fsilvain
>
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2015-06-15 12:31 |
| From | "F. Silvain" |
| Subject | Re: Orchestra compiler code generation efficiency |
jpff, Jun 12 2015:
> There is basic constnt folding but you should remember that Csound works
> in floaing point so bit shift it slpw -- convert to integer, shift, convert
> bck so lots of actions. All operations are via sibroutine cll s well so
> this is not the usul C case/
Thanks John. So the only thing I can do is optimise my general solutions and order the expressions?
...
Ta-ta
----
Ffanci
* Homepage: https://freeshell.de/~silvain
* Twitter: http://twitter.com/ffanci_silvain
* GitHub: https://github.com/fsilvain
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |