Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: koriakin@0x04.net (Marcin Kościelnicki)
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC][PATCH][PR 18376] gdb: Add process record and replay support for s390.
Date: Mon, 02 Nov 2015 20:33:00 -0000	[thread overview]
Message-ID: <20151102203316.F15282665@oc7340732750.ibm.com> (raw)
In-Reply-To: <1446491482-3703-1-git-send-email-koriakin@0x04.net> from "=?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?=" at Nov 02, 2015 08:11:20 PM

Marcin KoÅcielnicki <koriakin at 0x04 dot net> wrote:

> I have added pseudo-support for TBEGIN (just to let it abort and fallback),
> as well as PPA and ETND (on the off-chance someone uses them).

Excellent.

> I have also found three missing break statements and fixed those.

Huh, I didn't find those :-)  I found a small number of issues (mostly
cosmetic) ... review will follow shortly.

> The second patch implements single-stepping over a MVCLE+JO pair (as well
> as other partial-execution instructions that can write memory).   I haven't
> limitted it to record-only - AFAICT it doesn't cause any problems without
> record (in fact, it should decrease context switches for large transfers),
> but I'll restrict that if necessary.

Well, I was thinking that if you manually single-step, you might want to
see the actual machine behavior.  That's why I suggested restricting the
behavior to recording ...

> As for the Uniersity of Syracuse machines, I do have access, and they are
> only z196.

Huh, I thought those were z13 ...   I'll check whether there is a z13
available somewhere.

> There's also an ambiguity in LCBB opcode documentation: it produces a 32-bit
> unsigned result, but the text mentions storing it to the general register
> (not to bits 32-63 of a general register, as is common for documentation
> of proper 32-bit opcodes).  I don't have a vector-supporting machine, so
> I can't check what is correct.  The patch goes the safe way and assumes
> all 64 bits of GR can be changed.

LCBB definitely only stores bits 32-63 of a general register.  For other
instructions, the PoP uses a wording like "the operand is treated as
32-bit unsigned integer" to indicate this; I think the wording for LCBB
is different simply because there is no *G variant of the instruction.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


      parent reply	other threads:[~2015-11-02 20:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 14:32 Marcin Kościelnicki
2015-10-30 15:30 ` Ulrich Weigand
2015-10-30 15:44   ` Marcin Kościelnicki
2015-10-30 15:56     ` Ulrich Weigand
2015-11-02 19:11   ` Marcin Kościelnicki
2015-11-02 19:11     ` [PATCH 2/2] gdb/s390-linux: Step over MVCLE+JO (and similiar) as a unit Marcin Kościelnicki
2015-11-02 20:41       ` Ulrich Weigand
2015-11-03 15:49         ` [PATCH v3 " Marcin Kościelnicki
2015-11-03 16:13           ` Ulrich Weigand
2015-11-03 16:44             ` Marcin Kościelnicki
2015-11-03 17:34               ` Ulrich Weigand
2015-11-02 19:29     ` [PATCH 1/2] gdb: Add process record and replay support for s390 Marcin Kościelnicki
2015-11-02 20:35       ` Ulrich Weigand
2015-11-03 13:56         ` [PATCH v3 " Marcin Kościelnicki
2015-11-03 14:17           ` Ulrich Weigand
2015-11-02 20:33     ` Ulrich Weigand [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=20151102203316.F15282665@oc7340732750.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=koriakin@0x04.net \
    /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