mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-27 16:38:12 +08:00
sparc: Fix mistakenly cleared PSR[EF] bit.
The superfluously modified %l0 had no effect if the branch is not taken. This change clarifies the code.
This commit is contained in:
committed by
Sebastian Huber
parent
a381870518
commit
2a720f4e55
@@ -681,7 +681,7 @@ isr_dispatch:
|
|||||||
*/
|
*/
|
||||||
ld [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET], %l7
|
ld [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET], %l7
|
||||||
cmp %l6, %l7
|
cmp %l6, %l7
|
||||||
bne .Ldisable_fp
|
bne,a .Ldisable_fp
|
||||||
andn %l0, %l5, %l0
|
andn %l0, %l5, %l0
|
||||||
ba .Lthread_dispatch_done
|
ba .Lthread_dispatch_done
|
||||||
st %g0, [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET]
|
st %g0, [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET]
|
||||||
|
|||||||
Reference in New Issue
Block a user