From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUlu6-0002sR-N2 for qemu-devel@nongnu.org; Tue, 02 Aug 2016 22:27:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUlu5-0004aF-FF for qemu-devel@nongnu.org; Tue, 02 Aug 2016 22:27:30 -0400 Date: Wed, 3 Aug 2016 11:17:45 +1000 From: David Gibson Message-ID: <20160803011745.GD27583@voom.fritz.box> References: <1470124380-5751-1-git-send-email-nikunj@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/3yNEOqWowh/8j+e" Content-Disposition: inline In-Reply-To: <1470124380-5751-1-git-send-email-nikunj@linux.vnet.ibm.com> Subject: Re: [Qemu-devel] [PATCH v1 1/2] target-ppc: modsw - return 64-bit sign extended List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania Cc: qemu-ppc@nongnu.org, rth@twiddle.net, qemu-devel@nongnu.org, anton@samba.org --/3yNEOqWowh/8j+e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 02, 2016 at 01:22:59PM +0530, Nikunj A Dadhania wrote: > Reported-by: Anton Blanchard > Signed-off-by: Nikunj A Dadhania > --- >=20 > Can be squashed with the original commit Done. >=20 > target-ppc/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/target-ppc/translate.c b/target-ppc/translate.c > index fc3d371..dc89e6a 100644 > --- a/target-ppc/translate.c > +++ b/target-ppc/translate.c > @@ -1243,7 +1243,7 @@ static inline void gen_op_arith_modw(DisasContext *= ctx, TCGv ret, TCGv arg1, > tcg_gen_movi_i32(t3, 0); > tcg_gen_movcond_i32(TCG_COND_NE, t1, t2, t3, t2, t1); > tcg_gen_rem_i32(t3, t0, t1); > - tcg_gen_extu_i32_tl(ret, t3); > + tcg_gen_ext_i32_tl(ret, t3); > tcg_temp_free_i32(t2); > tcg_temp_free_i32(t3); > } else { --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --/3yNEOqWowh/8j+e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXoUY5AAoJEGw4ysog2bOS8IQQANWkp8omdLNYFZodB0vTh2LJ CPzBRDA/QXzOBc1mF5ZzT/p3t3p69gNrJhrKkBmhpqWrN/CPh7mQBPPMZB9Ratr3 2rW2sl3fkHyfJfAS+rK2syoxpk8VOKs1pKhgUqEg+9AHAYoLcIhq5zNpE+sorZK+ msUpVbSePfBa2RVdWs7WYqRQ73k+ux0Gj2n37ZhXre8aLiCXHil4PB9ymdwpgUxK 3GKO71HEdaVipEbUq0ob5l3FbCW8rcT9v8RZdwVuP/9QdayZ3RDY3wazQ6O8iJGH kR7MROAxeiFcXgY+TpcAUNtENQdeAeOAV4Cil1qhHWJoqxDs0/j8tSupZhezB2lb Afo3FKp7v18fwQaZFIvOQIw97P9HSwxXe5nQlvl7i93yp2oj9sXS0ya0/bz6oLxQ jmQSgPDgjDc84Rst07bDJccOCOC6dmhyB1vHpxKTXpawOc1+QOqZFloa79CP0KXE A8LxZtxQEZ/IzuVdd+yLp6z/9gsy04R5ZcoYG2eh0Zr9Y2ymCC3v2MGyPTuVucIF owePSNmEjTZbkIXvjP2SZ2hmtdxcbhXjwxAiMks5tfYC2xPySvXLA3Pa2w6ubwca JeJDOI6b6LrTDLeEpS3XT+BoFEhhBzW4Nj33OWbxAMg7EYP8YGZ+Dozy1nU9qW/l pN+nLLfPEK/K6tzQ7L+z =sst+ -----END PGP SIGNATURE----- --/3yNEOqWowh/8j+e--