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

2014-07-08 Thread Richard Henderson
On 07/07/2014 11:13 AM, Bastian Koppelmann wrote: +static bool cdc_zero(TCState *tc) +{ +int i; +int cdc = tc-PSW MASK_PSW_CDC; +/* Returns TRUE if PSW.CDC.COUNT == 0 or if PSW.CDC == + 7'b111, otherwise returns FALSE. */ +if (cdc == 0x7f) { +return true;

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

2014-07-07 Thread Bastian Koppelmann
Add instructions of SR opcode format. Add micro-op generator functions for saturate and rsubi. Add helper return from exception (rfe). Signed-off-by: Bastian Koppelmann kbast...@mail.uni-paderborn.de --- target-tricore/helper.h| 1 + target-tricore/op_helper.c | 58 ++