Skip to content
Commit 5aadab0c authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

MIPS: Simplify DSP instruction encoding macros



Simplify the DSP instruction wrapper macros which use explicit encodings
for microMIPS and normal MIPS by using the new encoding macros and
removing duplication.

To me this makes it easier to read since it is much shorter, but it also
ensures .insn is used, preventing objdump disassembling the microMIPS
code as normal MIPS.

Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13314/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c84700cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment