target-microblaze: Rework NOP/zero instruction handling
commit462c254430b49ef708c75e038d7e796764058ca1
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 14 Jun 2018 13:48:16 +0000 (14 15:48 +0200)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Fri, 15 Jun 2018 07:05:00 +0000 (15 09:05 +0200)
tree8d519231019df1d2a1383d2a27d41f7806d6a5ad
parent643fbf02e04ee2631fda82cb7e1d0f3c86e38213
target-microblaze: Rework NOP/zero instruction handling

Remove the abort on a sequence of NOP/zero instructions.
Always return early and avoid decoding NOP/zero instructions.

This fixes Coverity CID 1391443.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/microblaze/translate.c