Aarch64 : Remove ISB after FPCR write
Commit Message
Hi,
This patch removes ISB after FPCR writes as it is no longer required by the architecture.
OK?
Wilco
ChangeLog:
2014-05-23 Wilco <wdijkstr@arm.com>
* sysdeps/aarch64/fpu/fpu_control.h: Remove ISB after FPCR write.
---
sysdeps/aarch64/fpu/fpu_control.h | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Comments
On 23 May 2014 16:16, Wilco <wdijkstr@arm.com> wrote:
> Hi,
>
> This patch removes ISB after FPCR writes as it is no longer required by the architecture.
>
> OK?
>
> Wilco
>
> ChangeLog:
> 2014-05-23 Wilco <wdijkstr@arm.com>
>
> * sysdeps/aarch64/fpu/fpu_control.h: Remove ISB after FPCR write.
OK and committed with ChangeLog updated to say:
+ * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
+ FPCR write.
/Marcus
@@ -24,11 +24,8 @@
#define _FPU_GETCW(fpcr) \
__asm__ __volatile__ ("mrs %0, fpcr" : "=r" (fpcr))
-#define _FPU_SETCW(fpcr) \
- { \
- __asm__ __volatile__ ("msr fpcr, %0" : : "r" (fpcr)); \
- __asm__ __volatile__ ("isb"); \
- }
+#define _FPU_SETCW(fpcr) \
+ __asm__ __volatile__ ("msr fpcr, %0" : : "r" (fpcr))
#define _FPU_GETFPSR(fpsr) \
__asm__ __volatile__ ("mrs %0, fpsr" : "=r" (fpsr))