HomePhabricator

[AArch64] Update v8.5a MTE LDG/STG instructions

Description

[AArch64] Update v8.5a MTE LDG/STG instructions

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.
Also, the LDG instruction also was changed to read return address from Xt:

LDG Xt, [Xn, #offset].

This patch includes those changes and tests.
Specification is at: https://developer.arm.com/docs/ddi0596/c
Differential Revision: https://reviews.llvm.org/D60188

Details

Committed
javed.absarApr 3 2019, 7:12 AM
Differential Revision
D60188: [AArch64] Update v8.5a MTE instructions
Parents
rL357582: [clang-tidy] Remove the old ClangTidyCheck::registerPPCallbacks method
Branches
Unknown
Tags
Unknown