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 16DIV_G 011111 ..... ..... ..... 00000 011010 @rs_rt_rd 17DIVU_G 011111 ..... ..... ..... 00000 011011 @rs_rt_rd 18DDIV_G 011111 ..... ..... ..... 00000 011110 @rs_rt_rd 19DDIVU_G 011111 ..... ..... ..... 00000 011111 @rs_rt_rd 20 21MOD_G 011111 ..... ..... ..... 00000 100010 @rs_rt_rd 22MODU_G 011111 ..... ..... ..... 00000 100011 @rs_rt_rd 23DMOD_G 011111 ..... ..... ..... 00000 100110 @rs_rt_rd 24DMODU_G 011111 ..... ..... ..... 00000 100111 @rs_rt_rd 25