TOP
SSV Software Systems Register  Register
Log in to check your private messages  Log in to check your private messages
Startseite FAQ Search Mitglieder Profile  Log in 
SSV Support-Forum
Compiler Optionen für GCC und Optimierung

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
embeduser



Joined: 10 May 2008
Posts: 1

PostPosted: 31.05.2008, 20:03    Post subject: Compiler Optionen für GCC und Optimierung Reply with quote

Mathematikfunktionen (bspw. sin, cos, etc.) aus der Mathebibliothek (include <math.h>) werden ohne Compiler-Optimierung sehr langsam ausgeführt.

Mit den entsprechenden Compiler-Optimierungen geht hingegen die Post ab:

http://docs.blackfin.uclinux.org/doku.php?id=optimization
http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:whetstone

Gerne selbst ausprobieren (einfach die CFLAGS im Makefile entsprechend erweitern)

(Anm.: Ggf. Genauigkeitsverluste - nicht Festkomma-Arithmetik, aber für viele Regelung und Steuerungsanwendungen werden sicher keine 17 Nachkommastellen benötigt)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV Software Systems GmbH

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2023 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015