summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard Henderson2019-05-17 22:39:56 +0200
committerRichard Henderson2019-05-22 21:09:43 +0200
commit25c012b4009256505be3430480954a0233de343e (patch)
tree344333773fe76e2444e1430b66854bea0e8f0327 /python
parenttcg: Expand vector minmax using cmp+cmpsel (diff)
downloadqemu-25c012b4009256505be3430480954a0233de343e.tar.gz
qemu-25c012b4009256505be3430480954a0233de343e.tar.xz
qemu-25c012b4009256505be3430480954a0233de343e.zip
tcg: Add TCG_OPF_NOT_PRESENT if TCG_TARGET_HAS_foo is negative
If INDEX_op_foo is always expanded by tcg_expand_vec_op, then there may be no reasonable set of constraints to return from tcg_target_op_def for that opcode. Let TCG_TARGET_HAS_foo be specified as -1 in that case. Thus a boolean test for TCG_TARGET_HAS_foo is true, but we will not assert within process_op_defs when no constraints are specified. Compare this with tcg_can_emit_vec_op, which already uses this tri-state indication. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions