kselftest/arm64: add jscvt feature to hwcap test
authorZeng Heng <zengheng4@huawei.com>
Tue, 15 Aug 2023 04:09:15 +0000 (12:09 +0800)
committerWill Deacon <will@kernel.org>
Wed, 16 Aug 2023 14:24:01 +0000 (15:24 +0100)
commitfcb0b51a5dca1f69f408dfe5fd970cf167d41538
treebaa84c38a723c88b32ed74c0836ebad863780a83
parent2c3ce0e7dd5154ffa017cd4dab3b14c09272c4a5
kselftest/arm64: add jscvt feature to hwcap test

Add the jscvt feature check in the set of hwcap tests.

Due to the requirement of jscvt feature, a compiler configuration
of v8.3 or above is needed to support assembly. Therefore, hand
encode is used here instead.

Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230815040915.3966955-5-zengheng4@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/abi/hwcap.c