diff options
Diffstat (limited to 'target/arm/tcg/translate.h')
-rw-r--r-- | target/arm/tcg/translate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/arm/tcg/translate.h b/target/arm/tcg/translate.h index f02d468..a9d1f4a 100644 --- a/target/arm/tcg/translate.h +++ b/target/arm/tcg/translate.h @@ -220,6 +220,11 @@ static inline int rsub_8(DisasContext *s, int x) return 8 - x; } +static inline int shl_12(DisasContext *s, int x) +{ + return x << 12; +} + static inline int neon_3same_fp_size(DisasContext *s, int x) { /* Convert 0==fp32, 1==fp16 into a MO_* value */ |