qemu-e2k/tcg/arm
Richard Henderson 90606715dc tcg/arm: Simplify usage of encode_imm
We have already computed the rotated value of the imm8
portion of the complete imm12 encoding.  No sense leaving
the combination of rot + rotation to the caller.

Create an encode_imm12_nofail helper that performs an assert.

This removes the final use of the local "rotl" function,
which duplicated our generic "rol32" function.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-09-14 12:00:21 -07:00
..
tcg-target-con-set.h
tcg-target-con-str.h
tcg-target.c.inc tcg/arm: Simplify usage of encode_imm 2021-09-14 12:00:21 -07:00
tcg-target.h tcg/arm: Simplify use_armv5t_instructions 2021-09-14 12:00:21 -07:00
tcg-target.opc.h