2020-05-07 12:59:38 +00:00
|
|
|
# AArch32 Neon instruction descriptions
|
|
|
|
#
|
|
|
|
# Copyright (c) 2020 Linaro, Ltd
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License as published by the Free Software Foundation; either
|
|
|
|
# version 2 of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Lesser General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
#
|
|
|
|
# This file is processed by scripts/decodetree.py
|
|
|
|
#
|
|
|
|
|
|
|
|
# Encodings for Neon instructions whose encoding is the same for
|
|
|
|
# both A32 and T32.
|
|
|
|
|
|
|
|
# More specifically, this covers:
|
|
|
|
# 2reg scalar ext: 0b1111_1110_xxxx_xxxx_xxxx_1x0x_xxxx_xxxx
|
|
|
|
# 3same ext: 0b1111_110x_xxxx_xxxx_xxxx_1x0x_xxxx_xxxx
|
2020-05-07 13:02:49 +00:00
|
|
|
|
|
|
|
# VFP/Neon register fields; same as vfp.decode
|
|
|
|
%vm_dp 5:1 0:4
|
|
|
|
%vm_sp 0:4 5:1
|
|
|
|
%vn_dp 7:1 16:4
|
|
|
|
%vn_sp 16:4 7:1
|
|
|
|
%vd_dp 22:1 12:4
|
|
|
|
%vd_sp 12:4 22:1
|
|
|
|
|
|
|
|
VCMLA 1111 110 rot:2 . 1 size:1 .... .... 1000 . q:1 . 0 .... \
|
2020-05-07 13:05:53 +00:00
|
|
|
vm=%vm_dp vn=%vn_dp vd=%vd_dp
|
|
|
|
|
|
|
|
VCADD 1111 110 rot:1 1 . 0 size:1 .... .... 1000 . q:1 . 0 .... \
|
|
|
|
vm=%vm_dp vn=%vn_dp vd=%vd_dp
|
2020-05-07 13:09:22 +00:00
|
|
|
|
|
|
|
# VUDOT and VSDOT
|
|
|
|
VDOT 1111 110 00 . 10 .... .... 1101 . q:1 . u:1 .... \
|
|
|
|
vm=%vm_dp vn=%vn_dp vd=%vd_dp
|