<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 6 Jun 2019 at 09:57, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 05/06/2019 21:22, Maksim E. Kozlov wrote:<br>
> ---<br>
> cpukit/score/cpu/sparc/cpu_asm.S | 3 ++-<br>
> 1 file changed, 2 insertions(+), 1 deletion(-)<br>
><br>
> diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S<br>
> index 2f3ad24510..69bbfb2748 100644<br>
> --- a/cpukit/score/cpu/sparc/cpu_asm.S<br>
> +++ b/cpukit/score/cpu/sparc/cpu_asm.S<br>
> @@ -682,10 +682,11 @@ isr_dispatch:<br>
> ld [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET], %l7<br>
> cmp %l6, %l7<br>
> bne .Ldisable_fp<br>
> - andn %l0, %l5, %l0<br>
> + nop<br>
<br>
Wouldn't it be sufficient to change this to<br>
<br>
bne,a .Ldisable_fp<br>
andn %l0, %l5, %l0<br>
<br>
?<br></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">Yes, you are right, this is my inattentiveness, and it is enough just to set</div><div style="font-family:monospace,monospace" class="gmail_default">an annul flag.</div><div style="font-family:monospace,monospace" class="gmail_default">If it is needed, I attached modified patch, but if you prefer, you can just add</div><div style="font-family:monospace,monospace" class="gmail_default">this flag yourself.</div><div style="font-family:monospace,monospace" class="gmail_default"></div><div style="font-family:monospace,monospace" class="gmail_default"></div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">--</div><div style="font-family:monospace,monospace" class="gmail_default">MK<br></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> ba .Lthread_dispatch_done<br>
> st %g0, [%g6 + SPARC_PER_CPU_FP_OWNER_OFFSET]<br>
> .Ldisable_fp:<br>
> + andn %l0, %l5, %l0<br>
> ba .Lthread_dispatch_done<br>
> st %l0, [%fp + ISF_PSR_OFFSET]<br>
> .Lnon_fp_thread_dispatch:<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</blockquote></div></div>