From: Aurelien Jarno <aurelien@aurel32.net>
To: Petar Jovanovic <petar.jovanovic@rt-rk.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org,
petar.jovanovic@imgtec.com
Subject: Re: [Qemu-trivial] [PATCH] target-mips: add missing check_dspr2 for multiply instructions
Date: Wed, 8 May 2013 18:25:35 +0200 [thread overview]
Message-ID: <20130508162535.GN4613@ohm.aurel32.net> (raw)
In-Reply-To: <1368022144-60111-1-git-send-email-petar.jovanovic@rt-rk.com>
On Wed, May 08, 2013 at 04:09:04PM +0200, Petar Jovanovic wrote:
> From: Petar Jovanovic <petar.jovanovic@imgtec.com>
>
> The emulator needs to check in hflags if DSP unit has been turned off before
> it generates code for MUL_PH, MUL_S_PH, MULQ_S_W, and MULQ_RS_W.
>
> Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
> ---
> target-mips/translate.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target-mips/translate.c b/target-mips/translate.c
> index b7f8203..0a53203 100644
> --- a/target-mips/translate.c
> +++ b/target-mips/translate.c
> @@ -13400,6 +13400,7 @@ static void gen_mipsdsp_multiply(DisasContext *ctx, uint32_t op1, uint32_t op2,
> /* OPC_MULT_G_2E, OPC_ADDUH_QB_DSP, OPC_MUL_PH_DSP have
> * the same mask and op1. */
> case OPC_MULT_G_2E:
> + check_dspr2(ctx);
> switch (op2) {
> case OPC_MUL_PH:
> gen_helper_mul_ph(cpu_gpr[ret], v1_t, v2_t, cpu_env);
Thanks, applied.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
WARNING: multiple messages have this Message-ID (diff)
From: Aurelien Jarno <aurelien@aurel32.net>
To: Petar Jovanovic <petar.jovanovic@rt-rk.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org,
petar.jovanovic@imgtec.com
Subject: Re: [Qemu-devel] [PATCH] target-mips: add missing check_dspr2 for multiply instructions
Date: Wed, 8 May 2013 18:25:35 +0200 [thread overview]
Message-ID: <20130508162535.GN4613@ohm.aurel32.net> (raw)
In-Reply-To: <1368022144-60111-1-git-send-email-petar.jovanovic@rt-rk.com>
On Wed, May 08, 2013 at 04:09:04PM +0200, Petar Jovanovic wrote:
> From: Petar Jovanovic <petar.jovanovic@imgtec.com>
>
> The emulator needs to check in hflags if DSP unit has been turned off before
> it generates code for MUL_PH, MUL_S_PH, MULQ_S_W, and MULQ_RS_W.
>
> Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
> ---
> target-mips/translate.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/target-mips/translate.c b/target-mips/translate.c
> index b7f8203..0a53203 100644
> --- a/target-mips/translate.c
> +++ b/target-mips/translate.c
> @@ -13400,6 +13400,7 @@ static void gen_mipsdsp_multiply(DisasContext *ctx, uint32_t op1, uint32_t op2,
> /* OPC_MULT_G_2E, OPC_ADDUH_QB_DSP, OPC_MUL_PH_DSP have
> * the same mask and op1. */
> case OPC_MULT_G_2E:
> + check_dspr2(ctx);
> switch (op2) {
> case OPC_MUL_PH:
> gen_helper_mul_ph(cpu_gpr[ret], v1_t, v2_t, cpu_env);
Thanks, applied.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2013-05-08 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 14:09 [Qemu-trivial] [PATCH] target-mips: add missing check_dspr2 for multiply instructions Petar Jovanovic
2013-05-08 14:09 ` [Qemu-devel] " Petar Jovanovic
2013-05-08 16:25 ` Aurelien Jarno [this message]
2013-05-08 16:25 ` Aurelien Jarno
2013-05-09 8:32 ` [Qemu-trivial] " Michael Tokarev
2013-05-09 8:32 ` [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=20130508162535.GN4613@ohm.aurel32.net \
--to=aurelien@aurel32.net \
--cc=petar.jovanovic@imgtec.com \
--cc=petar.jovanovic@rt-rk.com \
--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.