Skip to content
Snippets Groups Projects
Commit f840fa99 authored by Stefan Weil's avatar Stefan Weil Committed by Aurelien Jarno
Browse files

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: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent e9b40fd3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment