[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 17/19] target/arm: Add formats for some vfp 2 and 3-register
From: |
Peter Maydell |
Subject: |
Re: [PATCH 17/19] target/arm: Add formats for some vfp 2 and 3-register insns |
Date: |
Thu, 20 Feb 2020 17:40:48 +0000 |
On Fri, 14 Feb 2020 at 18:16, Richard Henderson
<address@hidden> wrote:
>
> Those vfp instructions without extra opcode fields can
> share a common @format for brevity.
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> target/arm/vfp.decode | 134 ++++++++++++++++--------------------------
> 1 file changed, 52 insertions(+), 82 deletions(-)
>
> diff --git a/target/arm/vfp.decode b/target/arm/vfp.decode
> index 592fe9e1e4..4f294f88be 100644
> --- a/target/arm/vfp.decode
> +++ b/target/arm/vfp.decode
> @@ -46,6 +46,14 @@
>
> %vmov_imm 16:4 0:4
>
> +@vfp_dnm_s ................................ vm=%vm_sp vn=%vn_sp vd=%vd_sp
> +@vfp_dnm_d ................................ vm=%vm_dp vn=%vn_dp vd=%vd_dp
> +
> +@vfp_dm_ss ................................ vm=%vm_sp vd=%vd_sp
> +@vfp_dm_dd ................................ vm=%vm_dp vd=%vd_dp
> +@vfp_dm_ds ................................ vm=%vm_sp vd=%vd_dp
> +@vfp_dm_sd ................................ vm=%vm_dp vd=%vd_sp
I'm less convinced about the ds and sd ones because there aren't
very many uses of them, and now you have to go back from the
insn line to the format line to check which way round the single
and the double are if you want to confirm that the decode is right.
But anyway
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- Re: [PATCH 13/19] target/arm: Move VLLDM and VLSTM to vfp.decode, (continued)
- [PATCH 15/19] linux-user/arm: Replace ARM_FEATURE_VFP* tests for HWCAP, Richard Henderson, 2020/02/14
- [PATCH 14/19] target/arm: Move the vfp decodetree calls next to the base isa, Richard Henderson, 2020/02/14
- [PATCH 16/19] target/arm: Remove ARM_FEATURE_VFP*, Richard Henderson, 2020/02/14
- [PATCH 18/19] target/arm: Split VFM decode, Richard Henderson, 2020/02/14
- [PATCH 17/19] target/arm: Add formats for some vfp 2 and 3-register insns, Richard Henderson, 2020/02/14
- Re: [PATCH 17/19] target/arm: Add formats for some vfp 2 and 3-register insns,
Peter Maydell <=
- [PATCH 19/19] target/arm: Split VMINMAXNM decode, Richard Henderson, 2020/02/14
- Re: [PATCH 00/19] target/arm: vfp feature and decodetree cleanup, no-reply, 2020/02/14
- Re: [PATCH 00/19] target/arm: vfp feature and decodetree cleanup, Peter Maydell, 2020/02/20