All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: Torbjorn Granlund <tg@gmplib.org>
Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org,
	Alexander Graf <agraf@suse.de>,
	Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] PPC: Introduce 32bit only cmp ops
Date: Wed, 8 May 2013 13:16:53 +0200	[thread overview]
Message-ID: <20130508111652.GM4613@ohm.aurel32.net> (raw)
In-Reply-To: <861u9hoj4d.fsf@shell.gmplib.org>

On Wed, May 08, 2013 at 12:34:26PM +0200, Torbjorn Granlund wrote:
> Aurelien Jarno <aurelien@aurel32.net> writes:
> 
>   You have to declare the L bit as invalid, so that trying to execute a
>   64-bit cmp* instruction on a 32-bit CPU causes an invalid instruction
>   exception.
>   
> Don't people read what I write?
> 

Quoting the "IBM PowerPC Microprocessor Family: The Programming
Environments Manual for 32 and 64-bit Microprocessors":

| Note: In 32-bit implementations, if L = 1 the instruction form is invalid.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 10:06 [Qemu-devel] [PATCH] PPC: Fix cmp on 32bit only targets Alexander Graf
2013-05-08 10:06 ` [Qemu-devel] [PATCH] PPC: Add 32bit instruction flag Alexander Graf
2013-05-08 10:06 ` [Qemu-devel] [PATCH] PPC: Introduce 32bit only cmp ops Alexander Graf
2013-05-08 10:29   ` Aurelien Jarno
2013-05-08 10:33     ` Alexander Graf
2013-05-08 10:34     ` Torbjorn Granlund
2013-05-08 10:38       ` Alexander Graf
2013-05-08 11:16       ` Aurelien Jarno [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=20130508111652.GM4613@ohm.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.