Thread (14 messages) 14 messages, 6 authors, 2022-01-07

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

From: Jiaxun Yang <jiaxun.yang@flygoat.com>
Date: 2021-10-05 18:00:05
Also in: bpf, netdev


在 2021/10/5 17:54, Johan Almbladh 写道:
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
is consistent with the workaround implemented by binutils.

Link: https://sourceware.org/legacy-ml/binutils/2009-11/msg00387.html

Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Thanks!

- Jiaxun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help