On 1 March 2010 22:33, Aurelien Jarno <aurel...@aurel32.net> wrote:
> This patch series fix a bug in div2/divu2 ops, implement setcond
> and setcond2 ops and improve brcond/setcond by allowing immediate
> constants.

Thanks, pushed the four changes + added a missing break after
setcond2.  I'm not totally sure but I think setcond can be shortened
to two instructions for each case or some cases, the COND_NE case
could look like:

subs dest, t1, t2
movne dest, #1

and the lesser/greater cases can use the carry flag and "adc".

Cheers


Reply via email to