From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2JCgCpvTaGA7eAAAWB0awg (envelope-from ) for ; Sat, 03 Apr 2021 16:44:11 -0400 Received: by simark.ca (Postfix, from userid 112) id 298A81EF62; Sat, 3 Apr 2021 16:44:11 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 45D5C1EE0E for ; Sat, 3 Apr 2021 16:44:10 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ED36E3858004; Sat, 3 Apr 2021 20:44:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED36E3858004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617482650; bh=yjuuc41Uob4XIanmXYC2y0/9s2RSPtxdSA14ue4xmwE=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=w1fZiJkesdcdgEGBmDDPKkNrWj74DVnZU7RkgmWirsXberq7NUVShBQIJhDnqa2JB igc+UlMdfB8qwYHUwtMR0IHffKJ3/YMSTHLQ2tiJMLBlUvSSIcPP07+jvaM1UkpBzQ /nCp/uDpJ69h/EZel0cd9qy0ZOofgLhwTDfZbz0Q= Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by sourceware.org (Postfix) with ESMTPS id 574EA3858004 for ; Sat, 3 Apr 2021 20:44:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 574EA3858004 Received: by mail-pj1-x102a.google.com with SMTP id ha17so4223972pjb.2 for ; Sat, 03 Apr 2021 13:44:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yjuuc41Uob4XIanmXYC2y0/9s2RSPtxdSA14ue4xmwE=; b=SUME/Fbe5Wwtt3LAGjURuhMGDYWolUs4nZ7GqG6KnZgOlmK6zOls51ZJyVk1AvZLc7 2zb9u3+Uwyttw+eyYLuPXIt9GXnuDzTDK8pliiFPEK/2/eER1CDTtLmwzmdaNNNH+izw 0cnzu7xN+T7uneOzUnrj0+7v3XeNdeP9dXSJynEVtEnZIghEqnd+QlzLoeyPkdhEFwTA Nn7t25HB/XImGt0kR4Pm2+aHn7fabwx+cO5Wq37T0pECQg/VS/bwPsVsoAAlfVLZqQC1 oAsf5398XWEpmBr+V3cRjNPWq5aR14MwWGkU47Jqao+Lqi1uWYq+z44NGdOuobOdotXq FTog== X-Gm-Message-State: AOAM530NfECrM5vAoq5TMTyYgARccwAioh+IQ5uuRXkoxh+qeABImumv 1RKgcaIHfOm03xzdHfWLnUyu3+oRH6I= X-Google-Smtp-Source: ABdhPJzJV403MTT7trOCZ1EpzmVEDwdGq5J92SySYoKq7AVztRdQQSuZMTvSqtfKVkrIY4m9ivSvwQ== X-Received: by 2002:a17:90b:80f:: with SMTP id bk15mr4599500pjb.70.1617482645071; Sat, 03 Apr 2021 13:44:05 -0700 (PDT) Received: from localhost (g139.124-45-193.ppp.wakwak.ne.jp. [124.45.193.139]) by smtp.gmail.com with ESMTPSA id 14sm11614058pfl.1.2021.04.03.13.44.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 13:44:04 -0700 (PDT) Date: Sun, 4 Apr 2021 05:44:02 +0900 To: GDB patches Subject: Re: [PATCH 1/2] sim: testsuite: Get common tests compiling again Message-ID: <20210403204402.GA3288043@lianli.shorne-pla.net> 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=us-ascii Content-Disposition: inline In-Reply-To: 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: Stafford Horne via Gdb-patches Reply-To: Stafford Horne Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On Sat, Apr 03, 2021 at 04:01:34PM -0400, Mike Frysinger wrote: > 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. Thanks, I still haven't had time to get back to this, but it is on my todo list. -Stafford