[rtems commit] sparc: Remove sequence that could trigger B2BST errata

Daniel Hellstrom danielh at rtems.org
Thu Sep 20 10:59:54 UTC 2018


Module:    rtems
Branch:    master
Commit:    1c34a9bd944d40d9cfdff5ef4892ab25732626cf
Changeset: http://git.rtems.org/rtems/commit/?id=1c34a9bd944d40d9cfdff5ef4892ab25732626cf

Author:    Daniel Cederman <cederman at gaisler.com>
Date:      Tue Dec 19 13:36:33 2017 +0100

sparc: Remove sequence that could trigger B2BST errata

---

 cpukit/score/cpu/sparc/syscall.S | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cpukit/score/cpu/sparc/syscall.S b/cpukit/score/cpu/sparc/syscall.S
index 574cf66..603ed7a 100644
--- a/cpukit/score/cpu/sparc/syscall.S
+++ b/cpukit/score/cpu/sparc/syscall.S
@@ -212,9 +212,7 @@ SYM(syscall_lazy_fp_switch):
 	std	%f30, [%l5 + SPARC_FP_CONTEXT_OFFSET_F30_F31]
 	SPARC_LEON3FT_B2BST_NOP
 	st	%fsr, [%l5 + SPARC_FP_CONTEXT_OFFSET_FSR]
-	SPARC_LEON3FT_B2BST_NOP
 	st	%g0, [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET]
-	SPARC_LEON3FT_B2BST_NOP
 	st	%l5, [%l7 + %lo(SPARC_THREAD_CONTROL_REGISTERS_FP_CONTEXT_OFFSET)]
 
 .Lfp_save_done:




More information about the vc mailing list