target-sh4: Fix operands for fipr, ftrv instructions
commitf840fa995f88bc2bea7311f003e8de5ceb8ab276
authorStefan Weil <sw@weilnetz.de>
Thu, 5 Jan 2012 12:11:48 +0000 (5 13:11 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 7 Jan 2012 17:16:24 +0000 (7 18:16 +0100)
treea0a6908f5edea0bccd75d9f3513a1f3a03c3b32b
parente9b40fd34ceb23461083d505a444a389c094455b
target-sh4: Fix operands for fipr, ftrv instructions

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 <aurelien@aurel32.net>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/translate.c