Re: [PATCH 2/7] mips: uasm: Add workaround for Loongson-2F nop CPU errata
From: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Date: 2021-10-18 12:18:05
Also in:
bpf, netdev
From: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Date: 2021-10-18 12:18:05
Also in:
bpf, netdev
You are right, it should say "at" here instead of "ax". The code uses the MIPS "at" register. AX is a BPF register, so this is a typo in my commit message. Thanks, Johan On Mon, Oct 18, 2021 at 2:00 PM Maciej W. Rozycki [off-list ref] wrote:
On Tue, 5 Oct 2021, Johan Almbladh wrote:quoted
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". ThisConfusing typo here, s/ax/at/. Maciej