qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: TeLeMan <geleman@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH] target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957
Date: Fri, 12 Mar 2010 14:32:34 +0100	[thread overview]
Message-ID: <4B9A4272.2000102@aurel32.net> (raw)
In-Reply-To: <4B9A4003.9030908@redhat.com>

Paolo Bonzini a écrit :
> On 03/12/2010 12:38 PM, TeLeMan wrote:
>> The commit c22549204a6edc431e8e4358e61bd56386ff6957 led movntps&
>> movntdq to be translated incorrectly.
> 
> This should go on stable-0.12 too.
> 


The patch is correct, and I agree it should go to stable-0.12 too. I'll
commit it later today.

> 
>> Signed-off-by: TeLeMan<geleman@gmail.com>
>> ---
>>   target-i386/translate.c |    5 +++++
>>   1 files changed, 5 insertions(+), 0 deletions(-)
>>
>> diff --git a/target-i386/translate.c b/target-i386/translate.c
>> index 6838d53..07b0a70 100644
>> --- a/target-i386/translate.c
>> +++ b/target-i386/translate.c
>> @@ -3457,6 +3457,11 @@ static void gen_sse(DisasContext *s, int b,
>> target_ulong pc_start, int rex_r)
>>           case 0x1e7: /* movntdq */
>>           case 0x02b: /* movntps */
>>           case 0x12b: /* movntps */
>> +            if (mod == 3)
>> +                goto illegal_op;
>> +            gen_lea_modrm(s, modrm,&reg_addr,&offset_addr);
>> +            gen_sto_env_A0(s->mem_index, offsetof(CPUX86State,xmm_regs[reg]));
>> +            break;
>>           case 0x3f0: /* lddqu */
>>               if (mod == 3)
>>                   goto illegal_op;
> 
> 


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

      reply	other threads:[~2010-03-12 13:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 11:38 [Qemu-devel] [PATCH] target-i386: fix commit c22549204a6edc431e8e4358e61bd56386ff6957 TeLeMan
2010-03-12 13:22 ` [Qemu-devel] " Paolo Bonzini
2010-03-12 13:32   ` 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=4B9A4272.2000102@aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=geleman@gmail.com \
    --cc=pbonzini@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).