target/mips/translate: Simplify PCPYH using deposit_i64()
commitca8def9bdbf3e62ef0afd9e02a51ef536019791a
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 13 Feb 2021 00:09:57 +0000 (13 01:09 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 13 Mar 2021 22:43:17 +0000 (13 23:43 +0100)
treed8b611bbdfb7fec73315bb342922177b7948d48c
parentf9fa53f19786c82cab2e7ca0274d6d9f9bb59f4f
target/mips/translate: Simplify PCPYH using deposit_i64()

Simplify the PCPYH (Parallel Copy Halfword) instruction by using
multiple calls to deposit_i64() which can be optimized by some
TCG backends.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210214175912.732946-11-f4bug@amsat.org>
target/mips/translate.c