diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-10-21 11:33:19 -0300 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-03 05:52:49 -0300 |
commit | 09968fc96cee3d32e03b26b916bd6195f959c3d7 (patch) | |
tree | e0c5d459319c6a9528795307e3d6c2c0dc8109fb /target/mips/mips-defs.h | |
parent | 74665884a594a12c744eb7405015b2d2e8df4621 (diff) |
target/mips: Introduce ase_3d_available() helper
Determine if the MIPS-3D ASE is implemented by checking
the state of the 3D bit in the FIR CP1 control register.
Remove the then unused ASE_MIPS3D definition.
Note, this allows using MIPS-3D on the mips64dspr2 model.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241021145832.34920-1-philmd@linaro.org>
Diffstat (limited to 'target/mips/mips-defs.h')
-rw-r--r-- | target/mips/mips-defs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/mips/mips-defs.h b/target/mips/mips-defs.h index a6cebe0265..6b5cd0d8f5 100644 --- a/target/mips/mips-defs.h +++ b/target/mips/mips-defs.h @@ -26,7 +26,6 @@ * bits 24-39: MIPS ASEs */ #define ASE_MIPS16 0x0000000001000000ULL -#define ASE_MIPS3D 0x0000000002000000ULL #define ASE_MDMX 0x0000000004000000ULL #define ASE_DSP 0x0000000008000000ULL #define ASE_DSP_R2 0x0000000010000000ULL |