This modifies the helpers for instructions fstenv/fnstenv, fsave,
fxsave, fldenv, frstor and fxrstor, to store to memory and restore from
memory the x87 exception pointers.
Also it add logic that efficiently stores the values of the exception
pointers, to be used in the instructions mentioned above
This adds tests for the x87 exception pointers.
Signed-off-by: jaume.mar...@gmail.com
---
tests/tcg/test-i386.c | 75 ++-
1 file changed, 69 insertions(+), 6 deletions(-)
diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c
index b05572b..a18
This adds new fields in the CPUX86State struct to store the x87
exception pointers.
Also it adds a new enum type that encodes the operand size and the
processor operating mode (protected and real mode).
The patch also adds a new option (tcg-exception-pointers) in the
configure script to enable or
I submit a patch to fix bugs 661696 and 1248376. This is the fourth version of
this patch.
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
This adds tests for the x87 exception pointers.
Signed-off-by: jaume.mar...@gmail.com
---
tests/tcg/test-i386.c | 71 ++-
1 file changed, 65 insertions(+), 6 deletions(-)
diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c
index b05572b..bc9
This modifies the helpers for instructions fstenv/fnstenv, fsave,
fxsave, fldenv, frstor and fxrstor, to store to memory and restore from
memory the x87 exception pointers.
Also it add logic that efficiently stores the values of the exception
pointers, to be used in the instructions mentioned above
This adds new fields in the CPUX86State struct to store the x87
exception pointers.
Also it adds a new enum type that encodes the operand size and the
processor operating mode (protected and real mode).
Signed-off-by: jaume.mar...@gmail.com
---
target-i386/cpu.h | 23 +--
Hello,
I submit a patch to fix bugs 661696 and 1248376. This is the third version of
this patch.
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 inst
Hello,
This patch contains the main changes. It contains modifcations to the
target-i386/translate.c file.
Those modifications are meant to generate TCG instructions to maintain the
correct value for the variables fpop, fpip, fpdp, fpds and fpcs in the cpu
state.
Best regards,
Jaume
translat
Hello,
This patch contains changes to the tests/tcg/test-i386.c file to test the
storage of the x87 exception pointers by instructions fnstenv and fxsave.
Best regards,
Jaume
test-i386.c | 66
1 file changed, 62 insertions(+), 4 de
Hello,
This patch contains a required modification due to the change of the size from
16 bits to 32 bits of the fpop variable in the CPUX86State struct.
Best regards,
Jaume
machine.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
signed-off: jaume.mar...@gmail.com
diff --git a/targe
Hello,
This patch includes changes in the helper parameters, for the instructions
involved in saving to memory and restoring the x87 exception pointers.
The changes are to include a new parameter to indicate if the processor is
running in protected more.
Best regards,
Jaume
helper.h | 12 ++
Hello,
In this patch I just add new fields in the CPUX86State struct to store the
exception pointers.
Also I remove unnecessary parameters from cpu_x86_fsave and cpu_x86_frstor
helpers.
Best regards,
Jaume
cpu.h |9 +
1 file changed, 5 insertions(+), 4 deletions(-)
signed-off: ja
Hello,
This patch contains changes in target-i386/translate.c file to include a new
parameter in some functions containing one byte of the instruction that
together with the modrm value is used to identify the non control x87
instructions. This set of instructions are the ones that update the x
Hello,
This patch just removes an unnecessary parameter.
Best regards,
Jaume
signal.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
signed-off: jaume.mar...@gmail.com
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 1141054..73f8f6b 100644
--- a/linux-user/signal.c
+
Hello,
This patch modifies the helpers for the fpu instructions involved in saving to
memory and restoring the x87 exception pointers.
Best regards,
Jaume
fpu_helper.c | 218 ---
1 file changed, 166 insertions(+), 52 deletions(-)
signed
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 th
17 matches
Mail list logo