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

Rockbox mail archive

Subject: Re: Cowon D2 EABI

Re: Cowon D2 EABI

From: Thomas Martitz <>
Date: Tue, 15 Jun 2010 11:35:15 +0200

Am 15.06.2010 11:19, schrieb pouly amaury:
> unsigned long x;
> for (x = (unsigned)(FREQ>>22); x; x--)
> asm volatile("":::"memory");

The nop instruction adds 1 instruction, maybe you can just adjust the
loop counter so it's effectively the same as before.

But I wouldn't worry about it too much. The counter cannot be higher
than 1024, and this is quite a low delay so making it a bit longer with
a nop should have a noticeable impact.

Best regards.
Received on 2010-06-15

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