diff options
author | Daniel Cederman <cederman@gaisler.com> | 2017-12-19 13:37:08 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2021-03-11 17:31:21 +0100 |
commit | 0cae482a454e4e554b8f391f2752eb40b5068cef (patch) | |
tree | c12430bb1d4fd33a74999d0013a4d8e849694005 /cpukit/score/cpu/sparc/syscall.S | |
parent | validation: Use common wording (diff) | |
download | rtems-0cae482a454e4e554b8f391f2752eb40b5068cef.tar.bz2 |
sparc: Remove sequences that the B2BST scan script warns about
Update #4336.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/sparc/syscall.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc/syscall.S b/cpukit/score/cpu/sparc/syscall.S index 4f4ef32c53..737a501098 100644 --- a/cpukit/score/cpu/sparc/syscall.S +++ b/cpukit/score/cpu/sparc/syscall.S @@ -218,9 +218,10 @@ SYM(syscall_lazy_fp_switch): .Lfp_save_done: /* Restore the floating point context if necessary */ + st %g0, [%l4 + %lo(SPARC_THREAD_CONTROL_REGISTERS_FP_CONTEXT_OFFSET)] cmp %l6, 0 be .Lfp_restore_done - st %g0, [%l4 + %lo(SPARC_THREAD_CONTROL_REGISTERS_FP_CONTEXT_OFFSET)] + nop ldd [%l6 + SPARC_FP_CONTEXT_OFFSET_F0_F1], %f0 ldd [%l6 + SPARC_FP_CONTEXT_OFFSET_F2_F3], %f2 ldd [%l6 + SPARC_FP_CONTEXT_OFFSET_F4_F5], %f4 |