CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

DSPIC 64-bit Floating Point

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
oxo



Joined: 13 Nov 2012
Posts: 219
Location: France

View user's profile Send private message

DSPIC 64-bit Floating Point
PostPosted: Thu Oct 12, 2017 3:42 am     Reply with quote

Hi all,

Does anyone have timing comparisons for 32 vs 64 bit floating point on DSPIC?

(yeah, I know I could try it myself, but this may be quicker)
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Fri Oct 13, 2017 4:01 am     Reply with quote

They generally take about 2.5* the time.
A * is slightly less than double (about 190 versus 110 instructions to load two variables, multiply and save the result). Division was about 530 to 190. sin about 8500 versus 3200.
So the multiply is the fastest (<2*) and the others get up to about 2.8*.

These are 'rough figures' I noted in a file when I looked into this....
oxo



Joined: 13 Nov 2012
Posts: 219
Location: France

View user's profile Send private message

PostPosted: Mon Oct 23, 2017 12:55 am     Reply with quote

Thanks very muchly.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group