Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target/mips: Introduce decode tree bindings for MSA ASE
Introduce the 'msa32' decodetree config for the 32-bit MSA ASE. We start by decoding: - the branch instructions, - all instructions based on the MSA opcode. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20201215225757.764263-20-f4bug@amsat.org> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
- Loading branch information
Showing
4 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# MIPS SIMD Architecture Module instruction set | ||
# | ||
# Copyright (C) 2020 Philippe Mathieu-Daudé | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
# | ||
# Reference: | ||
# MIPS Architecture for Programmers Volume IV-j | ||
# The MIPS32 SIMD Architecture Module, Revision 1.12 | ||
# (Document Number: MD00866-2B-MSA32-AFP-01.12) | ||
# | ||
|
||
&msa_bz df wt s16 | ||
|
||
@bz ...... ... .. wt:5 s16:16 &msa_bz df=3 | ||
@bz_df ...... ... df:2 wt:5 s16:16 &msa_bz | ||
|
||
BZ_V 010001 01011 ..... ................ @bz | ||
BNZ_V 010001 01111 ..... ................ @bz | ||
|
||
BZ_x 010001 110 .. ..... ................ @bz_df | ||
BNZ_x 010001 111 .. ..... ................ @bz_df | ||
|
||
MSA 011110 -------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters