[PATCH] D47619: [AArch64][SVE] Fix range for DUP immediates (16bit elts)

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 00:33:51 PDT 2018


sdesmalen created this revision.
sdesmalen added reviewers: rengolin, fhahn, SjoerdMeijer, samparker.
Herald added a reviewer: javed.absar.
Herald added subscribers: rkruppe, kristof.beyls, tschuett.

For immediates used in DUP instructions that have the range
-128 to 127, or a multiple of 256 in the range -32768 to 32512,
one could argue that when the result element size is 16bits (.h),
the value can be considered both signed and unsigned.


https://reviews.llvm.org/D47619

Files:
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
  test/MC/AArch64/SVE/cpy-diagnostics.s
  test/MC/AArch64/SVE/dup-diagnostics.s
  test/MC/AArch64/SVE/mov-diagnostics.s
  test/MC/AArch64/SVE/mov.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47619.149404.patch
Type: text/x-patch
Size: 13320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180601/e7f75ff8/attachment.bin>


More information about the llvm-commits mailing list