Rockbox mail archiveSubject: Re: Cowon D2 EABI
Re: Cowon D2 EABI
From: Thomas Martitz <thomas.martitz_at_student.htw-berlin.de>
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.
Received on 2010-06-15