]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix vd == vm overlap in sve_ldff1_z
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 18 May 2023 09:31:43 +0000 (10:31 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 18 May 2023 14:56:51 +0000 (17:56 +0300)
commitc283a4bc7621b37fc62fd0eac1932796d2de84ab
treec8adc033c54ef3eb3362e20027181f7f1461e1ec
parentc0ad2a91914751819ddbf49d19043f9cbcbe2651
target/arm: Fix vd == vm overlap in sve_ldff1_z

If vd == vm, copy vm to scratch, so that we can pre-zero
the output and still access the gather indicies.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1612
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230504104232.1877774-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit a6771f2f5cbfbf312e2fb5b1627f38a6bf6321d0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/arm/tcg/sve_helper.c