Message ID | 000d01cf769a$04fd6430$0ef82c90$@com |
---|---|
State | New |
Headers | show |
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
diff --git a/sysdeps/aarch64/fpu/fpu_control.h b/sysdeps/aarch64/fpu/fpu_control.h index 6a265e8..d5a890d 100644 --- a/sysdeps/aarch64/fpu/fpu_control.h +++ b/sysdeps/aarch64/fpu/fpu_control.h @@ -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))