Re: [PATCH 1/5] MIPS: Optimize uasm insn lookup.
From: David Daney
Date: Fri May 26 2017 - 14:25:42 EST
On 05/26/2017 01:07 AM, Matt Redfearn wrote:
[...]
- { insn_lwx, 0, 0 },
- { insn_ldx, 0, 0 },
- { insn_invalid, 0, 0 }
+static struct insn insn_table_MM[insn_invalid] = {
^ You could make this const too, like you have the one in uasm-mips.c.
Good catch. I meant to do that.
I will fix it for the next revision of the patch set.
Thanks,
Matt