xref: /openbmc/qemu/target/mips/tcg/godson2.decode (revision b62e82be)
1# Godson2 64-bit Integer instructions
2#
3# Copyright (C) 2021  Philippe Mathieu-Daudé
4#
5# SPDX-License-Identifier: LGPL-2.1-or-later
6#
7# Reference:
8#       Godson-2E Software Manual
9#       (Document Number: godson2e-user-manual-V0.6)
10#
11
12&muldiv         rs rt rd
13
14@rs_rt_rd       ...... rs:5  rt:5  rd:5  ..... ......   &muldiv
15
16MULTu_G         011111 ..... ..... ..... 00000 01100-   @rs_rt_rd
17DMULTu_G        011111 ..... ..... ..... 00000 01110-   @rs_rt_rd
18
19DIV_G           011111 ..... ..... ..... 00000 011010   @rs_rt_rd
20DIVU_G          011111 ..... ..... ..... 00000 011011   @rs_rt_rd
21DDIV_G          011111 ..... ..... ..... 00000 011110   @rs_rt_rd
22DDIVU_G         011111 ..... ..... ..... 00000 011111   @rs_rt_rd
23
24MOD_G           011111 ..... ..... ..... 00000 100010   @rs_rt_rd
25MODU_G          011111 ..... ..... ..... 00000 100011   @rs_rt_rd
26DMOD_G          011111 ..... ..... ..... 00000 100110   @rs_rt_rd
27DMODU_G         011111 ..... ..... ..... 00000 100111   @rs_rt_rd
28