]> xenbits.xensource.com Git - qemu-xen.git/commit
target/arm: Implement MVE VQADD and VQSUB
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Jun 2021 12:16:11 +0000 (13:16 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Jun 2021 13:58:47 +0000 (14:58 +0100)
commit39f2ec8592dd3c823034dc4decc64c7e4cc42bfd
treee0d566b654bdb3220038ee5d7a90f94e36c007ec
parent387debdb93d2635fb6d62bff38887d17ef4d8117
target/arm: Implement MVE VQADD and VQSUB

Implement the MVE VQADD and VQSUB insns, which perform saturating
addition of a scalar to each element.  Note that individual bytes of
each result element are used or discarded according to the predicate
mask, but FPSCR.QC is only set if the predicate mask for the lowest
byte of the element is set.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210617121628.20116-28-peter.maydell@linaro.org
target/arm/helper-mve.h
target/arm/mve.decode
target/arm/mve_helper.c
target/arm/translate-mve.c