On Thu, Apr 10, 2014 at 10:33 PM, Stefan Kristiansson <
[email protected]> wrote:

> I agree that the F flag would be more elegant from an ISA point of
> view, and it also have the nice property that a rmw loop would be
> tighter:
> 1:
> l.lwa r3, 0(r4)
> l.addi r3,r3,1
> l.swa 0(r4), r3
> l.bf 1b
>  l.nop
>

Yes, that was my thought exactly. :)

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

Reply via email to