mbox series

[0/2] tcg: tcg_can_emit_vec_op cleanup+fix

Message ID 20180217164037.15727-1-richard.henderson@linaro.org
Headers show
Series tcg: tcg_can_emit_vec_op cleanup+fix | expand

Message

Richard Henderson Feb. 17, 2018, 4:40 p.m. UTC
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