qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-ppc@nongnu.org
Cc: Richard Henderson <rth@twiddle.net>,
	qemu-devel@nongnu.org, Torbjorn Granlund <tg@gmplib.org>
Subject: [Qemu-devel] [PATCH 0/2] PPC: Fix cmp on 32bit only targets v2
Date: Wed,  8 May 2013 13:07:30 +0200	[thread overview]
Message-ID: <1368011252-15928-1-git-send-email-agraf@suse.de> (raw)

When running 32bit cmp instructions on a TARGET_PPC without 64bit support,
we generate incorrect comparisons. This patch set fixes this issue.

v1 -> v2:

  - treat L bit as reserved on 32bit targets

Alex

Alexander Graf (2):
  PPC: Add 32bit instruction flag
  PPC: Introduce 32bit only cmp ops

 target-ppc/cpu.h            |    5 ++-
 target-ppc/translate.c      |   20 ++++++----
 target-ppc/translate_init.c |   88 +++++++++++++++++++++---------------------
 3 files changed, 60 insertions(+), 53 deletions(-)

             reply	other threads:[~2013-05-08 11:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 11:07 Alexander Graf [this message]
2013-05-08 11:07 ` [Qemu-devel] [PATCH 1/2] PPC: Add 32bit instruction flag Alexander Graf
2013-05-08 13:26   ` Richard Henderson
2013-05-08 11:07 ` [Qemu-devel] [PATCH 2/2] PPC: Introduce 32bit only cmp ops Alexander Graf
2013-05-08 13:26   ` Richard Henderson

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=1368011252-15928-1-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=tg@gmplib.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).