diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-02-02 13:04:27 +0100 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2023-02-08 09:58:24 +0100 |
commit | 48bffe7f6b65e78d84ffae0e4385af1aa935767c (patch) | |
tree | 97a9b92e47b36b1e7fc79523ea7388fee5daeff6 /tests/tcg | |
parent | fa581531ffdc94ba18da6ec0c566bece57a60a85 (diff) | |
download | qemu-48bffe7f6b65e78d84ffae0e4385af1aa935767c.zip qemu-48bffe7f6b65e78d84ffae0e4385af1aa935767c.tar.gz qemu-48bffe7f6b65e78d84ffae0e4385af1aa935767c.tar.bz2 |
target/tricore: Fix RRPW_DEXTR
if we used const16 == 0 we would crash qemu with the error:
../tcg/tcg-op.c:196: tcg_gen_shri_i32: Assertion `arg2 >= 0 && arg2 < 32' failed
This whole instruction can be handled by 'tcg_gen_extract2_tl' which
takes care of this special case as well.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20230202120432.1268-6-kbastian@mail.uni-paderborn.de>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'tests/tcg')
0 files changed, 0 insertions, 0 deletions