Tag Mask Insert inserts the tag in the first source register into the excluded set specified in the second source register, writing the new excluded set to the destination register.



GMI <Xd>, <Xn|SP>, <Xm>

if !HaveMTEExt() then UNDEFINED; integer d = UInt(Xd); integer n = UInt(Xn); integer m = UInt(Xm);

Assembler Symbols


Is the 64-bit name of the general-purpose destination register, encoded in the "Xd" field.


Is the 64-bit name of the first source general-purpose register or stack pointer, encoded in the "Xn" field.


Is the 64-bit name of the second general-purpose source register, encoded in the "Xm" field.


bits(64) address = if n == 31 then SP[] else X[n]; bits(64) mask = X[m]; bits(4) tag = AArch64.AllocationTagFromAddress(address); mask<UInt(tag)> = '1'; X[d] = mask;

Internal version only: isa v33.11seprel, AdvSIMD v29.05, pseudocode v2021-09_rel, sve v2021-09_rc3d ; Build timestamp: 2021-10-06T11:41

Copyright © 2010-2021 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.