mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
[AArch64] Remove ISB after FPCR write.
This commit is contained in:
parent
c95b301101
commit
a88dadbed5
@ -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>
|
2014-06-02 Wilco <wdijkstr@arm.com>
|
||||||
|
|
||||||
[BZ #17009]
|
[BZ #17009]
|
||||||
|
@ -24,11 +24,8 @@
|
|||||||
#define _FPU_GETCW(fpcr) \
|
#define _FPU_GETCW(fpcr) \
|
||||||
__asm__ __volatile__ ("mrs %0, fpcr" : "=r" (fpcr))
|
__asm__ __volatile__ ("mrs %0, fpcr" : "=r" (fpcr))
|
||||||
|
|
||||||
#define _FPU_SETCW(fpcr) \
|
#define _FPU_SETCW(fpcr) \
|
||||||
{ \
|
__asm__ __volatile__ ("msr fpcr, %0" : : "r" (fpcr))
|
||||||
__asm__ __volatile__ ("msr fpcr, %0" : : "r" (fpcr)); \
|
|
||||||
__asm__ __volatile__ ("isb"); \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define _FPU_GETFPSR(fpsr) \
|
#define _FPU_GETFPSR(fpsr) \
|
||||||
__asm__ __volatile__ ("mrs %0, fpsr" : "=r" (fpsr))
|
__asm__ __volatile__ ("mrs %0, fpsr" : "=r" (fpsr))
|
||||||
|
Loading…
Reference in New Issue
Block a user