target/mips: Convert MSA LDI opcode to decodetree
[qemu.git] / target / mips / tcg / msa.decode
blobbdfe5a24cb3c887585c948ee30506825faacf694
1 # MIPS SIMD Architecture Module instruction set
3 # Copyright (C) 2020  Philippe Mathieu-Daudé
5 # SPDX-License-Identifier: LGPL-2.1-or-later
7 # Reference:
8 #       MIPS Architecture for Programmers Volume IV-j
9 #       - The MIPS32 SIMD Architecture Module, Revision 1.12
10 #         (Document Number: MD00866-2B-MSA32-AFP-01.12)
11 #       - The MIPS64 SIMD Architecture Module, Revision 1.12
12 #         (Document Number: MD00868-1D-MSA64-AFP-01.12)
14 &r                  rs rt rd sa
16 &msa_bz             df        wt sa
17 &msa_ldi            df  wd       sa
19 @lsa                ...... rs:5 rt:5 rd:5 ... sa:2 ......   &r
20 @bz_v               ...... ... ..    wt:5 sa:16             &msa_bz df=3
21 @bz                 ...... ...  df:2 wt:5 sa:16             &msa_bz
22 @ldi                ...... ... df:2 sa:s10     wd:5 ......  &msa_ldi
24 LSA                 000000 ..... ..... ..... 000 .. 000101  @lsa
25 DLSA                000000 ..... ..... ..... 000 .. 010101  @lsa
27 BZ_V                010001 01011  ..... ................    @bz_v
28 BNZ_V               010001 01111  ..... ................    @bz_v
29 BZ                  010001 110 .. ..... ................    @bz
30 BNZ                 010001 111 .. ..... ................    @bz
33   LDI               011110 110 .. ..........  ..... 000111  @ldi
35   MSA               011110 --------------------------