From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ATVNChmsuGkPriwAWB0awg (envelope-from ) for ; Mon, 16 Mar 2026 21:19:21 -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=20230601 header.b=M3Z0wQQd; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 253021E0BC; Mon, 16 Mar 2026 21:19:21 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.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,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 9E61C1E04F for ; Mon, 16 Mar 2026 21:19:20 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 24F584BB590A for ; Tue, 17 Mar 2026 01:19:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24F584BB590A Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=M3Z0wQQd Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id 3E2AD4BB58F2 for ; Tue, 17 Mar 2026 01:18:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E2AD4BB58F2 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 3E2AD4BB58F2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::444 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773710335; cv=none; b=ss5Xy+QfAxgCRg/cTTw2wE2lZRtblbWKLpTftwQsYuEbpyYIlisvc6zP8OLBr889WLHfE85n2SCEfAW6zp1T3LV86kuHo6qEBWhDHjIjxd2h4tH/dNBb9eMeiidQ6MZULqAwFctaaAlnvX/bld0y4OmkwDK6PGtbDdJnlg7k+VA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773710335; c=relaxed/simple; bh=1Tj9A1VP5UWB6/h+uAmBH8T0PNGRkcEKslu1GJBq3x8=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=JhUc7EUEhytcGrCOKiUWsayrRpa4r8LNQZL2eJ2iE0oDgr1vvL4MvVd+rKp4Z0DHsjDd/8bgjQJSJcbDcBwLTgG/4k1YeY9gJWDYXLctJ0fDzRYzkYb8SCSZSxbhhBRptu/H+HZB0pk1vaHNp9QjV4dWDzHKIIozQ7u/8enOIPY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E2AD4BB58F2 Received: by mail-pf1-x444.google.com with SMTP id d2e1a72fcca58-82987437624so151468b3a.1 for ; Mon, 16 Mar 2026 18:18:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773710334; x=1774315134; darn=sourceware.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=qfeQ3u55Nw6d8Iz2WP5CEapdjVkIE0K8QOexjoJxzdM=; b=M3Z0wQQdPst4mvXtgCcOnLvA6bvwB9oNjhGyIl0DyrgVQEi7YT2q4F4lqkyDVpmNjC DseApxGFDFtwahP1NGxQ0ks1YOmiCfRX1Es/jNoTtwsq4Tha9xQ6VFNiUhvEDTZ4sBGk s0IeKMGR8kFca2+0r3ujHACVyAgZ7GGMs5FhKakV6cP3+L7Fehhru9yCKpJXnuCt7bcW sZwT3OoS2H7NHTvjgTnFXGBXTDijPWX0v1mxW5QaDcjBRLRm57SHD4+GTu1Ump4Z/l/q N57yYgZZ95RO6E2+I/698OcOInLEgH4jQPLTbwpFZCQfMW/LS/SUoJ1PUjuIKraafLac u4vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773710334; x=1774315134; h=mime-version:user-agent:content-transfer-encoding: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; bh=qfeQ3u55Nw6d8Iz2WP5CEapdjVkIE0K8QOexjoJxzdM=; b=LVypsMN1HdQtu1h20wv6tsDoZUnxycMRCi+wgJthnE8NKMY8567rp/Vb4MKg0Ui3x3 ljCxtwyqOQ3EWE6zIcMr4YRqXtZgmm5RXPXpMGtjkMOofAFqSNmI2yrZqS/LDBMZ6xmx 8ow50X8UIGbyXIMyGx3ewdgdpcq/6hyTJaqfHbbYJ1Pqbr2Uib8DHwVXWQ6YvOd3W5kk 59zmL71tOK2E/2EU0ZDRWpj0cUa4bgUoL5fNpRiyxWH5h/G7RuuF6zgYL9Qd7gPmSYyS tehLKJphlKS8GAnieCZgPrLwjEkUdRaM+CR47tA5G28wGtjo1Jo02q05whVK1EzLDKmX Jq2g== X-Forwarded-Encrypted: i=1; AJvYcCVzv8pfAUDGiPC2C8KvF/EZ1gY4+iJb+YyGnICCV+YhklphRGSKWENfLNomEmOttNUmeeKRbyKOaxmycg==@sourceware.org X-Gm-Message-State: AOJu0Yx3V/8oz2Lncfnd10wuatZ2jFk0mSvSFpNgy6N9r+PCAnrtWC/y Ih5HWeGYTngGUGujG0c2xl/CrteM8JZQzRA4NI3xK0amfHGFS16L0IzAAGNTqBGp X-Gm-Gg: ATEYQzzdDV4sGUiQSRLi+LOfyP5lds6vUzT2xBoVOsCQCDMNLg1Ja8eGzSwf6eA96hn 0f73/VqCq3rXatdZuB111Cw/fUs/oi7fIdb0d4d7ATS5ddsRfsr9Ojo/lOzppq3DHA7p3DKRXft 3O05mN6ey/IVzKqW1/7oag5gKWsDlUcdoe+kcFPXuA/3fvBBCMb2Fqu7zD/ou34Gjc7GNDpHzFz /8ZUXHUEGO/RA/cQYzX5yuVm0efc4aGoypXyHjE+tM1DsWS8sEUf3HO+xgVg0cUTvMuGLHCihCC Zx67iYpmJM3TrpHCLJ+azHmgI9ADMkeujckRdSOoDIz2AdOvd9cvVai7kCdI6GZCz+kTWIyfNEi mHUVtJtJvGqXG7BEPcA0gmWKByg6hOH12JT3xRBt9DGl529zINSzQLyKVVyi28wnr1gOw2LfqQ+ Yes693ehF/rFu1NVsjNmIqr+33S9v8lnSm7oWAXco9bJDXCdcsx57mZA== X-Received: by 2002:a05:6a00:1399:b0:81e:f280:f341 with SMTP id d2e1a72fcca58-82a560149a3mr1209334b3a.6.1773710333989; Mon, 16 Mar 2026 18:18:53 -0700 (PDT) Received: from localhost.localdomain ([2407:c800:3620:e800:7910:9280:8105:5a2]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82a07340417sm14710916b3a.39.2026.03.16.18.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 18:18:53 -0700 (PDT) Message-ID: <94f77e9bfecf923cfca8caa5427de7604ebe2fd7.camel@gmail.com> Subject: Re: [SH] Check FPSCR.PR for fldi0, fldi1 insns in simulator From: Oleg Endo To: Simon Marchi , gdb-patches@sourceware.org Date: Tue, 17 Mar 2026 10:18:51 +0900 In-Reply-To: <9855a27b-78f6-4d4a-b0f6-04fefcaf7a49@simark.ca> References: <016918b6653a40835d2272c3c37d05b0d7e470b6.camel@gmail.com> <6eb50919-75d8-4725-9afa-e241e4cabab6@simark.ca> <9855a27b-78f6-4d4a-b0f6-04fefcaf7a49@simark.ca> 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 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 is still > good, traping is a more useful behavior to catch something you don't > want to happen. 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-verifying code.= =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 patch/commi= t > > 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 Alright. Last time I've checked I had write access. I can commit & push i= t myself. Just let me know. Best regards, Oleg Endo