[Qemu-devel] [PATCH 0/2] tcg: tcg_can_emit_vec_op cleanup+fix

Richard Henderson posted 2 patches 7 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180217164037.15727-1-richard.henderson@linaro.org
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x failed
tcg/aarch64/tcg-target.inc.c |  4 ++++
tcg/i386/tcg-target.inc.c    |  4 ++++
tcg/tcg-op-gvec.c            | 37 ++++++++++++++++++-------------------
3 files changed, 26 insertions(+), 19 deletions(-)
[Qemu-devel] [PATCH 0/2] tcg: tcg_can_emit_vec_op cleanup+fix
Posted by Richard Henderson 7 years, 8 months ago
While rearranging/rebasing my SVE patch set, I triggered an
assert in tcg_gen_mul_vec.  Turns out we should not have gone
down that path, due to a missing tcg_can_emit_vec_op check.

Tidy the usage of tcg_can_emit_vec_op to avoid code clutter.


r~


Richard Henderson (2):
  tcg: Fold unspecified opcode test into tcg_can_emit_vec_op
  tcg: Add missing tcg_can_emit_vec_op check in tcg_gen_gvec_2s

 tcg/aarch64/tcg-target.inc.c |  4 ++++
 tcg/i386/tcg-target.inc.c    |  4 ++++
 tcg/tcg-op-gvec.c            | 37 ++++++++++++++++++-------------------
 3 files changed, 26 insertions(+), 19 deletions(-)

-- 
2.14.3