Mark Koek writes:
> Quick suggestion after a first glance at the patch: IIRC, 'teq' is
> slightly faster than 'cmp', so where you only test for equality it's
> better to use 'teq'. Maybe I'm wrong.
Both are one cycle instructions (as are all the other ALU operations
in that class). The only reason to use TEQ is if you don't want to
affect the V flag, or you want the C flag to be guaranteed to be
cleared as a side effect.
(TEQ is Rn ^ Op2, CMP is Rn - Op2)
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm