]> git.proxmox.com Git - qemu.git/commit
target-mips: set carry bit correctly in DSPControl register
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Mon, 13 May 2013 15:14:35 +0000 (17:14 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 19 May 2013 13:16:20 +0000 (15:16 +0200)
commit118d1e4f59c36078a0d76d090d4c16deace47233
treef7ef4fc563b88dfec72e3d12ab63df5ffaf6f29b
parent0ba365f4a9752a82502e829a3e8cb5f03a1ffc0c
target-mips: set carry bit correctly in DSPControl register

First we need to clear the bit and then we set the given value.
Instruction ADDSC sets the bit and instruction ADDWC uses this bit.

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/dsp_helper.c