• David Daney's avatar
    MIPS: Add some instructions to uasm. · dc190129
    David Daney authored
    Follow on patches for eBPF JIT require these additional instructions:
    
       insn_bgtz, insn_blez, insn_break, insn_ddivu, insn_dmultu,
       insn_dsbh, insn_dshd, insn_dsllv, insn_dsra32, insn_dsrav,
       insn_dsrlv, insn_lbu, insn_movn, insn_movz, insn_multu, insn_nor,
       insn_sb, insn_sh, insn_slti, insn_dinsu, insn_lwu
    
    ... so, add them.
    
    Sort the insn_* enumeration values alphabetically.
    Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
    Cc: Alexei Starovoitov <ast@kernel.org>
    Cc: Daniel Borkmann <daniel@iogearbox.net>
    Cc: Matt Redfearn <matt.redfearn@imgtec.com>
    Cc: netdev@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/16367/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    dc190129
uasm.c 13.8 KB