qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jaume Marti Farriol <jaume.martif@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v2 0/8] target-i386: x87 exception pointers using TCG.
Date: Thu, 28 Aug 2014 22:44:32 +0200	[thread overview]
Message-ID: <1409258680-15555-1-git-send-email-jaume.martif@gmail.com> (raw)

Hello,

I submit a patch to fix bugs 661696 and 1248376. 
This is the second version of this patch, this version requires less TCG operations to execute.
As mentioned in a previous email, the patch implements, for TCG, the specifications provided in Intel and AMD programmer's manuals regarding the x87 exception pointers. That is, when executing instructions fstenv/fnstenv, fsave and fxsave the values for the instruction pointer, data pointer and opcode of the last non-control x87 instruction executed, are correctly saved to the specified memory address. When executing instructions fldenv, frstor and fxrstor the values that are going to be considered the instruction pointer, data pointer and opcode of the last non-control x87 instruction are obtained from the specified memory address.

I divided this patch in 8 parts.

Best regards,
Jaume

 linux-user/signal.c      |    4 
 target-i386/cpu.h        |    9 -
 target-i386/fpu_helper.c |  218 +++++++++++++++++++++++++++++++----------
 target-i386/helper.h     |   12 +-
 target-i386/machine.c    |    2 
 target-i386/translate.c  |  202 ++++++++++++++++++++++++++++++++++++--
 tests/tcg/test-i386.c    |   66 +++++++++++-
 target-i386/translate.c    |  238 +++++++++++++++++++++++----------------------
 8 files changed, 558 insertions(+), 193 deletions(-)

             reply	other threads:[~2014-08-28 20:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28 20:44 Jaume Marti Farriol [this message]
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 1/8] target-i386: x87 exception pointers using TCG Jaume Marti Farriol
2014-08-29 22:19   ` Richard Henderson
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 2/8] " Jaume Marti Farriol
2014-08-29 22:57   ` Richard Henderson
2014-08-30 21:40     ` Jaume Martí
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 3/8] " Jaume Marti Farriol
2014-08-29 22:58   ` Richard Henderson
2014-08-30 21:42     ` Jaume Martí
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 4/8] " Jaume Marti Farriol
2014-08-29 22:59   ` Richard Henderson
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 5/8] " Jaume Marti Farriol
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 6/8] " Jaume Marti Farriol
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 7/8] " Jaume Marti Farriol
2014-08-28 20:44 ` [Qemu-devel] [PATCH v2 8/8] " Jaume Marti Farriol

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=1409258680-15555-1-git-send-email-jaume.martif@gmail.com \
    --to=jaume.martif@gmail.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).