Module Name: src Committed By: dsl Date: Sun Feb 23 12:56:40 UTC 2014
Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: fpu.c identcpu.c x86_machdep.c Log Message: Determine whether the cpu supports xsave (and hence AVX). The result is only written to sysctl nodes at the moment. I see: machdep.fpu_save = 3 (implies xsaveopt) machdep.xsave_size = 832 machdep.xsave_features = 7 Completely common up the i386 and amd64 machdep sysctl creation. To generate a diff of this commit: cvs rdiff -u -r1.206 -r1.207 src/sys/arch/amd64/amd64/machdep.c cvs rdiff -u -r1.750 -r1.751 src/sys/arch/i386/i386/machdep.c cvs rdiff -u -r1.64 -r1.65 src/sys/arch/x86/include/cpu.h cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/fpu.c cvs rdiff -u -r1.40 -r1.41 src/sys/arch/x86/x86/identcpu.c cvs rdiff -u -r1.61 -r1.62 src/sys/arch/x86/x86/x86_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.