target/arm: Implement v8.1M conditional-select insns
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 19 Oct 2020 15:12:54 +0000 (16:12 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 20 Oct 2020 15:12:01 +0000 (16:12 +0100)
commitcc73bbded0dfb5612b0e416f7eda13a66950542a
treedefa551bafc8f47cdc338c3c31604a5a42f48b83
parent5d2555a1fe7370feeb1efbbf276a653040910017
target/arm: Implement v8.1M conditional-select insns

v8.1M brings four new insns to M-profile:
 * CSEL  : Rd = cond ? Rn : Rm
 * CSINC : Rd = cond ? Rn : Rm+1
 * CSINV : Rd = cond ? Rn : ~Rm
 * CSNEG : Rd = cond ? Rn : -Rm

Implement these.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20201019151301.2046-4-peter.maydell@linaro.org
target/arm/t32.decode
target/arm/translate.c