[PATCH] D60188: [AArch64] Update v8.5a MTE instructions

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 3 02:44:13 PDT 2019


javed.absar created this revision.
javed.absar added a reviewer: DavidSpickett.
Herald added a subscriber: kristof.beyls.

The latest MTE specification adds register Xt to the   STG instruction family:

  STG [Xn, #offset] -> STG Xt, [Xn, #offset]

The tag written to memory is taken from Xt rather than Xn.

The LDG instruction also was changed to read return address  from Xt:

  LDG Xt, [Xn, #offset].

This patch includes those changes and tests.


https://reviews.llvm.org/D60188

Files:
  lib/Target/AArch64/AArch64InstrFormats.td
  test/MC/AArch64/armv8.5a-mte.s
  test/MC/Disassembler/AArch64/armv8.5a-mte.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60188.193457.patch
Type: text/x-patch
Size: 24393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190403/c8ea0d68/attachment-0001.bin>


More information about the llvm-commits mailing list