[AArch64] Remove ISB after FPCR write.

This commit is contained in:
Wilco 2014-06-02 12:44:21 +01:00 committed by Marcus Shawcroft
parent c95b301101
commit a88dadbed5
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2014-06-02 Wilco <wdijkstr@arm.com>
* sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
FPCR write.
2014-06-02 Wilco <wdijkstr@arm.com>
[BZ #17009]

View File

@ -25,10 +25,7 @@
__asm__ __volatile__ ("mrs %0, fpcr" : "=r" (fpcr))
#define _FPU_SETCW(fpcr) \
{ \
__asm__ __volatile__ ("msr fpcr, %0" : : "r" (fpcr)); \
__asm__ __volatile__ ("isb"); \
}
__asm__ __volatile__ ("msr fpcr, %0" : : "r" (fpcr))
#define _FPU_GETFPSR(fpsr) \
__asm__ __volatile__ ("mrs %0, fpsr" : "=r" (fpsr))