mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
tcg: Convert ctpop to TCGOutOpUnary
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
c96447d838
commit
f8fa1dae3d
24 changed files with 151 additions and 113 deletions
|
@ -60,7 +60,6 @@ extern bool use_mips32r2_instructions;
|
|||
|
||||
/* optional instructions detected at runtime */
|
||||
#define TCG_TARGET_HAS_extract2_i32 0
|
||||
#define TCG_TARGET_HAS_ctpop_i32 0
|
||||
#define TCG_TARGET_HAS_qemu_st8_i32 0
|
||||
|
||||
#if TCG_TARGET_REG_BITS == 64
|
||||
|
@ -68,7 +67,6 @@ extern bool use_mips32r2_instructions;
|
|||
#define TCG_TARGET_HAS_bswap32_i64 1
|
||||
#define TCG_TARGET_HAS_bswap64_i64 1
|
||||
#define TCG_TARGET_HAS_extract2_i64 0
|
||||
#define TCG_TARGET_HAS_ctpop_i64 0
|
||||
#endif
|
||||
|
||||
#define TCG_TARGET_HAS_qemu_ldst_i128 0
|
||||
|
|
|
@ -1734,6 +1734,10 @@ static const TCGOutOpBinary outop_clz = {
|
|||
.out_rri = tgen_clzi,
|
||||
};
|
||||
|
||||
static const TCGOutOpUnary outop_ctpop = {
|
||||
.base.static_constraint = C_NotImplemented,
|
||||
};
|
||||
|
||||
static const TCGOutOpBinary outop_ctz = {
|
||||
.base.static_constraint = C_NotImplemented,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue