[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/4] tcg-ppc64: Fix RLDCL opcode

From: Anton Blanchard
Subject: [Qemu-devel] [PATCH 1/4] tcg-ppc64: Fix RLDCL opcode
Date: Sun, 2 Jun 2013 22:27:23 +1000

The rldcl instruction doesn't have an sh field, so the minor opcode
of 8 is actually 4 when using the XO30 macro.

Cc: address@hidden
Signed-off-by: Anton Blanchard <address@hidden>

Index: b/tcg/ppc64/tcg-target.c
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -357,7 +357,7 @@ static int tcg_target_const_match (tcg_t
 #define RLDICL XO30(  0)
 #define RLDICR XO30(  1)
 #define RLDIMI XO30(  3)
-#define RLDCL  XO30(  8)
+#define RLDCL  XO30(  4)
 #define BCLR   XO19( 16)
 #define BCCTR  XO19(528)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]