[rtems commit] sparc,leon: avoid triggering LEON3FT errata TN-0009
Daniel Hellstrom
danielh at rtems.org
Thu Mar 11 16:51:34 UTC 2021
Module: rtems
Branch: master
Commit: 89d90c00198a469a0c197e53f58d7e1cef5839f7
Changeset: http://git.rtems.org/rtems/commit/?id=89d90c00198a469a0c197e53f58d7e1cef5839f7
Author: Daniel Hellstrom <daniel at gaisler.com>
Date: Mon Nov 25 09:45:26 2019 +0100
sparc,leon: avoid triggering LEON3FT errata TN-0009
Close #4336.
---
cpukit/score/cpu/sparc/cpu_asm.S | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S
index bfad3fb..1251faa 100644
--- a/cpukit/score/cpu/sparc/cpu_asm.S
+++ b/cpukit/score/cpu/sparc/cpu_asm.S
@@ -523,8 +523,9 @@ dont_do_the_window:
* context.
*/
andcc %l0, %l5, %g0
- bne,a dont_switch_stacks
- st %fsr, [%g6 + SPARC_PER_CPU_FSR_OFFSET]
+ beq dont_switch_stacks
+ nop
+ st %fsr, [%g6 + SPARC_PER_CPU_FSR_OFFSET]
#endif
dont_switch_stacks:
More information about the vc
mailing list