From: Stefan Weil <sw@weilnetz.de>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, "Edgar E . Iglesias" <edgar.iglesias@gmail.com>
Subject: Re: [Qemu-trivial] [PATCH] cris: remove unused cris_cond15 declarations
Date: Tue, 10 Mar 2015 08:12:44 +0100 [thread overview]
Message-ID: <54FE996C.2040501@weilnetz.de> (raw)
In-Reply-To: <1425966045-13510-1-git-send-email-mjt@msgid.tls.msk.ru>
Am 10.03.2015 um 06:40 schrieb Michael Tokarev:
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
> disas/cris.c | 11 -----------
> target-cris/opcode-cris.h | 10 ----------
> 2 files changed, 21 deletions(-)
>
> diff --git a/disas/cris.c b/disas/cris.c
> index 9dfb4e3..0fc7e54 100644
> --- a/disas/cris.c
> +++ b/disas/cris.c
> @@ -1214,17 +1214,6 @@ cris_cc_strings[] =
> "wf"
> };
>
> -/* Different names and semantics for condition 1111 (0xf). */
> -const struct cris_cond15 cris_cond15s[] =
> -{
> - /* FIXME: In what version did condition "ext" disappear? */
> - {"ext", cris_ver_v0_3},
> - {"wf", cris_ver_v10},
> - {"sb", cris_ver_v32p},
> - {NULL, 0}
> -};
> -
> -
> /*
> * Local variables:
> * eval: (c-set-style "gnu")
> diff --git a/target-cris/opcode-cris.h b/target-cris/opcode-cris.h
> index 779d4aa..e7ebb98 100644
> --- a/target-cris/opcode-cris.h
> +++ b/target-cris/opcode-cris.h
> @@ -108,16 +108,6 @@ struct cris_support_reg
> };
> extern const struct cris_support_reg cris_support_regs[];
>
> -struct cris_cond15
> -{
> - /* The name of the condition. */
> - const char *const name;
> -
> - /* What CPU version this condition name applies to. */
> - enum cris_insn_version_usage applicable_version;
> -};
> -extern const struct cris_cond15 cris_conds15[];
> -
> /* Opcode-dependent constants. */
> #define AUTOINCR_BIT (0x04)
Reviewed-by: Stefan Weil <sw@weilnetz.de>
There remains a comment in disas/cris.c referring to cris_conds15. Maybe you
want to add that to your patch, too (keep my review then).
WARNING: multiple messages have this Message-ID (diff)
From: Stefan Weil <sw@weilnetz.de>
To: Michael Tokarev <mjt@tls.msk.ru>, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, "Edgar E . Iglesias" <edgar.iglesias@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] cris: remove unused cris_cond15 declarations
Date: Tue, 10 Mar 2015 08:12:44 +0100 [thread overview]
Message-ID: <54FE996C.2040501@weilnetz.de> (raw)
In-Reply-To: <1425966045-13510-1-git-send-email-mjt@msgid.tls.msk.ru>
Am 10.03.2015 um 06:40 schrieb Michael Tokarev:
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
> disas/cris.c | 11 -----------
> target-cris/opcode-cris.h | 10 ----------
> 2 files changed, 21 deletions(-)
>
> diff --git a/disas/cris.c b/disas/cris.c
> index 9dfb4e3..0fc7e54 100644
> --- a/disas/cris.c
> +++ b/disas/cris.c
> @@ -1214,17 +1214,6 @@ cris_cc_strings[] =
> "wf"
> };
>
> -/* Different names and semantics for condition 1111 (0xf). */
> -const struct cris_cond15 cris_cond15s[] =
> -{
> - /* FIXME: In what version did condition "ext" disappear? */
> - {"ext", cris_ver_v0_3},
> - {"wf", cris_ver_v10},
> - {"sb", cris_ver_v32p},
> - {NULL, 0}
> -};
> -
> -
> /*
> * Local variables:
> * eval: (c-set-style "gnu")
> diff --git a/target-cris/opcode-cris.h b/target-cris/opcode-cris.h
> index 779d4aa..e7ebb98 100644
> --- a/target-cris/opcode-cris.h
> +++ b/target-cris/opcode-cris.h
> @@ -108,16 +108,6 @@ struct cris_support_reg
> };
> extern const struct cris_support_reg cris_support_regs[];
>
> -struct cris_cond15
> -{
> - /* The name of the condition. */
> - const char *const name;
> -
> - /* What CPU version this condition name applies to. */
> - enum cris_insn_version_usage applicable_version;
> -};
> -extern const struct cris_cond15 cris_conds15[];
> -
> /* Opcode-dependent constants. */
> #define AUTOINCR_BIT (0x04)
Reviewed-by: Stefan Weil <sw@weilnetz.de>
There remains a comment in disas/cris.c referring to cris_conds15. Maybe you
want to add that to your patch, too (keep my review then).
next prev parent reply other threads:[~2015-03-10 7:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 5:40 [Qemu-trivial] [PATCH] cris: remove unused cris_cond15 declarations Michael Tokarev
2015-03-10 5:40 ` [Qemu-devel] " Michael Tokarev
2015-03-10 7:12 ` Stefan Weil [this message]
2015-03-10 7:12 ` Stefan Weil
2015-03-10 7:18 ` [Qemu-trivial] " Michael Tokarev
2015-03-10 7:18 ` [Qemu-devel] " Michael Tokarev
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=54FE996C.2040501@weilnetz.de \
--to=sw@weilnetz.de \
--cc=edgar.iglesias@gmail.com \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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.