From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17832 invoked by alias); 16 May 2013 15:55:00 -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 17802 invoked by uid 89); 16 May 2013 15:54:54 -0000 X-Spam-SWARE-Status: No, score=-9.4 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.1 Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 16 May 2013 15:54:53 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C21A133E0DF; Thu, 16 May 2013 15:54:51 +0000 (UTC) From: Mike Frysinger To: "Jayant R. Sonar" Subject: Re: [PATCH ARM] Fixing problem of 32bit multiplication instruction 'smull' Date: Thu, 16 May 2013 15:55:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; ) Cc: "gdb-patches@sourceware.org" , Kaushik Phatak References: <201305151210.11573.vapier@gentoo.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2259383.TM5XzNCcTs"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201305161154.53791.vapier@gentoo.org> X-Virus-Found: No X-SW-Source: 2013-05/txt/msg00635.txt.bz2 --nextPart2259383.TM5XzNCcTs Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-length: 727 On Thursday 16 May 2013 11:13:06 Jayant R. Sonar wrote: > Hello Mike, >=20 > Thanks again for reviewing this patch as well. >=20 > >> could you make that into a test case ? :) >=20 > I really don't have a test case in C form as of now. you posted a small asm snippet. seems like that'd be sufficient ? in the Blackfin sim tests, i often just have the script exit 0 or 1 dependi= ng=20 on the result. if a specific insn is not calculating the right value (or i= s=20 hitting an error it shouldn't), seems like you could do the same ? # pseudo code as my arm asm is not strong r1 =3D r2 =3D r3 =3D r4 =3D r2 * r3 if r1 !=3D r4 bx fail bx pass -mike --nextPart2259383.TM5XzNCcTs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJRlQFNAAoJEEFjO5/oN/WBqXwP/iZmuANzVQB3Rdr/NU+Yjp9S MUzPIbO+9EHTPP20vk5k+vVYlevlAmZpd+egAmX9v7B8u6WWw9B8HOLla5VGMBc6 RyqW4PuW/iBtjpNUGBJ+Nx7f9352mmSk2xUJa0mmZp67iuNl2T/l7NjJJ83eIx3U Vdl4PoDabzkSKuJaFTQgWbw5V7L7FkkAgFVMWQL7hSrTZEj6Rcx/rzGNvIvPlXQ7 yEgzOiEBbBtlB/zl/CGYHlz9Hbtw3ja8pQ1QoqhAHD4IPUof0saYSCz+TvZH/LcW n9CU+ylCvvl/0jV8XJ0S0Jyggq6p0pZgANcbamYQIxev0NMPB12VG5xMfBimrhfP ARY/I0yNc7Kh5TurbFCHXHrez4XcQRk93j3DCEebBqOOxEjjADNK+MqoqZwu7ty3 IQVhkAx+y4UznRYF9II4zs0fbF+J8cEviaP3SsvP3aN9h8yGPoT6klXvV82P1Y1B g6q5ZoaI5WUHXnfvKdO3n0BEMlixv5TwI0crYZ6KM2SnHQYZA1W23oDZhZu7J4hj /OURi5Uvr/1bzUjUb6ktT1RPt+DuAnsrHoE/yRWFhuVojG2DPUcOxBaYuqnX1yBE 2a/OvkMI1Id01F9abksgqcJThC0GyW0o/UOmkX4kDLwsUrirTQXHUS78Rfh0Lm4w q4bTEmaenVNAUSrTVH93 =5Lgv -----END PGP SIGNATURE----- --nextPart2259383.TM5XzNCcTs--