Re: [Qemu-devel] [PATCH v2 1/9] target-sh4: use bit number for SR constants

2013-12-24 Thread Richard Henderson
On 12/22/2013 03:50 AM, Aurelien Jarno wrote: > Use the bit number for SR constants instead of using a bit mask. This > make possible to also use the constants for shifts. > > Signed-off-by: Aurelien Jarno > --- > target-sh4/cpu.c |3 +- > target-sh4/cpu.h | 30 +---

[Qemu-devel] [PATCH v2 1/9] target-sh4: use bit number for SR constants

2013-12-22 Thread Aurelien Jarno
Use the bit number for SR constants instead of using a bit mask. This make possible to also use the constants for shifts. Signed-off-by: Aurelien Jarno --- target-sh4/cpu.c |3 +- target-sh4/cpu.h | 30 +-- target-sh4/gdbstub.c |4 +-- target-sh4/helper.c