public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Hannes Domani <ssbssa@yahoo.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 2/5] Fix right shift of negative numbers
Date: Tue, 11 Jun 2024 12:15:40 -0600	[thread overview]
Message-ID: <87msnrgxbn.fsf@tromey.com> (raw)
In-Reply-To: <20240531114801.2745-2-ssbssa@yahoo.de> (Hannes Domani's message of "Fri, 31 May 2024 13:47:58 +0200")

>>>>> "Hannes" == Hannes Domani <ssbssa@yahoo.de> 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@tromey.com>

Tom

  reply	other threads:[~2024-06-11 18:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20240531114801.2745-1-ssbssa.ref@yahoo.de>
2024-05-31 11:47 ` [PATCH 1/5] Restore bitshift.exp tests Hannes Domani
2024-05-31 11:47   ` [PATCH 2/5] Fix right shift of negative numbers Hannes Domani
2024-06-11 18:15     ` Tom Tromey [this message]
2024-05-31 11:47   ` [PATCH 3/5] Fix too-large or negative " Hannes Domani
2024-06-11 18:16     ` Tom Tromey
2024-05-31 11:48   ` [PATCH 4/5] Fix 64-bit shifts where long only has 32-bit size Hannes Domani
2024-06-11 18:28     ` Tom Tromey
2024-05-31 11:48   ` [PATCH 5/5] Fix cast types for opencl Hannes Domani
2024-06-11 18:29     ` Tom Tromey
2024-06-11 19:31     ` Tom Tromey
2024-06-11 19:34       ` Hannes Domani
2024-06-11 18:11   ` [PATCH 1/5] Restore bitshift.exp tests Tom Tromey
2024-06-11 18:38     ` Hannes Domani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87msnrgxbn.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=ssbssa@yahoo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).