On Mon, May 14, 2012 at 5:17 PM, Jonas Bonn <[email protected]> wrote:
> A nice little macro MAYBE_DELAY(inst, jumpinst) that puts the
> instructions in the right order depending on arch/compile-flags should
> do the trick here.  Then it's just a matter of replacing jumps and
> branches in the kernel's asm source with this macro...

Yep.  That's essentially what the macros I added to newlib and libgcc do :)

Right now they're in a file called or1k-asm.h, which I had to
duplicate in both those packages.  I'd like to figure out a way to
keep just one copy of it...

-Pete
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to