forked from qemu/qemu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mips-20241104' of https://github.com/philmd/qemu into staging
MIPS patches queue - Migrate missing CP0 TLB MemoryMapID register (Yongbok) - Enable MSA ASE for mips32r6-generic (Aleksandar) - Convert Loongson LEXT opcodes to decodetree (Philippe) - Introduce ase_3d_available and disas_mt_available helpers (Philippe) # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmcopxgACgkQ4+MsLN6t # wN4DzQ//UPDSvcwCj6QIZ2TR2oKG5JIVRYrep7aUb+LdK1uus8P2G9REMnr1X/uC # 817aiUC6fK/PJEGAo6dTCKrPnMz71YAHM2259jreQXVZtCzOEzU9Fg9RHBCrbzxP # +kL+Sjzvnw3Kp0jVB1sgNn8PhKCkIVg9Go6tr4sXyTjINzsNbk78H6w3O4YlFOSX # dbQLWDpFQQRvliiSJR5erQyELs1tVJt+76aab9mM7uWvSbpX/6O80bJ607fUFG8J # t07c5u6aOU1MaZrGE5KO6G7BQwqYE/O3lGAd1akj8UMQNxJY8lrS+4bxH9+vjJTF # ojRdTRGa2cXC1wxiifFphUNfJe2fH+Wvjtdpgnu3vdp17J0wbnJyw5PmZolS2RI6 # w9rAn1xnF2C/2HVZw37+Ghf+sdR9EgewgPAGoU1bKN4iQVE7FX1B4B6rIuq5Zxje # l2EFyFzkVWFDd+uy62o6WdH8mgwlHySxUkDeUgLLJwjupVKKvm4FCs0r8CE3g5RZ # GkHW6iOVg7QqR4OveGe3BGVK41Gex/iU7WNDWqQ2xqXDywnyFuTQVs/y2b7dPtMd # dbcQ6a/zFQl+WdhhnE5S1Y4Pjfw0TQ/+nKd+jc8lme8eihUbPvETfDLk3j0JI9xd # eXf4plnVMy33qvlLG4GVYzjYU+jNlGK1KCBcBFccFWasLo75Lyk= # =Ocl+ # -----END PGP SIGNATURE----- # gpg: Signature made Mon 04 Nov 2024 10:51:04 GMT # gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE # gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>" [full] # Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE * tag 'mips-20241104' of https://github.com/philmd/qemu: target/mips: Remove unused CPUMIPSState::current_fpu field target/mips: Introduce disas_mt_available() target/mips: Introduce ase_3d_available() helper target/mips: Remove unreachable 32-bit code on 64-bit Loongson Ext target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree target/mips: Convert Loongson DIV.G opcodes to decodetree target/mips: Convert Loongson DDIV.G opcodes to decodetree target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP target/mips: Simplify Loongson MULTU.G opcode target/mips: Extract decode_64bit_enabled() helper target/mips: Enable MSA ASE for mips32r6-generic target/mips: Migrate TLB MemoryMapID register Signed-off-by: Peter Maydell <[email protected]>
- Loading branch information
Showing
11 changed files
with
452 additions
and
339 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
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
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,27 @@ | ||
# Godson2 64-bit Integer instructions | ||
# | ||
# Copyright (C) 2021 Philippe Mathieu-Daudé | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
# | ||
# Reference: | ||
# Godson-2E Software Manual | ||
# (Document Number: godson2e-user-manual-V0.6) | ||
# | ||
|
||
&muldiv rs rt rd | ||
|
||
@rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &muldiv | ||
|
||
MULTu_G 011111 ..... ..... ..... 00000 01100- @rs_rt_rd | ||
DMULTu_G 011111 ..... ..... ..... 00000 01110- @rs_rt_rd | ||
|
||
DIV_G 011111 ..... ..... ..... 00000 011010 @rs_rt_rd | ||
DIVU_G 011111 ..... ..... ..... 00000 011011 @rs_rt_rd | ||
DDIV_G 011111 ..... ..... ..... 00000 011110 @rs_rt_rd | ||
DDIVU_G 011111 ..... ..... ..... 00000 011111 @rs_rt_rd | ||
|
||
MOD_G 011111 ..... ..... ..... 00000 100010 @rs_rt_rd | ||
MODU_G 011111 ..... ..... ..... 00000 100011 @rs_rt_rd | ||
DMOD_G 011111 ..... ..... ..... 00000 100110 @rs_rt_rd | ||
DMODU_G 011111 ..... ..... ..... 00000 100111 @rs_rt_rd |
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,28 @@ | ||
# Loongson 64-bit Extension instructions | ||
# | ||
# Copyright (C) 2021 Philippe Mathieu-Daudé | ||
# | ||
# SPDX-License-Identifier: LGPL-2.1-or-later | ||
# | ||
# Reference: | ||
# STLS2F01 User Manual | ||
# Appendix A: new integer instructions | ||
# (Document Number: UM0447) | ||
# | ||
|
||
&muldiv rs rt rd !extern | ||
|
||
@rs_rt_rd ...... rs:5 rt:5 rd:5 ..... ...... &muldiv | ||
|
||
MULTu_G 011100 ..... ..... ..... 00000 0100-0 @rs_rt_rd | ||
DMULTu_G 011100 ..... ..... ..... 00000 0100-1 @rs_rt_rd | ||
|
||
DIV_G 011100 ..... ..... ..... 00000 010100 @rs_rt_rd | ||
DDIV_G 011100 ..... ..... ..... 00000 010101 @rs_rt_rd | ||
DIVU_G 011100 ..... ..... ..... 00000 010110 @rs_rt_rd | ||
DDIVU_G 011100 ..... ..... ..... 00000 010111 @rs_rt_rd | ||
|
||
MOD_G 011100 ..... ..... ..... 00000 011100 @rs_rt_rd | ||
DMOD_G 011100 ..... ..... ..... 00000 011101 @rs_rt_rd | ||
MODU_G 011100 ..... ..... ..... 00000 011110 @rs_rt_rd | ||
DMODU_G 011100 ..... ..... ..... 00000 011111 @rs_rt_rd |
Oops, something went wrong.