On Tue, Oct 23, 2012 at 3:14 AM, Alexander Ivchenko <aivch...@gmail.com> wrote: > Please take a look at the attached patch. > > I changed the asm-pattern implementation according to your recomendation. > Changed the name of feature option from -mfxsave to -mfxsr, as it is in > Intel SDM. Corrected the arguments name in the headers. > > Bootstrap passes
I think you should add bit_FXSR. Also you should turn off XSAVE if OSXSAVE is off, according to Intel SDM. I think we should check OSFXSR bit for OS SSE support in driver-i386.c before enabling SSE and FXSR, similar to OSXSAVE bit. If we do that, we should enable FXSR when enabling SSE. -- H.J.