aboutsummaryrefslogtreecommitdiff
path: root/target/arm/vfp-uncond.decode
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-08-28 19:33:27 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-09-01 11:19:32 +0100
commit0a6f4b4cb338665b81ad824d9a6868932461b7f7 (patch)
tree713a4d476b82d6cc8bee752759282de4801d0392 /target/arm/vfp-uncond.decode
parent11e78fecdf2d605cfed33aa09bbcf0cc4fb95886 (diff)
downloadqemu-0a6f4b4cb338665b81ad824d9a6868932461b7f7.zip
qemu-0a6f4b4cb338665b81ad824d9a6868932461b7f7.tar.gz
qemu-0a6f4b4cb338665b81ad824d9a6868932461b7f7.tar.bz2
target/arm: Implement VFP fp16 VRINT*
Implement the fp16 version of the VFP VRINT* insns. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200828183354.27913-19-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/vfp-uncond.decode')
-rw-r--r--target/arm/vfp-uncond.decode6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/arm/vfp-uncond.decode b/target/arm/vfp-uncond.decode
index 8ba7b17..9615544 100644
--- a/target/arm/vfp-uncond.decode
+++ b/target/arm/vfp-uncond.decode
@@ -60,10 +60,12 @@ VMINNM_sp 1111 1110 1.00 .... .... 1010 .1.0 .... @vfp_dnm_s
VMAXNM_dp 1111 1110 1.00 .... .... 1011 .0.0 .... @vfp_dnm_d
VMINNM_dp 1111 1110 1.00 .... .... 1011 .1.0 .... @vfp_dnm_d
+VRINT 1111 1110 1.11 10 rm:2 .... 1001 01.0 .... \
+ vm=%vm_sp vd=%vd_sp sz=1
VRINT 1111 1110 1.11 10 rm:2 .... 1010 01.0 .... \
- vm=%vm_sp vd=%vd_sp dp=0
+ vm=%vm_sp vd=%vd_sp sz=2
VRINT 1111 1110 1.11 10 rm:2 .... 1011 01.0 .... \
- vm=%vm_dp vd=%vd_dp dp=1
+ vm=%vm_dp vd=%vd_dp sz=3
# VCVT float to int with specified rounding mode; Vd is always single-precision
VCVT 1111 1110 1.11 11 rm:2 .... 1001 op:1 1.0 .... \