Skip to content

Commit

Permalink
[AArch64] Remove ISB after FPCR write.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilco authored and Marcus Shawcroft committed Jun 2, 2014
1 parent c95b301 commit a88dadb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
7 changes: 2 additions & 5 deletions sysdeps/aarch64/fpu/fpu_control.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a88dadb

Please sign in to comment.