OSDN Git Service

tcg/s390x: Use tgen_movcond_int in tgen_clz
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 24 Feb 2022 03:03:20 +0000 (03:03 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Jan 2023 23:07:07 +0000 (23:07 +0000)
commitbfff85184254e96abd53187f49c2624e40a34024
treec0c991ab18dfad31b8abb43929888b9f7312a9e3
parent0bbf0f7acf2ba47ac549d50d2f6bc443bc27411a
tcg/s390x: Use tgen_movcond_int in tgen_clz

Reuse code from movcond to conditionally copy a2 to dest,
based on the condition codes produced by FLOGR.

Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/s390x/tcg-target-con-set.h
tcg/s390x/tcg-target.c.inc