opcodes: blackfin: catch invalid loopsetup insns
authorMike Frysinger <vapier@gentoo.org>
Mon, 14 Feb 2011 05:21:04 +0000 (05:21 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 14 Feb 2011 05:21:04 +0000 (05:21 +0000)
commit298c1ec2a052b71bd60c244f2c3f8c6367214af1
tree43de582ed87d2cca85289f455a0d7c059b6d558a
parentd79fe0d64301cbe37e2ad0e25a051f8607f08807
opcodes: blackfin: catch invalid loopsetup insns

The LoopSetup insn is only valid when the reg field is 0-7, so
don't go decoding it incorrectly when reg is 8-15.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
opcodes/ChangeLog
opcodes/bfin-dis.c