qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 487786: target-mips: fix multiplication in mi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 487786: target-mips: fix multiplication in mipsdsp_rndq15_...
Date: Sun, 28 Jul 2013 09:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 4877866ee4fbd760c943577bb6d1eba489fb6c6e
      
https://github.com/qemu/qemu/commit/4877866ee4fbd760c943577bb6d1eba489fb6c6e
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-07-28 (Sun, 28 Jul 2013)

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

  Log Message:
  -----------
  target-mips: fix multiplication in mipsdsp_rndq15_mul_q15_q15

Multiplication of Q15 fractional halfword vectors was incorrect in the
previous implementation of mipsdsp_rndq15_mul_q15_q15. It failed to take
element signs into account. This change fixes it, and it adds a test case
for it.

The change also removes unnecessary cast in the function
mipsdsp_mul_q15_q15_overflowflag21().

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




reply via email to

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