From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ubKTEICOn2qVLTYAWB0awg (envelope-from ) for ; Tue, 08 Sep 2026 00:26:40 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=XJYEAMMa; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 3EC6B1E091; Tue, 08 Sep 2026 00:26:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id B7B311E091 for ; Tue, 08 Sep 2026 00:26:38 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 698C04B99F46 for ; Tue, 8 Sep 2026 04:26:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 698C04B99F46 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=XJYEAMMa Received: from mail-pj2-x02.google.com (mail-pj2-x02.google.com [IPv6:2607:f8b0:4864:39::2]) by sourceware.org (Postfix) with ESMTPS id B0B534BA7988 for ; Tue, 8 Sep 2026 04:26:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B0B534BA7988 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B0B534BA7988 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:39::2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788841572; cv=none; b=cGPXrxbU0mN7+HiRXNoByhiXHOkheF6HV7O3DHBXr7mVL4usnJOiml/LBm9cblz632hIMAaYZzmD2I0ueeEamkbrvxzG+N8exJm3KRsSvzDwHfszr6PQGVfpNb2BxeK03EDeOCHzGCCvrkgX16AMZqyh78O+sJ83BVxvugjHv8M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788841572; c=relaxed/simple; bh=m1swDm9/ivvXBRvTJ83BfWLncia1ZUKwtzMaXjROb3U=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=DUNOff6s5wWh5tCvgM8mnGykRgh3HbxYqsxQ81B+NsO2adukZOtO12M4En2I6QCce4iK1f3A1P45dHMVCGueeBs3Cnk/cXTcJNQB/3nsH02qvsOXGpKPCW/fhOhy0vdVQtI1lyA19XMkOJtlGBRm9NV5Chz3Yf2fE3rQ7n9YHc4= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=XJYEAMMa DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0B534BA7988 Received: by mail-pj2-x02.google.com with SMTP id 98e67ed59e1d1-3896ccc93b5so1202124a91.1 for ; Mon, 07 Sep 2026 21:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788841572; x=1789446372; darn=sourceware.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:to:from:subject:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=zpVR02t72NkslV3wx6E/OGpRGw88GPCZqPU+qCRjFdw=; b=XJYEAMMaUkGyHyrOvD0BqPRSsp5y1xEml/tEcQg7foLUeVNyk+2u5uGta9tb2xJh6O /M3oyoAw/ejMRKDS1lpBS4b0xKd4qWbhrCV9H+vWrJiuvbiw17pxGTFpZ4haBAmPUxH6 wWvR56ZeAulJO30vqkRCLOZIcPYMU5bL01EHAcO4XLTDyCuhCTfuNQus0jZg2qEBzEH7 O7tQz7NIjOu5SIdfTm1T+0NJxG8cu5mTPbgV1bi8OViGEic7DHFrXYuAJkbU1ouLlSIS V7wyMYCONOrr7eJ2Wjcdw2jjCTg2qdX3p9MWrykh6HRbxwmunjPzx9bHtLaTAMVAvBK5 QwYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788841572; x=1789446372; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=zpVR02t72NkslV3wx6E/OGpRGw88GPCZqPU+qCRjFdw=; b=lZvlTnj/D86Ao7f+u9Zgr8Gm+3rkWEvSKb1G5/VzhqcSJtmna51+G99yusLdZnhCUN VNiHqtOX70BJRMNEyRynWxP8ItOSAlXfpxL016eC+IiwUCvKexgz/cQ8XseqnPEgQqFV m6NRXUlJHvW9e4dHplmSMWr8N6Eb1alASNDlN4Oc2oh06RVCbzUiQCdWTDhmc4OFIqDS 4jcXMPfErrD7nva/cpQoy4paD30ETKjFcS+lqwDVewIE/CaNbwfwLvY2kstR/KzEHBUU YaqXev7nepi3fHcBfzZHmxEKVDRJzzSzTLky6drmtUqfYBWX+pi81d8+vwvBfTdXv1PF OjfA== X-Forwarded-Encrypted: i=1; AKwUvBzBJ5UicA/Fvt85Y23IYwAT2Nf+gcBxbpICRRg0V5HLtJ/7DVA3Z58v4IM57yuu0bZvED7aQu5orFNcRw==@sourceware.org X-Gm-Message-State: AFuF++lhEPyOt/rcPAF0R/OTplMYA6gtVhCt0pqykBMce/aiNeF0miYU SVnx28cMGO22ftQHIOqSe94TJIL96z1KqcL+/13qL6cwvMsddD4Qb69E4FwABUvJHnQ= X-Gm-Gg: AYBFou2HSsppEST2nGnUwOhDnJFf9YNSVP7ot6r0DZFRFz9wfP6sAPY0tFdlyGplEIB fmEMki8KIMzP56AUDt92RtKz1cyLfuyqtLagseX+W2EletOMHPpnSR/m0qoypiBKswC7A7b8ZYV FyS+eMht3Y6MaN1e/VgKv9+5Z8oWue//aZmo3X7Z460Lnqk58dCmtJlBNI89UQL7820YzODecKG agRNT9g1JK64Qwd9oQiA16D9uut3Pcvsa2pzRmNdHKv0aECLllcleTTz2f7jOetzgvSxxfpHtze FzByQh9mRg+/OgK0DCPybE5wJlXNl7K5abs/+Uz4FNnEZHWeGkCCCVZCqf6M/W8bkLUTMpy8zPD FiItNEqKd4Tq+Yszy+o7ioNHo1GPIRQrRlooJQBoQOIEtJKNM1cycazLyp1lOvggLOWCjHikukr eqg9VMQ7WHkcpVSRjSUHncB4TliHSp1wcXem1AIN7NH0cAFF1HvzBDyNei0v6bQ2GwOgvVacVNi GIinSi7G96uRIRcg+M= X-Received: by 2002:a17:90b:1641:b0:399:1f8b:d255 with SMTP id 98e67ed59e1d1-39b260dd3fdmr38320542a91.5.1788841571669; Mon, 07 Sep 2026 21:26:11 -0700 (PDT) Received: from localhost.localdomain ([2407:c800:3620:e800:7910:9280:8105:5a2]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-39b26127fddsm23400304a91.12.2026.09.07.21.26.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2026 21:26:11 -0700 (PDT) Message-ID: Subject: Re: Ping^2 Re: [SH] Check FPSCR.PR for fldi0, fldi1 insns in simulator From: Oleg Endo To: Simon Marchi , gdb-patches@sourceware.org Date: Tue, 08 Sep 2026 13:26:09 +0900 In-Reply-To: <3e1fdbbd9bb63a214c4fe6fe743018a2e302a755.camel@gmail.com> References: <016918b6653a40835d2272c3c37d05b0d7e470b6.camel@gmail.com> <6eb50919-75d8-4725-9afa-e241e4cabab6@simark.ca> <9855a27b-78f6-4d4a-b0f6-04fefcaf7a49@simark.ca> <94f77e9bfecf923cfca8caa5427de7604ebe2fd7.camel@gmail.com> <33b1b794-d592-45e7-9bb7-53a4a9c45607@simark.ca> <1ca6adbf81c1e1eabeb3360d99a1e92b0f450604.camel@gmail.com> <3e1fdbbd9bb63a214c4fe6fe743018a2e302a755.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 (3.54.3-2.fc41) MIME-Version: 1.0 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Ping On Mon, 2026-08-24 at 20:03 +0900, Oleg Endo wrote: > Ping >=20 > On Sun, 2026-08-02 at 22:42 +0900, Oleg Endo wrote: > > Hi, > >=20 > > On Tue, 2026-03-17 at 13:50 +0900, Oleg Endo wrote: > > >=20 > > > On Mon, 2026-03-16 at 21:19 -0400, Simon Marchi wrote: > > > >=20 > > > > On 2026-03-16 21:18, Oleg Endo wrote: > > > > > On Wed, 2026-03-11 at 10:39 -0400, Simon Marchi wrote: > > > > > >=20 > > > > > > Ok, well since we're in "undefined behavior" territory we could= argue > > > > > > that the current sim behavior is fine. But I think the patch i= s still > > > > > > good, traping is a more useful behavior to catch something you = don't > > > > > > want to happen. > > > > >=20 > > > > > Yes, the current sim behavior is not wrong per se. But like you = said, > > > > > having it trap is more useful for sim's main purpose -- pre-verif= ying code.=20 > > > > >=20 > > > > >=20 > > > > > > > > The patch LGTM, but I am not a maintainer of the sim, so: > > > > > > > >=20 > > > > > > > > Reviewed-By: Simon Marchi > > > > > > > >=20 > > > > > > > > One note, please put the relevant information (the body of = your email) > > > > > > > > into the commit log itself). > > > > > > >=20 > > > > > > > Yeah, sure I can expand the comment of the commit. Updated p= atch/commit > > > > > > > attached. > > > > > >=20 > > > > > > I would give it a week for Andrew or Mike to review and approve= , but > > > > > > otherwise I would feel comfortable merging it. > > > > > >=20 > > > > >=20 > > > > > Alright. Last time I've checked I had write access. I can commi= t & push it > > > > > myself. Just let me know. > > > >=20 > > > > Yes, please go ahead. > > > >=20 > > > >=20 > > >=20 > > > Thanks. Committed & pushed as 17eb89e3c1cc6098f08e77d257468486a5c04c= e4. > > >=20 > >=20 > > This is a little late, but better than never. > >=20 > > I've just noticed that running > >=20 > > make check RUNTESTFLAGS=3D"sh.exp" > >=20 > > in the sim build dir throws the following errors: > >=20 > > FAIL: sh fabs.s (execution) > > FAIL: sh fadd.s (execution) > > FAIL: sh fcmpeq.s (execution) > > FAIL: sh fcmpgt.s (execution) > > FAIL: sh fcnvsd.s (execution) > > FAIL: sh float.s (execution) > > FAIL: sh fmov.s (execution) > > FAIL: sh fmul.s (execution) > > FAIL: sh fneg.s (execution) > > FAIL: sh fsqrt.s (execution) > > FAIL: sh fsub.s (execution) > > FAIL: sh ftrc.s (execution) > >=20 > > The behavior is correct and as expected. The test cases need to be adj= usted > > to match the fli0/fldi1 behavior. The attached patch fixes this. > >=20 > > OK to commit & push? > >=20 > > Best regards, > > Oleg Endo > >=20 > >=20