# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/10/7782583
- Thread: https://ratatoskr.run/bpf/2021/10/7781007/t.md

```text
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
```
