target/arm: Use TRANS_FEAT for do_narrow_extract
commit6100d084934e8152886625a071ca6b9579ebb260
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 27 May 2022 18:19:01 +0000 (27 11:19 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 30 May 2022 16:05:11 +0000 (30 17:05 +0100)
treed04d20ada69c7e3ed20128c2a8b09b82a0543262
parente600d64980f2a2f1377ade1c055497e164ec3a61
target/arm: Use TRANS_FEAT for do_narrow_extract

Rename from do_sve2_narrow_extract and hoist the sve2
check into the TRANS_FEAT macro.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220527181907.189259-109-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-sve.c