|
From: | Richard Henderson |
Subject: | Re: [PATCH 03/10] target/arm: Convert Neon VSHR 2-reg-shift insns to decodetree |
Date: | Fri, 15 May 2020 15:48:51 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/15/20 7:20 AM, Peter Maydell wrote: > +VSHR_S_2sh 1111 001 0 1 . ...... .... 0000 1 . . 1 .... \ > + @2reg_shift size=3 shift=%neon_rshift_i6 > +VSHR_S_2sh 1111 001 0 1 . 1 ..... .... 0000 0 . . 1 .... \ > + @2reg_shift size=2 shift=%neon_rshift_i5 > +VSHR_S_2sh 1111 001 0 1 . 01 .... .... 0000 0 . . 1 .... \ > + @2reg_shift size=1 shift=%neon_rshift_i4 > +VSHR_S_2sh 1111 001 0 1 . 001 ... .... 0000 0 . . 1 .... \ > + @2reg_shift size=0 shift=%neon_rshift_i3 It would be worth creating new @formats for each of these, since there are 9 uses of each, between this patch and the next. E.g. @2reg_shr_b .... .... ..00 1... .... .... . q:1 0. .... \ &2reg_shift vm=%vm_dp vd=%vd_dp size=0 \ shift=%neon_rshift_i3 @2reg_shr_h .... .... ..01 .... .... .... . q:1 0. .... \ &2reg_shift vm=%vm_dp vd=%vd_dp size=1 \ shift=%neon_rshift_i4 @2reg_shr_s .... .... ..1. .... .... .... . q:1 0. .... \ &2reg_shift vm=%vm_dp vd=%vd_dp size=2 \ shift=%neon_rshift_i5 @2reg_shr_d .... .... .... .... .... .... . q:1 1. .... \ &2reg_shift vm=%vm_dp vd=%vd_dp size=2 \ shift=%neon_rshift_i6 r~
[Prev in Thread] | Current Thread | [Next in Thread] |