Re: [PATCH 2/7] mips: uasm: Add workaround for Loongson-2F nop CPU errata

From
Maciej W. Rozycki <macro@orcam.me.uk>
Date
2021-10-18 12:00:31
Also in
bpf, linux-mips
Reply to
Johan Almbladh, 2021-10-05
On Tue, 5 Oct 2021, Johan Almbladh wrote:
This patch implements a workaround for the Loongson-2F nop in generated,
code, if the existing option CONFIG_CPU_NOP_WORKAROUND is set. Before,
the binutils option -mfix-loongson2f-nop was enabled, but no workaround
was done when emitting MIPS code. Now, the nop pseudo instruction is
emitted as "or ax,ax,zero" instead of the default "sll zero,zero,0". This
 Confusing typo here, s/ax/at/.

  Maciej
Thread (15 messages) 15 messages, 6 authors, 2022-01-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help