From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5347 invoked by alias); 3 Oct 2012 19:41:50 -0000 Received: (qmail 5339 invoked by uid 22791); 3 Oct 2012 19:41:50 -0000 X-SWARE-Spam-Status: No, hits=-9.7 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,TW_DH X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Oct 2012 19:41:47 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9CF9F33D73B; Wed, 3 Oct 2012 19:41:46 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [patch, simulator, mips] Add rdhwr instruction to mips simulator Date: Wed, 03 Oct 2012 19:41:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.5.2; KDE/4.6.5; x86_64; ; ) Cc: "Steve Ellcey " , fu@mips.com References: <78a2b827-659d-4690-a1e8-797217096b9f@EXCHHUB01.MIPS.com> In-Reply-To: <78a2b827-659d-4690-a1e8-797217096b9f@EXCHHUB01.MIPS.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4557936.0SkFpQAQXa"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201210031541.47034.vapier@gentoo.org> X-IsSubscribed: yes 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 X-SW-Source: 2012-10/txt/msg00047.txt.bz2 --nextPart4557936.0SkFpQAQXa Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 661 On Wednesday 03 October 2012 15:34:18 Steve Ellcey wrote: > This patch (created by Chao-ying and tested by me) adds the rdhwr > instruction to the mips simulator and fixes the gcc.dg/builtins-64.c > failure. >=20 > OK to checkin? we don't have a mips/sim maintainer atm, so OK > --- a/sim/mips/mips3264r2.igen > +++ b/sim/mips/mips3264r2.igen >=20 > +011111,00000,5.RT,5.RD,00000,111011::32::RDHWR > +"rdhwr r, r" > +*mips32r2: > +*mips64r2: > +{ > + // Return 0 for all hardware registers currently we don't use // comments, but it looks like all of the mips igen files suff= er=20 from this, so that would be something to fix independently. -mike --nextPart4557936.0SkFpQAQXa 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) iQIcBAABAgAGBQJQbJT6AAoJEEFjO5/oN/WBKLEP/2so9UuIyeP0H+OLVH38pMUU yArgr5lhen0gQ1vCTrrm02kR4mBpwxqsboFYy2gGFDuaAruqckOiX/ZHrsjHG9XT 60eP116TRv2gzGy7ak3WCRZWfFGp+A6GT0V02dHOvpR7K2H0hqRP+1LIeCXHtH8A /OJs0VEQ7cl67abTA5mGMYW3+9G6PO9PP5gm35Grrm/Ay0mk0PD30zyon8uFXV+I ZJXplpurVeRLwVzK6DUZRBwzGL/Fi3f4Lw3+YDr1L28OMsPqRM65NG+2mkwl0i4t vYt2vKEG/dl8b88lo0H+zUG4GS57t3PWtFT0rPFuLSEQiYY9YdEH3E13VX6b9Qi7 kNpy0g85hw/CoF1Jl9wCqYnolYsNxYDIrycw8lF6lnwvb9BwwH4lA3BehXxr17Ej vqNxOUzrFXLoSfgOjqyXaVpBiody2lSHhnVID2pp7IW1EWSCmJAe3HWPwSsEN5Wh AamHU8+FopMJGp5EDodiYQRWoes19mLGiVLFZpF6pA0J1XCGh9UjYl/QYeSJ9ycT Orkx9CblOZq6GPozYkunfA2bp5pjudWrvCYM7FzQucpQFjzy8RwbZjmstIcvlPbi Oc+tmO0tCW0rtqWBmk33FbeWzGoT1MYuLHxJTxSvPSkiuuiRX5G92weQQOPfmzsi CXYBKzS5tOBpCqjjFkMF =9voy -----END PGP SIGNATURE----- --nextPart4557936.0SkFpQAQXa--