OSDN Git Service

target-lm32: fix LOG_DIS operand order
authorMichael Walle <michael@walle.cc>
Wed, 12 Oct 2016 17:15:05 +0000 (19:15 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 28 Oct 2016 15:17:23 +0000 (18:17 +0300)
commit95f7983bac0803633dfc670fb825a03348334aef
tree0ed8dcc954d300a88f8acd7a2caa0d8d74ba775f
parent5db35b616b8d3a27783ecddfe12353b88b0cb9f1
target-lm32: fix LOG_DIS operand order

The order of most opcodes with immediates was wrong (according to the
reference manual) in the (debug) logging. Additionally, one operand for the
andhi instruction was completly wrong. Fix these.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target-lm32/translate.c