target-tricore: Add instructions of BO opcode format
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Fri, 26 Sep 2014 19:36:09 +0000 (20:36 +0100)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Mon, 20 Oct 2014 11:25:07 +0000 (12:25 +0100)
commit3a16ecb06355d0bfc8b547eba094ebaa44dce39f
tree12b8a1f2134b0e6cf4ce0ec71cf876a2cc38eadd
parentb74f2b5bb3b7b806a896c97386a597205055bb9e
target-tricore: Add instructions of BO opcode format

Add instructions of BO opcode format.
Add microcode generator functions gen_swap, gen_ldmst.
Add microcode generator functions gen_st/ld_preincr, which write back the address after the memory access.
Add helper for circular and bit reverse addr mode calculation.
Add sign extended bitmask for BO_OFF10 field.

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
target-tricore/tricore-opcodes.h