qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.10] target/mips: remove MIPS16 ASE from 4Km
@ 2017-08-08 12:15 Philippe Mathieu-Daudé
  2017-08-08 13:48 ` Yongbok Kim
  2017-08-08 15:43 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2017-08-08 12:15 UTC (permalink / raw)
  To: Aurelien Jarno, Yongbok Kim
  Cc: Philippe Mathieu-Daudé, qemu-devel, Richard Henderson

MIPS32 4Km does not support the MIPS16 instruction set, see:
    MIPS32 4K Processor Core Family Software UM (MD00016 Rev 01.18)

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
probably incorrect copy/paste from 8d162c2b68db72623a507069fda0e35ccd1c6b85

 target/mips/translate_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/mips/translate_init.c b/target/mips/translate_init.c
index 255d25bacd..7297c8c000 100644
--- a/target/mips/translate_init.c
+++ b/target/mips/translate_init.c
@@ -149,7 +149,7 @@ static const mips_def_t mips_defs[] =
         .CP0_Status_rw_bitmask = 0x1258FF17,
         .SEGBITS = 32,
         .PABITS = 32,
-        .insn_flags = CPU_MIPS32 | ASE_MIPS16,
+        .insn_flags = CPU_MIPS32,
         .mmu_type = MMU_TYPE_FMT,
     },
     {
-- 
2.13.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-08 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 12:15 [Qemu-devel] [PATCH for-2.10] target/mips: remove MIPS16 ASE from 4Km Philippe Mathieu-Daudé
2017-08-08 13:48 ` Yongbok Kim
2017-08-08 15:43 ` Philippe Mathieu-Daudé
2017-08-08 15:45   ` Yongbok Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).