Re: [Qemu-devel] [PATCH] target-sh4: Fix operands for fipr, ftrv instructions

2012-01-07 Thread Aurelien Jarno
On Thu, Jan 05, 2012 at 01:11:48PM +0100, Stefan Weil wrote: > Coverity complained about right shifts of opcode (16, 18) which were > larger than the size of opcode (16 bit). > > Using the correct shift values fixes this. > > Cc: Aurelien Jarno > Signed-off-by: Stefan Weil > --- > target-sh4/t

[Qemu-devel] [PATCH] target-sh4: Fix operands for fipr, ftrv instructions

2012-01-07 Thread Stefan Weil
Coverity complained about right shifts of opcode (16, 18) which were larger than the size of opcode (16 bit). Using the correct shift values fixes this. Cc: Aurelien Jarno Signed-off-by: Stefan Weil --- target-sh4/translate.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) dif