From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id aovrNKfJaGAsdwAAWB0awg (envelope-from ) for ; Sat, 03 Apr 2021 16:01:43 -0400 Received: by simark.ca (Postfix, from userid 112) id CACE31EF62; Sat, 3 Apr 2021 16:01:43 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 7B6B81E789 for ; Sat, 3 Apr 2021 16:01:42 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D2B96385781B; Sat, 3 Apr 2021 20:01:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2B96385781B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617480101; bh=E4A2EQ2x59q/stOIBWwkatDEyrGuc4gRJ7HFXY7bkCo=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ZRkVGJEH9Rmnh1HYNYTjfubOm6m5iVWKQ7KUPHQrcgbbbtcSJK71flK4W8peTx9O/ vZwt5vac4rpyNRU4UwmQK7Wd0wCUDLr0f9AygEHHoGtYaWEMKQdw2kKWrAtGM7bMF6 N5BeTyDlBuTdWIR4k1cEW6kO+i7EzpYRp8EV4q+s= Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id F16793858004 for ; Sat, 3 Apr 2021 20:01:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F16793858004 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0D38335D12; Sat, 3 Apr 2021 20:01:34 +0000 (UTC) Date: Sat, 3 Apr 2021 16:01:34 -0400 To: Stafford Horne Subject: Re: [PATCH 1/2] sim: testsuite: Get common tests compiling again Message-ID: Mail-Followup-To: Stafford Horne , GDB patches References: <20171005141745.27758-1-shorne@gmail.com> <20171005141745.27758-2-shorne@gmail.com> <20210201064457.GI2002709@lianli.shorne-pla.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210201064457.GI2002709@lianli.shorne-pla.net> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mike Frysinger via Gdb-patches Reply-To: Mike Frysinger Cc: GDB patches Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 01 Feb 2021 15:44, Stafford Horne via Gdb-patches wrote: > On Sun, Jan 31, 2021 at 10:15:02PM -0500, Mike Frysinger wrote: > > On 05 Oct 2017 23:17, Stafford Horne wrote: > > > This is a series of changes to the the old and non working sim common > > > testsuite . As far as I can tell this has not been used since what > > > looks like before 64-bit desktop computers became common. Most of the > > > changes here are to convert the test code to be 64-bit portable. > > > > sorry for not seeing this sooner. i stumbled across this dir myself > > recently and came to the same conclusions you did (about the non-fpu > > stuff). i pushed some fixes to get it working on my 64-bit desktop. > > > > i haven't tried to integrate the build though. i was going to let > > that wait until we had better overall build integration than add some > > more subdir-configure scripts, then should be able to revisit. > > OK. > > > > The fpu-tst tool actually depends on external code from v2 of berkeley > > > softfloat [1] and testfloat [2] libraries which I cleaned up so the > > > would actually build on a modern compiler. The build will generate a > > > 'testfloat' binary which will be used to compare the sim-fpu vs the > > > softfloat implementation. > > > > ah, very cool. i saw those includes and thought those were weird but > > then gave up on trying to track them down. i assumed it was some weird > > thing that didn't exist anymore. > > > > can you refresh these and see how many are still needed ? i think the > > alu-tst & bits-gen & bits-tst files should be all set now in the latest > > tree. for the fpu-tst, how about we put the details/comments into the > > source file itself for now ? > > Sure, it will take me some time to get done. i've done a bit more work in here and the tests are part of `make check` now. hopefully the new sim/testsuite/common/local.mk is easier to work with. -mike