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

2014-07-07 Thread Max Filippov
Hi Bastian, On Mon, Jul 7, 2014 at 10:13 PM, Bastian Koppelmann wrote: > Add instructions of SRC opcode format. > Add helper for sh arithmetic carry. > Add micro-op generator functions for conditional add/sub/mov and sh. > > Signed-off-by: Bastian Koppelmann > --- > target-tricore/helper.h|

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

2014-07-07 Thread Richard Henderson
On 07/07/2014 11:13 AM, Bastian Koppelmann wrote: > +target_ulong helper_shac(CPUTRICOREState *env, target_ulong r1, > +target_ulong r2) Align the r2 argument properly. > +shift_count = 0 - const6; > +cond = r1 & 0x8000; > +if (cond != 0) { > +

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

2014-07-07 Thread Bastian Koppelmann
Add instructions of SRC opcode format. Add helper for sh arithmetic carry. Add micro-op generator functions for conditional add/sub/mov and sh. Signed-off-by: Bastian Koppelmann --- target-tricore/helper.h| 19 + target-tricore/op_helper.c | 36 + target-tricore/translate.c | 1