]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/microblaze: Simplify compute_ldst_addr_type{a,b}
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 12 Feb 2025 21:56:32 +0000 (13:56 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 28 May 2025 07:08:47 +0000 (08:08 +0100)
commit36a9529e60e09b0d0b6b5ebad614255c97bf9322
tree2be32feae77380750c49faf2248b59cd7d645fc5
parentbd07403fc146a9bfc5312404a63f24cc48701c97
target/microblaze: Simplify compute_ldst_addr_type{a,b}

Require TCGv_i32 and TCGv be identical, so drop
the extensions.  Return constants when possible
instead of a mov into a temporary.  Return register
inputs unchanged when possible.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/translate.c