]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 15 Jun 2016 20:34:38 +0000 (21:34 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 23 Aug 2016 08:41:02 +0000 (09:41 +0100)
commite9ed6966afb5f5ea6d01cd1492bdba156b700407
tree05349a8e38368d3f4281b88f24016bc81f822085
parent07cd3a81e201316fb4419c24660ee0a0ffa5b729
[AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size

SVE supports logical immediate operations on 8-bit, 16-bit and 32-bit
elements, treating them as aliases of operations on 64-bit elements in
which the immediate is replicated.  This patch therefore replaces the
"32-bit/64-bit" input to aarch64_logical_immediate_p with a more
general "number of bytes" input.

opcodes/
* aarch64-opc.c (aarch64_logical_immediate_p): Replace is32
with an esize parameter.
(operand_general_constraint_met_p): Update accordingly.
Fix misindented code.
* aarch64-asm.c (aarch64_ins_limm): Update call to
aarch64_logical_immediate_p.

Change-Id: If8679882141d79580aa38603bc3aab90880539db
opcodes/aarch64-asm.c
opcodes/aarch64-opc.c