qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 639ead: target-mips: add missing check_dspr2


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 639ead: target-mips: add missing check_dspr2 for multiply ...
Date: Wed, 08 May 2013 10:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 639eadb9a32775e1c70bbf37d347972ca41128d1
      
https://github.com/qemu/qemu/commit/639eadb9a32775e1c70bbf37d347972ca41128d1
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-05-08 (Wed, 08 May 2013)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  -----------
  target-mips: add missing check_dspr2 for multiply instructions

The emulator needs to check in hflags if DSP unit has been turned off before
it generates code for MUL_PH, MUL_S_PH, MULQ_S_W, and MULQ_RS_W.

Signed-off-by: Petar Jovanovic <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: c0f5f9ce86ddca0a7d7ca60012059a5a18aa9c07
      
https://github.com/qemu/qemu/commit/c0f5f9ce86ddca0a7d7ca60012059a5a18aa9c07
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-05-08 (Wed, 08 May 2013)

  Changed paths:
    M target-mips/dsp_helper.c
    M tests/tcg/mips/mips32-dsp/insv.c

  Log Message:
  -----------
  target-mips: fix incorrect behaviour for INSV

Corner case for INSV instruction when size=32 has not been correctly
implemented. The mask for size should be one bit wider, and preparing the
filter variable should be aware of this case too.

The test for INSV has been extended to include the case that triggers the
bug.

Signed-off-by: Petar Jovanovic <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


Compare: https://github.com/qemu/qemu/compare/15d23fb96656...c0f5f9ce86dd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]