qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] target-i386: Use struct X86XSaveArea in fpu_


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2] target-i386: Use struct X86XSaveArea in fpu_helper.c
Date: Wed, 7 Sep 2016 09:47:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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 <address@hidden>
---
 target-i386/cpu.c        |   7 ++-
 target-i386/cpu.h        |  10 +----
 target-i386/fpu_helper.c | 108 ++++++++++++++++++++++++++---------------------
 3 files changed, 67 insertions(+), 58 deletions(-)
---

V2: Adjust struct X86XSaveHeader so as to retain the test for 16 bytes of
zeros within xrstor.  Comment on the slight inconsistency in two sections
of the current Intel documentation.

Ping.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]