From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zD1zCXKjF2ACfAAAWB0awg (envelope-from ) for ; Mon, 01 Feb 2021 01:45:06 -0500 Received: by simark.ca (Postfix, from userid 112) id 18FA71EF80; Mon, 1 Feb 2021 01:45:06 -0500 (EST) 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 586151E945 for ; Mon, 1 Feb 2021 01:45:05 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8377C384A4BF; Mon, 1 Feb 2021 06:45:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8377C384A4BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1612161904; bh=uhYqoBpuy9CE06iGc5L+0DsDIQsNAr+a4HSkeGwhzQc=; 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=cMwmKddhP8eFhBcW2n3cYnzR4r8nO6r4wS88A229dyY/eicNt8N6LjaafMtUpCKwH l1Syr2YfvXFr6/RMjLYoxC4MohIQH5wC8JeU3rYuLkdV9jb3q63utsqUFa3MMIUdlI MQHJbuUSm9EH7z9UgcgPxQIBpwltHjnkW9JNbYbo= Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 15193386EC41 for ; Mon, 1 Feb 2021 06:45:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 15193386EC41 Received: by mail-pg1-x52d.google.com with SMTP id r38so11393839pgk.13 for ; Sun, 31 Jan 2021 22:45:01 -0800 (PST) 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=uhYqoBpuy9CE06iGc5L+0DsDIQsNAr+a4HSkeGwhzQc=; b=C47PjHHyfSeR2ub/j4oYT2gwT6LNsG4Llzt1eCeh3vAyfoRin9wgoMUpUQ44fWNpKG od/VnEyF4T4Oxs00nJSw4XrG0TseuFO+0aGYctv2P+rXMECCwPDkY2W3V6rScsIFVxPA mBk9Tvu6yUUgThhR3IGVbbApybKom6En2rnnpaAd4EF/v4aBMVGEdjDsC2YLedvOMTKS FyxmvfhvPK2f0uZv33adMECA0k3x5eSM3bea8Ofk/UhR7aXZGdGLy+nwovv+VRhWJH88 bjpiE1PSNQs39INEczrfChZxH47ocSo0QNyLdllwJmB8uQh1kJedRDMMSFXQd67YxJb0 GjcA== X-Gm-Message-State: AOAM5332GW0Oe7HmSM/YBXZnWxJDL5DDXU/j4QzLsx659OKtw0DVS7uB JadKJW8QU7S1yFtgkAJ/4qhjUwDh0UY= X-Google-Smtp-Source: ABdhPJyKZ14FWivvrpVybza4JIBmJBkFRXSxgUCUcy71Ps03a6oCVXcLFEIbnDkgbAsYib4MJ5dn6A== X-Received: by 2002:a63:5fcf:: with SMTP id t198mr15551205pgb.226.1612161899858; Sun, 31 Jan 2021 22:44:59 -0800 (PST) Received: from localhost (g186.222-224-165.ppp.wakwak.ne.jp. [222.224.165.186]) by smtp.gmail.com with ESMTPSA id m4sm15783489pgu.4.2021.01.31.22.44.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jan 2021 22:44:59 -0800 (PST) Date: Mon, 1 Feb 2021 15:44:57 +0900 To: GDB patches Subject: Re: [PATCH 1/2] sim: testsuite: Get common tests compiling again Message-ID: <20210201064457.GI2002709@lianli.shorne-pla.net> References: <20171005141745.27758-1-shorne@gmail.com> <20171005141745.27758-2-shorne@gmail.com> 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 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 ? > -mike Sure, it will take me some time to get done. -Stafford