]> git.proxmox.com Git - mirror_qemu.git/commit - target-tricore/op_helper.c
target-tricore: Add instructions of RRR1 opcode format, which have 0x63 as first...
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 25 Feb 2015 11:46:55 +0000 (11:46 +0000)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Mon, 16 Mar 2015 15:44:48 +0000 (15:44 +0000)
commit62e47b2e6d17020b78a676e086bf98cfeba595b7
treee4a20e86f21a8bf3c71dfc884e4b85109ad1cec4
parentf4aef476afc4cab9bb594975401f6902a57aa9b9
target-tricore: Add instructions of RRR1 opcode format, which have 0x63 as first opcode

Add helpers:
    * msub64_q_ssov: multiply two 32 bit q-format number, sub the result from a
                     64 bit q-format number and saturate.
    * msub32_q_sub_ssov: sub two 64 bit q-format numbers and return a 32 bit
                         result.
    * msubr_q_ssov: multiply two 32 bit q-format numbers, sub the result from a 32 bit
                    q-format number and saturate.
    * msubr_q: multiply two 32 bit q-format numbers and sub the result from a 32 bit
               q-format number.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
target-tricore/helper.h
target-tricore/op_helper.c
target-tricore/translate.c
target-tricore/tricore-opcodes.h