From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] qemu/target-i386 translate.c
Date: Wed, 14 Jun 2006 14:29:35 +0000 [thread overview]
Message-ID: <E1FqWND-0003wA-4K@savannah.gnu.org> (raw)
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/06/14 14:29:34
Modified files:
target-i386 : translate.c
Log message:
x86_64 mmx/sse fix
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/translate.c?cvsroot=qemu&r1=1.56&r2=1.57
Patches:
Index: translate.c
===================================================================
RCS file: /sources/qemu/qemu/target-i386/translate.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- translate.c 24 Apr 2006 20:14:56 -0000 1.56
+++ translate.c 14 Jun 2006 14:29:34 -0000 1.57
@@ -2905,6 +2905,7 @@
break;
case 0xc4: /* pinsrw */
case 0x1c4:
+ s->rip_offset = 1;
gen_ldst_modrm(s, modrm, OT_WORD, OR_TMP0, 0);
val = ldub_code(s->pc++);
if (b1) {
@@ -2975,7 +2976,8 @@
}
} else {
/* generic MMX or SSE operation */
- if (b == 0xf7) {
+ switch(b) {
+ case 0xf7:
/* maskmov : we must prepare A0 */
if (mod != 3)
goto illegal_op;
@@ -2990,6 +2992,14 @@
gen_op_andl_A0_ffff();
}
gen_add_A0_ds_seg(s);
+ break;
+ case 0x70: /* pshufx insn */
+ case 0xc6: /* pshufx insn */
+ case 0xc2: /* compare insns */
+ s->rip_offset = 1;
+ break;
+ default:
+ break;
}
if (is_xmm) {
op1_offset = offsetof(CPUX86State,xmm_regs[reg]);
next reply other threads:[~2006-06-14 14:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-14 14:29 Fabrice Bellard [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-24 13:29 [Qemu-devel] qemu/target-i386 translate.c Andrzej Zaborowski
2007-10-31 2:01 Andrzej Zaborowski
2007-06-23 18:21 Thiemo Seufer
2007-04-27 0:01 Thiemo Seufer
2006-09-03 17:09 Fabrice Bellard
2006-06-24 14:03 Fabrice Bellard
2006-04-24 20:14 Fabrice Bellard
2006-04-02 19:13 Fabrice Bellard
2006-02-04 17:40 Fabrice Bellard
2005-04-23 17:53 Fabrice Bellard
2005-04-17 19:49 Fabrice Bellard
2005-02-01 20:25 Fabrice Bellard
2005-01-23 20:46 Fabrice Bellard
2005-01-10 23:32 Fabrice Bellard
2004-12-19 23:14 Fabrice Bellard
2004-11-24 19:34 Fabrice Bellard
2003-11-19 22:08 Fabrice Bellard
2003-11-13 23:09 Fabrice Bellard
2003-11-13 2:48 Fabrice Bellard
2003-11-13 1:43 Fabrice Bellard
2003-10-30 0:39 Fabrice Bellard
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=E1FqWND-0003wA-4K@savannah.gnu.org \
--to=fabrice@bellard.org \
--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).