From: Michael Walle Date: Wed, 12 Oct 2016 22:35:05 +0000 (+0200) Subject: target-lm32: swap operand of wcsr in LOG_DIS() X-Git-Tag: v2.8.0-rc0~46^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49285e11d8ce90d2fd76d8bf16b330731e220495;p=thirdparty%2Fqemu.git target-lm32: swap operand of wcsr in LOG_DIS() Be consistent with the reference manual. Signed-off-by: Michael Walle Reviewed-by: Peter Maydell Signed-off-by: Michael Tokarev --- diff --git a/target-lm32/translate.c b/target-lm32/translate.c index dc64cc67261..fa8416a81b3 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -865,7 +865,7 @@ static void dec_wcsr(DisasContext *dc) { int no; - LOG_DIS("wcsr r%d, %d\n", dc->r1, dc->csr); + LOG_DIS("wcsr %d, r%d\n", dc->csr, dc->r1); switch (dc->csr) { case CSR_IE: