Re: [Qemu-devel] [PATCH 13/15] target-tricore: Add instructions of SC opcode format

2014-07-08 Thread Richard Henderson
On 07/07/2014 11:13 AM, Bastian Koppelmann wrote: +env-active_tc.ICR |= (const9 0xff); /* ICR.CCPN = const9[7: 0];*/ There's no reason not to perform this AND at translation time. r~

[Qemu-devel] [PATCH 13/15] target-tricore: Add instructions of SC opcode format

2014-07-07 Thread Bastian Koppelmann
Add instructions of SC opcode format. Add makro to generate helper with 1 arg. Add micro-op generator functions for indirect loads. Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de --- target-tricore/helper.h| 2 +- target-tricore/op_helper.c | 40