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 <r...@twiddle.net> > > --- > > 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.
Applied to x86-next, thanks! -- Eduardo