46
Programming / Re: Building Qt5
« on: November 26, 2022, 02:34:25 pm »Thanks for the link. They are taking a trick to check for OS support (checking for and catching (if necessary) an exception). Very instructive.
When CPUID executes with EAX set to 01H:
bit27 - OSXSAVE
A value of 1 indicates that the OS has set CR4.OSXSAVE[bit 18] to enable XSETBV/XGETBV instructions to access XCR0 and to support processor extended state management using XSAVE/XRSTOR. (https://www.felixcloutier.com/x86/cpuid)
May be that is a way for R3 application.