From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 2DE70385DDC0 for ; Tue, 11 Jun 2024 18:15:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2DE70385DDC0 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2DE70385DDC0 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718129744; cv=none; b=hfMcZGixV9e+lqHhRGWcf3H6Q53JPxVBzs9mfekHGcVzcl6mrmZzXuhGn4Q5ygEUt+2pqZ7HkEQbKBw593hBebA4xxqN06f5yPWbiVPDhTVQGAGvVblAmfZ2Vh9ai9u4jdnMYZ9+48Qm9Oi+iibAtk9AOT6WrQVevWG2oFmRDBU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718129744; c=relaxed/simple; bh=+NIMz2yCFn2+PTurcOAFBGRJI5vv4PhVqxzl6yr8dY0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eAhE05unfUc8VmPMASsbzN7S9KuYqwHV/tRYMeEc774IDUSPcLB/5tc6Fzt+ScSoVeaV4Bov9SueESF+h782CDzGFOfGafpcu1e8JsSgjnMeHDeezx3YMszbOHnql/Wk040ZGiia5XZF37uGkeTWjv3vWWoUETBnM5BzdEEavMc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6003a.ext.cloudfilter.net ([10.0.30.151]) by cmsmtp with ESMTPS id H5n0soGdBAidIH622sNEh7; Tue, 11 Jun 2024 18:15:42 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id H621sfaXPd4oeH622sXjFF; Tue, 11 Jun 2024 18:15:42 +0000 X-Authority-Analysis: v=2.4 cv=aYKqngot c=1 sm=1 tr=0 ts=6668944e a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=T1WGqf2p2xoA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=zstS-IiYAAAA:8 a=Jcj573V-5xbSX3rpNdUA:9 a=bKdfoM6u9_EA:10 a=ETxJbj5dEL5NKU_Z2VZu:22 a=ul9cdbp4aOFLsgKbc677:22 a=4G6NA9xxw8l3yy4pmD5M:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vndgccA0Mg5eZbkZki2By5aD04NO5TotarQm8h/9ToU=; b=llSkCQulf+adxtYRi9L09iasQf XUtpc+BJCsOawm20PKqGuWEy9bHXs33GwmOQ0iA1aaYJ9Yg8aMTrtNsQLd6xmHC9o4IZRM2i2hewL qiWJhjeHIL8LBUevTsx8JfSIY; Received: from 75-166-134-4.hlrn.qwest.net ([75.166.134.4]:35750 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sH621-002Tjo-1a; Tue, 11 Jun 2024 12:15:41 -0600 From: Tom Tromey To: Hannes Domani Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/5] Fix right shift of negative numbers In-Reply-To: <20240531114801.2745-2-ssbssa@yahoo.de> (Hannes Domani's message of "Fri, 31 May 2024 13:47:58 +0200") References: <20240531114801.2745-1-ssbssa@yahoo.de> <20240531114801.2745-2-ssbssa@yahoo.de> X-Attribution: Tom Date: Tue, 11 Jun 2024 12:15:40 -0600 Message-ID: <87msnrgxbn.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.134.4 X-Source-L: No X-Exim-ID: 1sH621-002Tjo-1a X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-134-4.hlrn.qwest.net (murgatroyd) [75.166.134.4]:35750 X-Source-Auth: tom+tromey.com X-Email-Count: 4 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfBvKmqna2AVfKQFtkMt6FZ4A4243RHbftpU76i8UxzUk8vhwOS2DOCm+Jl3wwKww0ezHK5pcpTucOWIoKp+aNW0sYUDox4ApFcMmakVHsM/6LMlHZTVe ZFrBhBVMLrTV8Wtt9CeSSiFST9jQotcvLktY/UnP/3SJTwnW2SUnlwuTuuL2L6W8SWuhrfgt6A0+/Gkz3TnfeGEjHX/XZ7rn4jE= X-Spam-Status: No, score=-3014.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Hannes" == Hannes Domani writes: Hannes> So this changes mpz_tdiv_q_2exp to mpz_fdiv_q_2exp, since it Hannes> does right shifts for both positive and negative numbers. Hannes> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31590 Ok. Thank you. Approved-By: Tom Tromey Tom