pub fn xsave_size_for_xcr0(xcr0: u64) -> usize
Compute the XSAVE area size needed for a given XCR0 mask. Falls back to 512 (FXSAVE) if XSAVE is not supported.