From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75837 invoked by alias); 9 Apr 2016 22:37:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 75820 invoked by uid 89); 9 Apr 2016 22:37:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Apr 2016 22:37:11 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 0EDBC340955; Sat, 9 Apr 2016 22:37:08 +0000 (UTC) Date: Sat, 09 Apr 2016 22:37:00 -0000 From: Mike Frysinger To: Oleg Endo Cc: gdb-patches@sourceware.org Subject: Re: [SH] Fix simulator on 64 bit hosts Message-ID: <20160409223708.GG6588@vapier.lan> Mail-Followup-To: Oleg Endo , gdb-patches@sourceware.org References: <1460229897.2115.24.camel@t-online.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CaFdbbJS7jIVsGVu" Content-Disposition: inline In-Reply-To: <1460229897.2115.24.camel@t-online.de> X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00199.txt.bz2 --CaFdbbJS7jIVsGVu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 299 On 10 Apr 2016 04:24, Oleg Endo wrote: > The attached patch fixes the SH simulator when ran on 64 bit hosts. It > seems there are quite a few adventurous or at least confusing integer > type casts, but the main problem was the widening 32 x 32 -> 64 bit > multiplication. sure, go for it :) -mike --CaFdbbJS7jIVsGVu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXCYQUAAoJEEFjO5/oN/WBzwAQAJryU3h0DvvzFkWYypgO3OJf QgPMiWlsKBA9KQNsqtt9TSV7luvtBEbJ8iA6OqQ9kV/PMrdL7mOnV7HZMOAliW7g 9nSTZ4qhrbONvGf2GCS+sBPTBrItFUutgc/mSlKucO3pa/TjBu5HurNqQe5QUGXB NRRBBU2EkSuyOcqA8PbeApoNafoTsyBLu7H8W7spkzSY+NzuH3L18CnQDJzEe3yn xaceEBYZ5pPu/hQjRnfPSbJasN76ez/knD8vpbX6dqJmx25RdfaaiRgRpgCkoN7s cmx2PyJoodmI033cGZGHQZJZ/6A56ZjBOQsrIjYadj1zCQovXJqXcI3bt+VRFYZ4 1RP0AMO036tNvlkJ1AlBZIEqbkmOzJI1f3qPsbRq6bZPJmvAGiKyHwv1y+KZ82wB evTSaV0O4vW+2TFXzDHSRrzDJXdsZyUYS3iGA0XLSDLPnAJ11UZ92QC7wzYpZItD tuEkl33ti7Ia+eXoEmVXGBPr3IAXEgQDdVDy18TaWGixDakdhhLvw/IRkVdg2A5o Xng/4Fsq1hFq8vTUYPrNeleEL4knp5p1lPFWET6wP8cPJ5Xk13HpBP8OnyK8O0hD 6Bxit2YWtOEElOVwOY1yVMcw3qJ3EnNGq3xrOTyGRrAGbTQTXoe8ZT6KOEhQpNVL HixnFvmPz9Umyz2wVsze =MjUg -----END PGP SIGNATURE----- --CaFdbbJS7jIVsGVu--