diff options
Diffstat (limited to 'tcg/arm')
-rw-r--r-- | tcg/arm/tcg-target.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/arm/tcg-target.c b/tcg/arm/tcg-target.c index 525994c9c1..8c385782da 100644 --- a/tcg/arm/tcg-target.c +++ b/tcg/arm/tcg-target.c @@ -188,6 +188,8 @@ static inline uint32_t rotl(uint32_t val, int n) right-rotated by an even amount between 0 and 30. */ static inline int encode_imm(uint32_t imm) { + int shift; + /* simple case, only lower bits */ if ((imm & ~0xff) == 0) return 0; |