aboutsummaryrefslogtreecommitdiff
path: root/ltsugar.m4
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-12-14 17:25:35 +0000
committerMatthew Wahab <matthew.wahab@arm.com>2015-12-14 17:25:35 +0000
commit65f2205d609d9c38e1a7f009d2c6833aecfb83eb (patch)
tree4f3ac6671b0835071024b57ac926c8e3e615e703 /ltsugar.m4
parent4b5fc357a17d59929cf39869d19fc4eabdb7ae81 (diff)
downloadgdb-65f2205d609d9c38e1a7f009d2c6833aecfb83eb.zip
gdb-65f2205d609d9c38e1a7f009d2c6833aecfb83eb.tar.gz
gdb-65f2205d609d9c38e1a7f009d2c6833aecfb83eb.tar.bz2
[AArch64][PATCH 10/14] Rework code mapping vector types to operand qualifiers.
ARMv8.2 adds 16-bit floating point operations as an optional extension to the floating point and Adv.SIMD support. The FP16 additions to the scalar pairwise group introduce a new vector type. This patch reworks code in the assembler to allow the addition of the new type. The new vector type requires the addtion of a new operand qualifier to the enum aarch64_opnd_qualifier which is defined include/opcodes/aarch64.h, in the group prefixed by AARCH64_OPN_QLF_V_. The correctness of the GAS utility function tc-aarch64.c:vectype_to_qualifier is heavily dependent on the number and ordering of this group. In particular, it makes assumptions about the positions of the members of the group that are not true if a qualifier for type 2H is added before the qualifier for 4H. This patch reworks the function to weaken its assumptions, making it calculate positions in the group from the type (B, H, S, D, Q) and register width. gas/ 2015-12-14 Matthew Wahab <matthew.wahab@arm.com> * config/tc-aarch64.c (vectype_to_qualifier): Calculate operand qualifier from per-type base and offet. Change-Id: I95535864e342a6dec46f69d2696b3900a008f0b1
Diffstat (limited to 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions