From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18565 invoked by alias); 18 Feb 2015 00:16:46 -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 18555 invoked by uid 89); 18 Feb 2015 00:16:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 18 Feb 2015 00:16:45 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id BBE7534078E; Wed, 18 Feb 2015 00:16:42 +0000 (UTC) Date: Wed, 18 Feb 2015 00:16:00 -0000 From: Mike Frysinger To: Jiri Gaisler Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 00/22] Update of the SPARC SIS simulator Message-ID: <20150218001642.GP544@vapier> Mail-Followup-To: Jiri Gaisler , gdb-patches@sourceware.org References: <1424159099-5148-1-git-send-email-jiri@gaisler.se> <20150217085419.GH20008@vapier> <54E352FB.6080701@gaisler.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IihjUyvzd0n5Ehsu" Content-Disposition: inline In-Reply-To: <54E352FB.6080701@gaisler.se> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00472.txt.bz2 --IihjUyvzd0n5Ehsu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2215 On 17 Feb 2015 15:40, Jiri Gaisler wrote: > On 02/17/2015 09:54 AM, Mike Frysinger wrote: > > On 17 Feb 2015 08:44, Jiri Gaisler wrote: > >> This is a 22-part patch that brings the sis simulator into working > >> order, and adds support for emulation of the leon2 and leon3 cpus. > >> > >> The sis simulator was written by me in the mid 90's, to emulate the er= c32 > >> processor (SPARC V7). It was included into gdb by Cygnus (Stan Shebs?), > >> and adapted to also emulate the Fujistu Sparlite processor. The simula= tor > >> has not been actively maintained for about 15 years, and suffered some > >> bit-rot. It's primary use has been for RTEMS development. The erc32 > >> processor is now becoming obsolete, and being replaced by leon2 and > >> leon3 cpus in many ESA and NASA missions. These patches will > >> allow sis to be useful again, and support the newer leon2/3 processor. > > > > it would be nice if there was a testsuite. how are you verifying things > > continue to work and there are no regressions ? > > > > should be easy to add some basic .s files to verify insns ... lots of e= xamples > > in the testsuite/sim/ subdirs already. > > I have a set of pre-compiled binaries to test for basic SPARC and FPU > compliance. On top of that, I run the RTEMS testsuite which is rather > extensive. Is it acceptable to drop a few SPARC binaries to the gdb > testuite/sim, or does it all have to be in source? The test applications > are typically written in C, so we would need a full C cross-compiler to > build them ... unfortunately, it would have to be source, and i imagine the FSF would want= the=20 copyright for it. i guess to mitigate, we could update the erc32 README wi= th=20 notes for how to test things. the sim prefers .s/.S files because they can be assembled+linked entirely o= n=20 their own (in the combined binutils+gdb tree), but .c files are certainly n= ot=20 banned. if you look in the bfin/ subdir, you can see how i handle missing= =20 compiler support and fall back to SKIPing those tests. i tend to prefer `make check` myself so that when i'm making common changes= , i=20 can run all the builtin testsuites to have some confidence i'm not breaking= =20 people. -mike --IihjUyvzd0n5Ehsu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU49nqAAoJEEFjO5/oN/WBvpoQAJX75DWBgrHZt1CaKg6OuMHa Hnv39VuDWxzHpd+Q5ff7MJ9+i9UNWoHFe+mJX884pfsmmg1dotZE3QIr+bkWsYqr jn16S7XROqqt3gU1AdzFvwVP/dAUYvpJ5SBpVlG709RiW0I+pO9XGHVeLEjjpL/e 6msGXv/RwMvnsDlPFghxcLQeJzHPJgUwDP9qOgjRMq2+4JI5qSoiThCXP+leRX1B 4Cg5PrOkVVb7eMBGybj8iBpGjY7/7I0QtdaoE4hz7YwY3O0OiQiXTGDWvKX0rg8R XGvz21xQ5SbjZOQzqBhW18cV5JEFT6odoQBJL/uSS0wIZiRxJ4l02X8DRMU/Ctz1 JgDo5CfqBDOAnx0duEJxLLJ6SM37oDzG4Q1dXeXFpFs1LSHY6nsPgTFstOfADQgj yqeZDpGxD+qbHITYf55ntO7fsSrh22IowVLk68aydqJLK5rjjHK89lNEU6VAKbeT MOx7yqQF9V2RKyuzAhblCLGzcIFChPQ4zaPrYUnAv5IVdoPXeDSZrq+LdSugdAq3 Azg8wWcBTsPrLEPqglKVTCOksLrx8vCqINO9/RQgJho7yps/GqO8odn4l5mXFyh7 pNdUuC3IcS1/aLNnELoCB1Z7n+xxdvL4E4NAABbRTCpu+0mY+VWUDfIpC7lAWEt0 7GaxMpH1462n7XMsaHU6 =MY1T -----END PGP SIGNATURE----- --IihjUyvzd0n5Ehsu--