From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Cc: patches@linaro.org, Richard Henderson <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH 1/2] cpu_ldst.h: Remove unused ldul_ macros
Date: Tue, 13 Jan 2015 20:50:42 +0100 [thread overview]
Message-ID: <54B57712.9070203@redhat.com> (raw)
In-Reply-To: <1421173921-28848-2-git-send-email-peter.maydell@linaro.org>
On 13/01/2015 19:32, Peter Maydell wrote:
> The five ldul_ macros are not used anywhere and are marked up with an XXX
> comment. "ldul" is a non-standard prefix for our family of load instructions:
> we don't mark 32-bit accesses for signedness because they return a 32 bit
> quantity. So just delete them.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> include/exec/cpu_ldst.h | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
> index e5550e7..4700831 100644
> --- a/include/exec/cpu_ldst.h
> +++ b/include/exec/cpu_ldst.h
> @@ -151,15 +151,6 @@
>
> #else
>
> -/* XXX: find something cleaner.
> - * Furthermore, this is false for 64 bits targets
> - */
> -#define ldul_user ldl_user
> -#define ldul_kernel ldl_kernel
> -#define ldul_hypv ldl_hypv
> -#define ldul_executive ldl_executive
> -#define ldul_supervisor ldl_supervisor
> -
> /* The memory helpers for tcg-generated code need tcg_target_long etc. */
> #include "tcg.h"
>
>
Trivial, even.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
next prev parent reply other threads:[~2015-01-13 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 18:31 [Qemu-devel] [PATCH 0/2] cpu_ldst.h: Minor cleanups in ld/st macros Peter Maydell
2015-01-13 18:32 ` [Qemu-devel] [PATCH 1/2] cpu_ldst.h: Remove unused ldul_ macros Peter Maydell
2015-01-13 19:50 ` Paolo Bonzini [this message]
2015-01-13 18:32 ` [Qemu-devel] [PATCH 2/2] cpu_ldst.h: Collapse laddr() and saddr() into ldst_get_host_addr() Peter Maydell
2015-01-13 19:15 ` Peter Maydell
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=54B57712.9070203@redhat.com \
--to=pbonzini@redhat.com \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.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 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.