]> Git Repo - qemu.git/commit
tcg: Fix missing checks and clears in tcg_gen_gvec_dup_mem
authorRichard Henderson <[email protected]>
Thu, 16 May 2019 19:48:18 +0000 (12:48 -0700)
committerRichard Henderson <[email protected]>
Wed, 22 May 2019 19:09:43 +0000 (15:09 -0400)
commit532ba368a13712724137228b5e7e9435994d25e1
treeb21f05b89e2c6d34012993f04dce8eda529018d9
parent7b60ef3264e9627ac6efb34e9a6130647e9b55c0
tcg: Fix missing checks and clears in tcg_gen_gvec_dup_mem

The paths through tcg_gen_dup_mem_vec and through MO_128 were
missing the check_size_align.  The path through MO_128 was also
missing the expand_clr.  This last was not visible because the
only user is ARM SVE, which would set oprsz == maxsz, and not
require the clear.

Fix by adding the check_size_align and using do_dup directly
instead of duplicating the check in tcg_gen_gvec_dup_{i32,i64}.

Signed-off-by: Richard Henderson <[email protected]>
tcg/tcg-op-gvec.c
This page took 0.019517 seconds and 4 git commands to generate.