target-tricore: Add instructions of RR1 opcode format, that have 0xb3 as first opcode
commit9655b9328a566116c198c52792775a0641d56915
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Fri, 12 Dec 2014 16:55:34 +0000 (12 16:55 +0000)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Sun, 21 Dec 2014 18:35:49 +0000 (21 18:35 +0000)
treedf2a52e29295cefed48c31b2bb885da26789d8d0
parent436d63ff3e3f87cda3e8df35827a40093cc17430
target-tricore: Add instructions of RR1 opcode format, that have 0xb3 as first opcode

Add instructions of RR1 opcode format, that have 0xb3 as first opcode.
Add helper functions mulh, mulmh and mulrh, that compute multiplication,
with multiprecision (mulmh) or rounding (mulrh) of 4 halfwords, being either low or high parts
of two 32 bit regs.

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