OSDN Git Service

target/m68k: Avoid tcg_const_i32 in bfop_reg
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 26 Feb 2023 01:37:18 +0000 (15:37 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Mar 2023 13:44:37 +0000 (06:44 -0700)
commit7b346e4673768d41cf1fa3c4811a009b7a54b741
treed0179cd3b5f5e91acd88c7e54c5ac01d8afa4758
parentb32a07d42d49f122565c862ee732ae7cecd01333
target/m68k: Avoid tcg_const_i32 in bfop_reg

Tidy up the whole function, hoisting is_bfffo as a common test
for whether tlen and tofs needed. Use tcg_constant_i32, and load
a separate temporary for mask.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/m68k/translate.c