[RFC PATCH v2 1/2] ARM: VFP: add support to sync the VFP state of the current thread

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Feb 6 06:32:49 EST 2010


On Sat, Feb 06, 2010 at 11:20:48AM +0000, Russell King - ARM Linux wrote:
> +		/*
> +		 * Save the last VFP state on this CPU.
> +		 */
> +		fmxr(FPEXC, fpexc | FPEXC_EN);
> +		vfp_save_state(&thread->vfpstate, fpexc | FPEXC_EN);
> +		fmxr(FPEXC, fpexc);

Erm, slight correction here:

+		fmxr(FPEXC, fpexc & ~FPEXC_EN);



More information about the linux-arm-kernel mailing list