]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/translate.c
target/arm: Use vector operations for saturation
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Feb 2019 09:56:41 +0000 (09:56 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Feb 2019 09:56:41 +0000 (09:56 +0000)
commit89e68b575e138d0af1435f11a8ffcd8779c237bd
treedc881e817b6907d4d9b9ee76c8c8fbb2e8df5cad
parenta4d5846245c5e029e5aa3945a9bda1de1c3fedbf
target/arm: Use vector operations for saturation

For same-sign saturation, we have tcg vector operations.  We can
compute the QC bit by comparing the saturated value against the
unsaturated value.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190209033847.9014-12-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.h
target/arm/translate-a64.c
target/arm/translate.c
target/arm/translate.h
target/arm/vec_helper.c