mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
target/arm: Implement MVE VREV16, VREV32, VREV64
Implement the MVE instructions VREV16, VREV32 and VREV64. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210617121628.20116-6-peter.maydell@linaro.org
This commit is contained in:
parent
6437f1f77c
commit
249b5309c4
4 changed files with 51 additions and 0 deletions
|
@ -270,3 +270,10 @@ DO_1OP(vclsw, 4, int32_t, clrsb32)
|
|||
DO_1OP(vclzb, 1, uint8_t, DO_CLZ_B)
|
||||
DO_1OP(vclzh, 2, uint16_t, DO_CLZ_H)
|
||||
DO_1OP(vclzw, 4, uint32_t, clz32)
|
||||
|
||||
DO_1OP(vrev16b, 2, uint16_t, bswap16)
|
||||
DO_1OP(vrev32b, 4, uint32_t, bswap32)
|
||||
DO_1OP(vrev32h, 4, uint32_t, hswap32)
|
||||
DO_1OP(vrev64b, 8, uint64_t, bswap64)
|
||||
DO_1OP(vrev64h, 8, uint64_t, hswap64)
|
||||
DO_1OP(vrev64w, 8, uint64_t, wswap64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue