diff options
| author | Richard Henderson | 2021-08-10 00:27:08 +0200 |
|---|---|---|
| committer | Richard Henderson | 2021-09-14 21:00:21 +0200 |
| commit | 90606715dc1b5de5c432afd0deac8b5c6d36eeda (patch) | |
| tree | 57ddb8f177658e23add26db054baf0447458969c /include | |
| parent | tcg/arm: Split out tcg_out_ldstm (diff) | |
| download | qemu-90606715dc1b5de5c432afd0deac8b5c6d36eeda.tar.gz qemu-90606715dc1b5de5c432afd0deac8b5c6d36eeda.tar.xz qemu-90606715dc1b5de5c432afd0deac8b5c6d36eeda.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
