qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-s390x@nongnu.org, cohuck@redhat.com, david@redhat.com,
	richard.henderson@linaro.org,
	Pavel Zbitskiy <pavel.zbitskiy@gmail.com>
Subject: [Qemu-devel] [PATCH 0/7] Some improvements in z/Arch instructions support
Date: Mon, 20 Aug 2018 22:50:57 -0400	[thread overview]
Message-ID: <20180821025104.19604-1-pavel.zbitskiy@gmail.com> (raw)

Found while attempting to run an old tool in qemu.

* BAL and BALR:    Added.
* CSST:            Qemu crashed after an accidental jump to garbage.
* IPM:             A tool produced an incorrect output.
* EX TRT/TRTR:     A tool ran quite slow.
* PACK:            A tool produced an incorrect output.
* CVB, CVBY, CVBG: Added.

Changes since v2:
* Updated MAINTAINERS.
* Updated BAL and BAS not to overwrite high 32 bits
  in 24- and 31- bit modes.

Changes since v1:
* Tests.
* Call pc_to_link_info() instead of op_bas().
* Clarified CSST commit message.
* Rewrote IPM using extract/deposit.
* Clarified PACK commit message.
* Do not use LowCore for CONFIG_USER_ONLY.
* Reduce duplication in CVB code.

Pavel Zbitskiy (7):
  tests/tcg: add a simple s390x test
  target/s390x: add BAL and BALR instructions
  target/s390x: fix CSST decoding and runtime alignment check
  target/s390x: fix IPM polluting irrelevant bits
  target/s390x: add EX support for TRT and TRTR
  target/s390x: fix PACK reading 1 byte less and writing 1 byte more
  target/s390x: implement CVB, CVBY and CVBG

 MAINTAINERS                     |  1 +
 target/s390x/helper.h           |  1 +
 target/s390x/insn-data.def      |  7 +++
 target/s390x/int_helper.c       | 50 +++++++++++++++++++
 target/s390x/mem_helper.c       | 24 +++++++--
 target/s390x/translate.c        | 86 +++++++++++++++++++++++++--------
 tests/tcg/s390x/Makefile.target |  9 ++++
 tests/tcg/s390x/csst.c          | 43 +++++++++++++++++
 tests/tcg/s390x/cvb.c           | 18 +++++++
 tests/tcg/s390x/exrl-trt.c      | 48 ++++++++++++++++++
 tests/tcg/s390x/exrl-trtr.c     | 48 ++++++++++++++++++
 tests/tcg/s390x/hello-s390x.c   |  7 +++
 tests/tcg/s390x/ipm.c           | 22 +++++++++
 tests/tcg/s390x/pack.c          | 21 ++++++++
 14 files changed, 362 insertions(+), 23 deletions(-)
 create mode 100644 tests/tcg/s390x/Makefile.target
 create mode 100644 tests/tcg/s390x/csst.c
 create mode 100644 tests/tcg/s390x/cvb.c
 create mode 100644 tests/tcg/s390x/exrl-trt.c
 create mode 100644 tests/tcg/s390x/exrl-trtr.c
 create mode 100644 tests/tcg/s390x/hello-s390x.c
 create mode 100644 tests/tcg/s390x/ipm.c
 create mode 100644 tests/tcg/s390x/pack.c

-- 
2.18.0

             reply	other threads:[~2018-08-21  2:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21  2:50 Pavel Zbitskiy [this message]
2018-08-21  2:50 ` [Qemu-devel] [PATCH 1/7] tests/tcg: add a simple s390x test Pavel Zbitskiy
2018-08-21  7:18   ` David Hildenbrand
2018-08-21  2:50 ` [Qemu-devel] [PATCH 2/7] target/s390x: add BAL and BALR instructions Pavel Zbitskiy
2018-08-21  7:31   ` David Hildenbrand
2018-08-21 11:50     ` Cornelia Huck
2018-08-21  2:51 ` [Qemu-devel] [PATCH 3/7] target/s390x: fix CSST decoding and runtime alignment check Pavel Zbitskiy
2018-08-21  7:32   ` David Hildenbrand
2018-08-21  2:51 ` [Qemu-devel] [PATCH 4/7] target/s390x: fix IPM polluting irrelevant bits Pavel Zbitskiy
2018-08-21  7:33   ` David Hildenbrand
2018-08-21  2:51 ` [Qemu-devel] [PATCH 5/7] target/s390x: add EX support for TRT and TRTR Pavel Zbitskiy
2018-08-21  7:33   ` David Hildenbrand
2018-08-21  2:51 ` [Qemu-devel] [PATCH 6/7] target/s390x: fix PACK reading 1 byte less and writing 1 byte more Pavel Zbitskiy
2018-08-21  7:35   ` David Hildenbrand
2018-08-21  2:51 ` [Qemu-devel] [PATCH 7/7] target/s390x: implement CVB, CVBY and CVBG Pavel Zbitskiy
2018-08-21  7:46   ` David Hildenbrand
2018-08-21  7:56 ` [Qemu-devel] [PATCH 0/7] Some improvements in z/Arch instructions support David Hildenbrand
2018-08-21  8:44   ` Cornelia Huck
2018-08-21 12:24 ` Cornelia Huck
  -- strict thread matches above, loose matches on Subject: below --
2018-08-10  3:01 Pavel Zbitskiy
2018-08-10 13:04 ` Cornelia Huck
2018-08-10 13:11 ` David Hildenbrand
2018-08-15 18:25 ` no-reply
2018-08-16  8:10   ` Cornelia Huck
2018-08-17 13:39 ` no-reply

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=20180821025104.19604-1-pavel.zbitskiy@gmail.com \
    --to=pavel.zbitskiy@gmail.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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 NNTP newsgroup(s).