qcrypto-luks: don't overwrite cipher_mode in header
[qemu/ar7.git] / target / arm / vfp-uncond.decode
blob5af1f2ee6640d0f1812df6de12d2c7c14a6a2480
1 # AArch32 VFP instruction descriptions (unconditional insns)
3 #  Copyright (c) 2019 Linaro, Ltd
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2 of the License, or (at your option) any later version.
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, see <http://www.gnu.org/licenses/>.
19 # This file is processed by scripts/decodetree.py
21 # Encodings for the unconditional VFP instructions are here:
22 # generally anything matching A32
23 #  1111 1110 .... .... .... 101. ...0 ....
24 # and T32
25 #  1111 110. .... .... .... 101. .... ....
26 #  1111 1110 .... .... .... 101. .... ....
27 # (but those patterns might also cover some Neon instructions,
28 # which do not live in this file.)
30 # VFP registers have an odd encoding with a four-bit field
31 # and a one-bit field which are assembled in different orders
32 # depending on whether the register is double or single precision.
33 # Each individual instruction function must do the checks for
34 # "double register selected but CPU does not have double support"
35 # and "double register number has bit 4 set but CPU does not
36 # support D16-D31" (which should UNDEF).
37 %vm_dp  5:1 0:4
38 %vm_sp  0:4 5:1
39 %vn_dp  7:1 16:4
40 %vn_sp  16:4 7:1
41 %vd_dp  22:1 12:4
42 %vd_sp  12:4 22:1
44 VSEL        1111 1110 0. cc:2 .... .... 1010 .0.0 .... \
45             vm=%vm_sp vn=%vn_sp vd=%vd_sp dp=0
46 VSEL        1111 1110 0. cc:2 .... .... 1011 .0.0 .... \
47             vm=%vm_dp vn=%vn_dp vd=%vd_dp dp=1
49 VMINMAXNM   1111 1110 1.00 .... .... 1010 . op:1 .0 .... \
50             vm=%vm_sp vn=%vn_sp vd=%vd_sp dp=0
51 VMINMAXNM   1111 1110 1.00 .... .... 1011 . op:1 .0 .... \
52             vm=%vm_dp vn=%vn_dp vd=%vd_dp dp=1
54 VRINT       1111 1110 1.11 10 rm:2 .... 1010 01.0 .... \
55             vm=%vm_sp vd=%vd_sp dp=0
56 VRINT       1111 1110 1.11 10 rm:2 .... 1011 01.0 .... \
57             vm=%vm_dp vd=%vd_dp dp=1
59 # VCVT float to int with specified rounding mode; Vd is always single-precision
60 VCVT        1111 1110 1.11 11 rm:2 .... 1010 op:1 1.0 .... \
61             vm=%vm_sp vd=%vd_sp dp=0
62 VCVT        1111 1110 1.11 11 rm:2 .... 1011 op:1 1.0 .... \
63             vm=%vm_dp vd=%vd_sp dp=1