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 12:25:02 +0200
Am 15.06.2010 12:17, schrieb pouly amaury:
> It looks like it's fixed in r26850, could you remove the d2 from the
> list in tools/configure if it works with eabi?
> Let's wait a bit, we don't want to reproduce the same flame war.
> I agree with this, we ran into the exact same problem on h300 when
> switching to use Os compiler flags, short delay loops in asm solved it
> and looks much cleaner than the use of volatile or a c loop with a
> "nop" in it to me.
> You convinced me that finally think that I should (or someone else !)
> rewrite it in assembly to avoid any further problem. Any one against
> that ?
I'm not convinced that either of them is clean. However, for(i=X;i;i--)
nop; (with #define nop asm volatile("nop")) does look a bit cleaner (no
obvious asm at all) if you ask me.
Anyway, I don't care really, whatever works is best :)
Received on 2010-06-15