<?xml-stylesheet type="text/xsl" encoding="UTF-8" href="iform.xsl" version="1.0"?>
<!DOCTYPE instructionsection PUBLIC "-//ARM//DTD instructionsection //EN" "iform-p.dtd">
<!-- Copyright (c) 2010-2025 Arm Limited or its affiliates. All rights reserved. -->
<!-- This document is Non-Confidential. This document may only be used and distributed in accordance with the terms of the agreement entered into by Arm and the party that Arm delivered this document to. -->
<instructionsection id="STLUR_fpsimd" title="STLUR (SIMD&amp;FP) -- A64" type="instruction">
  <docvars>
    <docvar key="address-form" value="base-plus-offset"/>
    <docvar key="instr-class" value="fpsimd"/>
    <docvar key="isa" value="A64"/>
    <docvar key="mnemonic" value="STLUR"/>
    <docvar key="offset-type" value="off9s_u"/>
  </docvars>
  <heading>STLUR (SIMD&amp;FP)</heading>
  <desc>
    <brief>
      <para>Store-release SIMD&amp;FP register (unscaled offset)</para>
    </brief>
    <authored>
      <para>This instruction stores a single SIMD&amp;FP register to memory. The address that is used for the store is
calculated from a base register value and an optional immediate offset.</para>
      <para>The instruction has memory ordering semantics, as described in
<xref linkend="ARMARM_BEIHCHEF">Load-Acquire, Load-AcquirePC, and Store-Release</xref>.</para>
      <para>Depending on the settings in the <register_link id="AArch64-cpacr_el1.xml" state="AArch64">CPACR_EL1</register_link>,
  <register_link id="AArch64-cptr_el2.xml" state="AArch64">CPTR_EL2</register_link>, and <register_link id="AArch64-cptr_el3.xml" state="AArch64">CPTR_EL3</register_link> registers,
  and the current Security state and Exception level,
  an attempt to execute the instruction might be trapped.</para>
    </authored>
  </desc>
  <operationalnotes>
    <operationalnote>
      <operationalnote_content>
        <para>This instruction is a data-independent-time instruction as described in <xref linkend="ARMARM_BEICCDDAB3">About PSTATE.DIT</xref>.</para>
      </operationalnote_content>
    </operationalnote>
  </operationalnotes>
  <alias_list howmany="0"/>
  <classes>
    <iclass name="Unscaled offset" oneof="1" id="iclass_unscaled_offset" no_encodings="5" isa="A64">
      <docvars>
        <docvar key="address-form" value="base-plus-offset"/>
        <docvar key="instr-class" value="fpsimd"/>
        <docvar key="isa" value="A64"/>
        <docvar key="mnemonic" value="STLUR"/>
        <docvar key="offset-type" value="off9s_u"/>
      </docvars>
      <iclassintro count="5"/>
      <arch_variants>
        <arch_variant feature="FEAT_FP &amp;&amp; FEAT_LRCPC3" name="v8Ap0 &amp;&amp; v8Ap9"/>
      </arch_variants>
      <regdiagram form="32" psname="A64.ldst.ldapstl_simd.STLUR_B_ldapstl_simd" tworows="1">
        <box hibit="31" width="2" name="size" usename="1">
          <c colspan="2"/>
        </box>
        <box hibit="29" width="6" settings="6">
          <c>0</c>
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>0</c>
          <c>1</c>
        </box>
        <box hibit="23" width="2" name="opc" usename="1" settings="1" psbits="xx">
          <c>x</c>
          <c>0</c>
        </box>
        <box hibit="21" width="1" settings="1">
          <c>0</c>
        </box>
        <box hibit="20" width="9" name="imm9" usename="1">
          <c colspan="9"/>
        </box>
        <box hibit="11" width="2" settings="2">
          <c>1</c>
          <c>0</c>
        </box>
        <box hibit="9" width="5" name="Rn" usename="1">
          <c colspan="5"/>
        </box>
        <box hibit="4" width="5" name="Rt" usename="1">
          <c colspan="5"/>
        </box>
      </regdiagram>
      <encoding name="STLUR_B_ldapstl_simd" oneofinclass="5" oneof="5" label="8-bit" bitdiffs="size == 00 &amp;&amp; opc == 00">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="address-form-reg-type" value="base-plus-offset-8-fsreg"/>
          <docvar key="atomic-ops" value="STLUR-8-fsreg"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A64"/>
          <docvar key="offset-type" value="off9s_u"/>
          <docvar key="reg-type" value="8-fsreg"/>
          <docvar key="mnemonic" value="STLUR"/>
        </docvars>
        <box hibit="31" width="2" name="size">
          <c>0</c>
          <c>0</c>
        </box>
        <box hibit="23" width="2" name="opc">
          <c>0</c>
          <c/>
        </box>
        <asmtemplate><text>STLUR  </text><a hover="Is the 8-bit name of the SIMD&amp;FP register to be transferred, encoded in the &quot;Rt&quot; field." link="Bt">&lt;Bt&gt;</a><text>, [</text><a hover="Is the 64-bit name of the general-purpose base register or stack pointer, encoded in the &quot;Rn&quot; field." link="XnSP_option">&lt;Xn|SP&gt;</a><text>{, #</text><a hover="Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0 and encoded in the &quot;imm9&quot; field." link="simm">&lt;simm&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <encoding name="STLUR_H_ldapstl_simd" oneofinclass="5" oneof="5" label="16-bit" bitdiffs="size == 01 &amp;&amp; opc == 00">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="address-form-reg-type" value="base-plus-offset-16-fsreg"/>
          <docvar key="atomic-ops" value="STLUR-16-fsreg"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A64"/>
          <docvar key="offset-type" value="off9s_u"/>
          <docvar key="reg-type" value="16-fsreg"/>
          <docvar key="mnemonic" value="STLUR"/>
        </docvars>
        <box hibit="31" width="2" name="size">
          <c>0</c>
          <c>1</c>
        </box>
        <box hibit="23" width="2" name="opc">
          <c>0</c>
          <c/>
        </box>
        <asmtemplate><text>STLUR  </text><a hover="Is the 16-bit name of the SIMD&amp;FP register to be transferred, encoded in the &quot;Rt&quot; field." link="Ht">&lt;Ht&gt;</a><text>, [</text><a hover="Is the 64-bit name of the general-purpose base register or stack pointer, encoded in the &quot;Rn&quot; field." link="XnSP_option">&lt;Xn|SP&gt;</a><text>{, #</text><a hover="Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0 and encoded in the &quot;imm9&quot; field." link="simm">&lt;simm&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <encoding name="STLUR_S_ldapstl_simd" oneofinclass="5" oneof="5" label="32-bit" bitdiffs="size == 10 &amp;&amp; opc == 00">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="address-form-reg-type" value="base-plus-offset-32-fsreg"/>
          <docvar key="atomic-ops" value="STLUR-32-fsreg"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A64"/>
          <docvar key="offset-type" value="off9s_u"/>
          <docvar key="reg-type" value="32-fsreg"/>
          <docvar key="mnemonic" value="STLUR"/>
        </docvars>
        <box hibit="31" width="2" name="size">
          <c>1</c>
          <c>0</c>
        </box>
        <box hibit="23" width="2" name="opc">
          <c>0</c>
          <c/>
        </box>
        <asmtemplate><text>STLUR  </text><a hover="Is the 32-bit name of the SIMD&amp;FP register to be transferred, encoded in the &quot;Rt&quot; field." link="St">&lt;St&gt;</a><text>, [</text><a hover="Is the 64-bit name of the general-purpose base register or stack pointer, encoded in the &quot;Rn&quot; field." link="XnSP_option">&lt;Xn|SP&gt;</a><text>{, #</text><a hover="Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0 and encoded in the &quot;imm9&quot; field." link="simm">&lt;simm&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <encoding name="STLUR_D_ldapstl_simd" oneofinclass="5" oneof="5" label="64-bit" bitdiffs="size == 11 &amp;&amp; opc == 00">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="address-form-reg-type" value="base-plus-offset-64-fsreg"/>
          <docvar key="atomic-ops" value="STLUR-64-fsreg"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A64"/>
          <docvar key="offset-type" value="off9s_u"/>
          <docvar key="reg-type" value="64-fsreg"/>
          <docvar key="mnemonic" value="STLUR"/>
        </docvars>
        <box hibit="31" width="2" name="size">
          <c>1</c>
          <c>1</c>
        </box>
        <box hibit="23" width="2" name="opc">
          <c>0</c>
          <c/>
        </box>
        <asmtemplate><text>STLUR  </text><a hover="Is the 64-bit name of the SIMD&amp;FP register to be transferred, encoded in the &quot;Rt&quot; field." link="Dt">&lt;Dt&gt;</a><text>, [</text><a hover="Is the 64-bit name of the general-purpose base register or stack pointer, encoded in the &quot;Rn&quot; field." link="XnSP_option">&lt;Xn|SP&gt;</a><text>{, #</text><a hover="Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0 and encoded in the &quot;imm9&quot; field." link="simm">&lt;simm&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <encoding name="STLUR_Q_ldapstl_simd" oneofinclass="5" oneof="5" label="128-bit" bitdiffs="size == 00 &amp;&amp; opc == 10">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="address-form-reg-type" value="base-plus-offset-128-fsreg"/>
          <docvar key="atomic-ops" value="STLUR-128-fsreg"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A64"/>
          <docvar key="offset-type" value="off9s_u"/>
          <docvar key="reg-type" value="128-fsreg"/>
          <docvar key="mnemonic" value="STLUR"/>
        </docvars>
        <box hibit="31" width="2" name="size">
          <c>0</c>
          <c>0</c>
        </box>
        <box hibit="23" width="2" name="opc">
          <c>1</c>
          <c/>
        </box>
        <asmtemplate><text>STLUR  </text><a hover="Is the 128-bit name of the SIMD&amp;FP register to be transferred, encoded in the &quot;Rt&quot; field." link="Qt">&lt;Qt&gt;</a><text>, [</text><a hover="Is the 64-bit name of the general-purpose base register or stack pointer, encoded in the &quot;Rn&quot; field." link="XnSP_option">&lt;Xn|SP&gt;</a><text>{, #</text><a hover="Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0 and encoded in the &quot;imm9&quot; field." link="simm">&lt;simm&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <ps_section howmany="1">
        <ps name="A64.ldst.ldapstl_simd.STLUR_B_ldapstl_simd" sections="1" secttype="noheading">
          <pstext mayhavelinks="1" section="Decode" rep_section="decode">if !IsFeatureImplemented(FEAT_FP) || !IsFeatureImplemented(FEAT_LRCPC3) then
    EndOfDecode(Decode_UNDEF);
end;
if opc[1] == '1' &amp;&amp; size != '00' then EndOfDecode(Decode_UNDEF); end;
let scale : integer{} = if opc[1] == '1' then 4 else UInt(size);
let offset : bits(64) = SignExtend{}(imm9);</pstext></ps>
      </ps_section>
    </iclass>
  </classes>
  <explanations scope="all">
    <explanation enclist="STLUR_B_ldapstl_simd" symboldefcount="1">
      <symbol link="Bt">&lt;Bt&gt;</symbol>
      <account encodedin="Rt">
        <intro>
          <para>Is the 8-bit name of the SIMD&amp;FP register to be transferred, encoded in the "Rt" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="STLUR_B_ldapstl_simd, STLUR_H_ldapstl_simd, STLUR_S_ldapstl_simd, STLUR_D_ldapstl_simd, STLUR_Q_ldapstl_simd" symboldefcount="1">
      <symbol link="XnSP_option">&lt;Xn|SP&gt;</symbol>
      <account encodedin="Rn">
        <intro>
          <para>Is the 64-bit name of the general-purpose base register or stack pointer, encoded in the "Rn" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="STLUR_B_ldapstl_simd, STLUR_H_ldapstl_simd, STLUR_S_ldapstl_simd, STLUR_D_ldapstl_simd, STLUR_Q_ldapstl_simd" symboldefcount="1">
      <symbol link="simm">&lt;simm&gt;</symbol>
      <account encodedin="imm9">
        <intro>
          <para>Is the optional signed immediate byte offset, in the range -256 to 255, defaulting to 0 and encoded in the "imm9" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="STLUR_H_ldapstl_simd" symboldefcount="1">
      <symbol link="Ht">&lt;Ht&gt;</symbol>
      <account encodedin="Rt">
        <intro>
          <para>Is the 16-bit name of the SIMD&amp;FP register to be transferred, encoded in the "Rt" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="STLUR_S_ldapstl_simd" symboldefcount="1">
      <symbol link="St">&lt;St&gt;</symbol>
      <account encodedin="Rt">
        <intro>
          <para>Is the 32-bit name of the SIMD&amp;FP register to be transferred, encoded in the "Rt" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="STLUR_D_ldapstl_simd" symboldefcount="1">
      <symbol link="Dt">&lt;Dt&gt;</symbol>
      <account encodedin="Rt">
        <intro>
          <para>Is the 64-bit name of the SIMD&amp;FP register to be transferred, encoded in the "Rt" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="STLUR_Q_ldapstl_simd" symboldefcount="1">
      <symbol link="Qt">&lt;Qt&gt;</symbol>
      <account encodedin="Rt">
        <intro>
          <para>Is the 128-bit name of the SIMD&amp;FP register to be transferred, encoded in the "Rt" field.</para>
        </intro>
      </account>
    </explanation>
  </explanations>
  <ps_section howmany="1">
    <ps name="A64.ldst.ldapstl_simd.STLUR_B_ldapstl_simd" sections="1" secttype="Shared Decode">
      <pstext mayhavelinks="1" section="Postdecode" rep_section="postdecode">let t : integer{} = UInt(Rt);
let n : integer{} = UInt(Rn);
let datasize : integer{} = 8 &lt;&lt; scale;
let nontemporal : boolean = FALSE;
let tagchecked : boolean = n != 31;</pstext></ps>
  </ps_section>
  <ps_section howmany="1">
    <ps name="A64.ldst.ldapstl_simd.STLUR_B_ldapstl_simd" sections="1" secttype="Operation">
      <pstext mayhavelinks="1" section="Execute" rep_section="execute">AArch64_CheckFPAdvSIMDEnabled();
var address : bits(64);

let accdesc : AccessDescriptor = CreateAccDescASIMDAcqRel(MemOp_STORE, tagchecked);

if n == 31 then
    CheckSPAlignment();
    address = SP{64}();
else
    address = X{64}(n);
end;

address = AddressAdd(address, offset, accdesc);

Mem{datasize}(address, accdesc) = V{datasize}(t);</pstext></ps>
  </ps_section>
  <timestamp>2026-03-12 12:23:09</timestamp>
  <commit_id>2025-09_rel_asl1</commit_id>
</instructionsection>
