From: Richard Henderson <rth@twiddle.net>
To: Aurelien Jarno <aurelien@aurel32.net>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] tcg: add TCGMemOp short constants for single byte loads
Date: Wed, 11 Dec 2013 11:07:20 -0800 [thread overview]
Message-ID: <52A8B7E8.3090907@twiddle.net> (raw)
In-Reply-To: <1386770856-6304-1-git-send-email-aurelien@aurel32.net>
On 12/11/2013 06:07 AM, Aurelien Jarno wrote:
> Cc: Richard Henderson <rth@twiddle.net>
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
> ---
> tcg/tcg.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/tcg/tcg.h b/tcg/tcg.h
> index 0d9bd29..c83d625 100644
> --- a/tcg/tcg.h
> +++ b/tcg/tcg.h
> @@ -230,20 +230,26 @@ typedef enum TCGMemOp {
> MO_SL = MO_SIGN | MO_32,
> MO_Q = MO_64,
>
> + MO_LEUB = MO_LE | MO_UB,
> MO_LEUW = MO_LE | MO_UW,
> MO_LEUL = MO_LE | MO_UL,
> + MO_LESB = MO_LE | MO_SB,
> MO_LESW = MO_LE | MO_SW,
> MO_LESL = MO_LE | MO_SL,
> MO_LEQ = MO_LE | MO_Q,
>
If you insist, for token pasting usage. So far I've been using just MO_UB and
MO_SB for in situations where we want a 1-byte memory op, without the XE
prefix, since the endianness doesn't matter.
r~
next prev parent reply other threads:[~2013-12-11 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 14:07 [Qemu-devel] [PATCH 1/2] tcg: add TCGMemOp short constants for single byte loads Aurelien Jarno
2013-12-11 14:07 ` [Qemu-devel] [PATCH 2/2] target-mips: Use new qemu_ld/st opcodes Aurelien Jarno
2013-12-11 19:12 ` Richard Henderson
2013-12-11 19:07 ` Richard Henderson [this message]
2013-12-12 13:33 ` [Qemu-devel] [PATCH 1/2] tcg: add TCGMemOp short constants for single byte loads Aurelien Jarno
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=52A8B7E8.3090907@twiddle.net \
--to=rth@twiddle.net \
--cc=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.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.