tcg: Fix out-of-line generic vector compares
commit6cb1d3b8517572031a22675280ec642972cdb395
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Apr 2018 00:53:38 +0000 (6 00:53 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Apr 2018 13:08:50 +0000 (6 23:08 +1000)
treee347a211fb9445c73284d1ca8fe2d6e1abf1a529
parent0e87fdc966d05f4e5ad868034fcd8ee2a08ca62d
tcg: Fix out-of-line generic vector compares

A mistake in the type passed to sizeof, that happens to work
when the out-of-line fallback itself is using host vectors,
but fails when using only the base types.

Tested-by: Emilio G. Cota <cota@braap.org>
Reported-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/tcg-runtime-gvec.c