Re: [Qemu-devel] [PATCH v2] target-i386: Use struct X86XSaveArea in fpu_helper.c

2016-09-12 Thread Eduardo Habkost
On Wed, Sep 07, 2016 at 09:47:07AM -0700, Richard Henderson wrote: > On 07/06/2016 01:35 PM, Richard Henderson wrote: > > This avoids a double hand-full of magic numbers in the > > xsave and xrstor helper functions. > > > > Signed-off-by: Richard Henderson > > --- > > target-i386/cpu.c|

Re: [Qemu-devel] [PATCH v2] target-i386: Use struct X86XSaveArea in fpu_helper.c

2016-09-07 Thread Richard Henderson
On 07/06/2016 01:35 PM, Richard Henderson wrote: This avoids a double hand-full of magic numbers in the xsave and xrstor helper functions. Signed-off-by: Richard Henderson --- target-i386/cpu.c| 7 ++- target-i386/cpu.h| 10 + target-i386/fpu_helper.c | 108 +

[Qemu-devel] [PATCH v2] target-i386: Use struct X86XSaveArea in fpu_helper.c

2016-07-06 Thread Richard Henderson
This avoids a double hand-full of magic numbers in the xsave and xrstor helper functions. Signed-off-by: Richard Henderson --- target-i386/cpu.c| 7 ++- target-i386/cpu.h| 10 + target-i386/fpu_helper.c | 108 ++- 3 files changed