target/arm: Introduce PREDDESC field definitions
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 13 Jan 2021 06:26:47 +0000 (20:26 -1000)
committerSoonKyu Park <sk7.park@samsung.com>
Tue, 23 Nov 2021 04:45:27 +0000 (13:45 +0900)
commit4899c8ce99cacb940f9442defa69589f95b0e58c
tree53f4386bfcfb1beff7ea97aab4f675bf0f33d745
parent25c93b62d7b782cb8b517e0cad33c4ed52b25138
target/arm: Introduce PREDDESC field definitions

Git-commit: b64ee454a4a086ed459bcda4c0bbb54e197841e4

SVE predicate operations cannot use the "usual" simd_desc
encoding, because the lengths are not a multiple of 8.
But we were abusing the SIMD_* fields to store values anyway.
This abuse broke when SIMD_OPRSZ_BITS was modified in e2e7168a214.

Introduce a new set of field definitions for exclusive use
of predicates, so that it is obvious what kind of predicate
we are manipulating.  To be used in future patches.

Cc: qemu-stable@nongnu.org
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210113062650.593824-2-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Bruce Rogers <brogers@suse.com>
target/arm/internals.h