MagicEngine
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Japanese English 

[2010-05-20] cpu optimization

 
Post new topic   Reply to topic    MagicEngine Forum Index -> Development blog
View previous topic :: View next topic  
Author Message
dmichel
Admin
Admin


Joined: 04 Apr 2002
Posts: 1166
Location: France

PostPosted: Thu May 20, 2010 10:29 pm    Post subject: [2010-05-20] cpu optimization Reply with quote

The new CPU core is harder to optimize than I thought, I optimized the code as much as I could but this gave me only a 20% speed increase.

The problem is that the new core emulate the instructions cycle by cycle, same for the new VDC core, it renders the screen pixel by pixel, this is great for compatibility but that's slow.

May be a better approach would have been an hybrid core that emulate the instructions one by one but at the same time maintains a cycle by cycle timing. I'm tempted to try that. I will run a few quick tests and see if it's possible.
_________________
David Michel
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MagicEngine Forum Index -> Development blog 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


Powered by phpBB © 2001, 2005 phpBB Group