dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: RE: Re: time to sleep?

RE: Re: time to sleep?

From: Sven Karlsson <>
Date: Thu, 22 Aug 2002 16:40:38 +0200

Hi again,

>write shall be simple and straight-forward "old school" C.

Well, "register" and "const" has been in the ANSI C standard for years. I
don't have the very first ANSI C standard here but IIRC they have been there
from the start.

I might be a bit too compiler centric as it is part of my daytime job to
design compilers but IMHO everyone should use both of these. They really
helps the compiler a lot and afain IMHO they make the code much more

> implementation. Cycle-optimising each routine might buy us a few percent,
but it also >makes the code much harder to maintain.

Actually, none of the suggestions I wrote about means doing any hand
optimizations or inline assembly. Just old fashioned common sense

Well, I'm just giving some hints on low-power programming techniques. I used
to work with such systems a few years ago designing full-custom ASICs and
doing lowlevel programming.

Best regards
Received on 2002-08-22

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy