[Qemu-devel] [PATCH v5 05/11] target-i386: exception handling for FPU instructions

2015-07-06 Thread Pavel Dovgalyuk
This patch fixes exception handling for FPU instructions. Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru --- target-i386/fpu_helper.c | 146 +- 1 files changed, 80 insertions(+), 66 deletions(-) diff --git a/target-i386/fpu_helper.c

Re: [Qemu-devel] [PATCH v5 05/11] target-i386: exception handling for FPU instructions

2015-07-06 Thread Richard Henderson
On 07/06/2015 09:26 AM, Pavel Dovgalyuk wrote: @@ -1117,33 +1131,33 @@ void helper_fxsave(CPUX86State *env, target_ulong ptr, int data64) for (i = 0; i 8; i++) { fptag |= (env-fptags[i] i); } -cpu_stw_data(env, ptr, env-fpuc); -cpu_stw_data(env, ptr + 2, fpus); -

Re: [Qemu-devel] [PATCH v5 05/11] target-i386: exception handling for FPU instructions

2015-07-06 Thread Aurelien Jarno
On 2015-07-06 11:26, Pavel Dovgalyuk wrote: This patch fixes exception handling for FPU instructions. Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru --- target-i386/fpu_helper.c | 146 +- 1 files changed, 80 insertions(+), 66

Re: [Qemu-devel] [PATCH v5 05/11] target-i386: exception handling for FPU instructions

2015-07-06 Thread Pavel Dovgaluk
From: Richard Henderson [mailto:rth7...@gmail.com] On Behalf Of Richard Henderson On 07/06/2015 09:26 AM, Pavel Dovgalyuk wrote: @@ -1117,33 +1131,33 @@ void helper_fxsave(CPUX86State *env, target_ulong ptr, int data64) for (i = 0; i 8; i++) { fptag |= (env-fptags[i]

Re: [Qemu-devel] [PATCH v5 05/11] target-i386: exception handling for FPU instructions

2015-07-06 Thread Richard Henderson
On 07/06/2015 01:42 PM, Pavel Dovgaluk wrote: From: Richard Henderson [mailto:rth7...@gmail.com] On Behalf Of Richard Henderson On 07/06/2015 09:26 AM, Pavel Dovgalyuk wrote: @@ -1117,33 +1131,33 @@ void helper_fxsave(CPUX86State *env, target_ulong ptr, int data64) for (i = 0; i 8;