target/mips: Legalize Loongson insn flags
commit8e2d5831e4b53720d4846aca9eabe3652e7192af
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sun, 14 Jun 2020 08:00:46 +0000 (14 16:00 +0800)
committerAleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Mon, 15 Jun 2020 18:31:25 +0000 (15 20:31 +0200)
tree35d0b465dad21d5a258ec018964863bfd85e457b
parent7d3660e79830a069f1848bb4fa1cdf8f666424fb
target/mips: Legalize Loongson insn flags

To match the actual status of Loongson insn, we split flags
for LMMI and LEXT from INSN_LOONGSON2F.

As Loongson-2F only implemented interger part of LEXT, we'll
not enable LEXT for the processor, but instead we're still using
INSN_LOONGSON2F as switch flag of these instructions.

All multimedia instructions have been moved to LMMI flag. Loongson-2F
and Loongson-3A are sharing these instructions.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Signed-off-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Message-Id: <20200614080049.31134-2-jiaxun.yang@flygoat.com>
target/mips/mips-defs.h
target/mips/translate.c