[PATCH] sparc: Remove sequence that could trigger B2BST errata

Daniel Hellstrom daniel at gaisler.com
Wed Sep 19 14:13:26 UTC 2018


From: Daniel Cederman <cederman at gaisler.com>

---
 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:
-- 
2.7.4




More information about the devel mailing list