From 5959e25729a521097856d71528504deda1e11584 Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Thu, 10 Jul 2014 12:40:09 +0100 Subject: [PATCH] arm64: fpsimd: avoid restoring fpcr if the contents haven't changed Writing to the FPCR is commonly implemented as a self-synchronising operation in the CPU, so avoid writing to the register when the saved value matches that in the hardware already. Cc: Ard Biesheuvel Reviewed-by: Lorenzo Pieralisi Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-format-patch failed