This should be usable for loongarch64 as well, rather than rolling a local copy there.
r~ Richard Henderson (2): tcg: Add gvec compare with immediate and scalar operand target/arm: Use tcg_gen_gvec_cmpi for compare vs 0 accel/tcg/tcg-runtime.h | 25 ++++++ include/tcg/tcg-op-gvec-common.h | 6 ++ accel/tcg/tcg-runtime-gvec.c | 26 ++++++ target/arm/tcg/translate.c | 56 ++---------- tcg/tcg-op-gvec.c | 150 +++++++++++++++++++++++++++++++ 5 files changed, 216 insertions(+), 47 deletions(-) -- 2.34.1