public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Carl Love <cel@us.ibm.com>
To: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>,
	"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
	"will_schmidt_vnet.ibm.com" <will_schmidt@vnet.ibm.com>
Cc: Rogerio Alves Cardoso <rogealve@br.ibm.com>,
	"tromey@adacore.com" <tromey@adacore.com>
Subject: Re: [PATCH V2] Powerpc: Update expected floating point output for gdb.arch/altivec-regs.exp and gdb.arch/vsx-regs.exp
Date: Tue, 26 Apr 2022 10:24:12 -0700	[thread overview]
Message-ID: <aea9c0f8d82252502c94a3eb2f558e2ccc150be4.camel@us.ibm.com> (raw)
In-Reply-To: <c9e7631b4de85b817367bd36dbb1d690ac303bcf.camel@de.ibm.com>

Ulrich:

I had similar thoughts to your comments below.  The output now seems a
bit redundant.  I didn't want to try and address that in this patch.

I have committed the patch as is.  I have created an internal to do for
us to look at cleaning up the output on Power per your comments.  

Thanks.

                  Carl 

On Tue, 2022-04-26 at 14:28 +0000, Ulrich Weigand wrote:
> Carl Love <cel@us.ibm.com> wrote:
> 
> > PowerPC: Update expected floating point output for
> > gdb.arch/altivec-
> > regs.exp and gdb.arch/vsx-regs.exp
> 
> This patch is OK.
> 
> As additional comment, I'm wondering whether the display of vector
> registers via the union we're using is actually useful when in
> hexadecimal mode.  The intent of the union is that it should be easy
> to
> interpret the register contents in various ways, in particular both
> as
> integer and as floating-point value, as we may not know what type is
> currently being held in the register.
> 
> However, with the new way of printing floating-point values when /x
> is
> in effect, it seems that the contents of v4_float will now always be
> identical to v4_int32, and similar for the other floating-point union
> members.
> 
> So maybe it would be better to always show the floating-point members
> as actual floating-point, even when the rest of the union is printed
> via /x.  However, that may be a more invasive change, so I think you
> should go ahead and commit the patch as-is now, to improve the
> testsuite results.
> 
> Bye,
> Ulrich
> 


      reply	other threads:[~2022-04-26 17:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  4:47 Carl Love
2022-04-18 16:20 ` will schmidt
2022-04-18 20:04   ` [PATCH V2] " Carl Love
2022-04-22 19:50     ` [PATCH V2 Ping] " Carl Love
2022-04-26 14:28     ` [PATCH V2] " Ulrich Weigand
2022-04-26 17:24       ` Carl Love [this message]

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=aea9c0f8d82252502c94a3eb2f558e2ccc150be4.camel@us.ibm.com \
    --to=cel@us.ibm.com \
    --cc=Ulrich.Weigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=rogealve@br.ibm.com \
    --cc=tromey@adacore.com \
    --cc=will_schmidt@vnet.ibm.com \
    /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).