<?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="VLD4_a" title="VLD4 (single 4-element structure to all lanes) -- AArch32" type="instruction">
  <docvars>
    <docvar key="instr-class" value="fpsimd"/>
    <docvar key="mnemonic" value="VLD4"/>
  </docvars>
  <heading>VLD4 (single 4-element structure to all lanes)</heading>
  <desc>
    <brief>
      <para>Load single 4-element structure and replicate to all lanes of four registers</para>
    </brief>
    <authored>
      <para>Load single 4-element structure and replicate to all lanes of four
registers loads one 4-element structure from memory into all lanes
of four registers. For details of the addressing mode, see
<xref linkend="ARMARM_Cjaefebe">Advanced SIMD addressing mode</xref>.</para>
      <para>Depending on settings in the <xref linkend="ARMARM_AArch32.cpacr">CPACR</xref>,
<xref linkend="ARMARM_AArch32.nsacr">NSACR</xref>, and
<xref linkend="ARMARM_AArch32.hcptr">HCPTR</xref> registers, and the Security
state and PE mode in which the instruction is executed, an attempt to
execute the instruction might be <arm-defined-word>UNDEFINED</arm-defined-word>, or
trapped to Hyp mode.
For more information, see <xref linkend="ARMARM_CIHIDDFF">Enabling Advanced
SIMD and floating-point support</xref>.</para>
    </authored>
    <encodingnotes>
      <para>For more information about the <arm-defined-word>CONSTRAINED UNPREDICTABLE</arm-defined-word> behavior of this instruction, see <xref linkend="ARMARM_CJAEGDJC">Architectural Constraints on UNPREDICTABLE behaviors</xref>, and particularly <xref linkend="ARMARM_CEGGCHBB">VLD4 (single 4-element structure to all lanes)</xref>.</para>
    </encodingnotes>
    <syntaxnotes>
      <para>For more information about the variants of this instruction, see <xref linkend="ARMARM_Cjaefebe">Advanced SIMD addressing mode</xref>.</para>
    </syntaxnotes>
  </desc>
  <operationalnotes>
    <operationalnote>
      <operationalnote_content>
        <para>This instruction is a data-independent-time instruction as described in <xref linkend="ARMARM_BEIIDCEG">About the DIT bit</xref>.</para>
      </operationalnote_content>
    </operationalnote>
  </operationalnotes>
  <alias_list howmany="0"/>
  <classes>
    <classesintro count="2">
      <txt>It has encodings from the following instruction sets:</txt>
      <txt> A32 (</txt>
      <a href="#iclass_a1">A1</a>
      <txt>)</txt>
      <txt> and </txt>
      <txt> T32 (</txt>
      <a href="#iclass_t1">T1</a>
      <txt>)</txt>
      <txt>.</txt>
    </classesintro>
    <iclass name="A1" oneof="2" id="iclass_a1" no_encodings="3" isa="A32">
      <docvars>
        <docvar key="armarmheading" value="A1"/>
        <docvar key="instr-class" value="fpsimd"/>
        <docvar key="isa" value="A32"/>
        <docvar key="mnemonic" value="VLD4"/>
      </docvars>
      <iclassintro count="3"/>
      <regdiagram form="32" psname="A32.uncond_as.advsimdls.ldv_ssall.VLD4_a_A1_nowb" tworows="1">
        <box hibit="31" width="9" settings="9">
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>0</c>
          <c>1</c>
          <c>0</c>
          <c>0</c>
          <c>1</c>
        </box>
        <box hibit="22" width="1" name="D" usename="1">
          <c colspan="1"/>
        </box>
        <box hibit="21" name="L" usename="1" settings="1" psbits="x">
          <c>1</c>
        </box>
        <box hibit="20" width="1" settings="1">
          <c>0</c>
        </box>
        <box hibit="19" width="4" name="Rn" usename="1">
          <c colspan="4"/>
        </box>
        <box hibit="15" width="4" name="Vd" usename="1">
          <c colspan="4"/>
        </box>
        <box hibit="11" width="2" settings="2">
          <c>1</c>
          <c>1</c>
        </box>
        <box hibit="9" width="2" name="N" usename="1" settings="2" psbits="xx">
          <c>1</c>
          <c>1</c>
        </box>
        <box hibit="7" width="2" name="size" usename="1">
          <c colspan="2"/>
        </box>
        <box hibit="5" width="1" name="T" usename="1">
          <c colspan="1"/>
        </box>
        <box hibit="4" width="1" name="a" usename="1">
          <c colspan="1"/>
        </box>
        <box hibit="3" width="4" name="Rm" usename="1">
          <c colspan="4"/>
        </box>
      </regdiagram>
      <encoding name="VLD4_a_A1_nowb" oneofinclass="3" oneof="6" label="Offset" bitdiffs="Rm == 1111">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="armarmheading" value="A1"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A32"/>
          <docvar key="mnemonic" value="VLD4"/>
        </docvars>
        <box hibit="3" width="4" name="Rm">
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>1</c>
        </box>
        <asmtemplate><text>VLD4{</text><a hover="For the &quot;A1 Offset&quot; and &quot;A1 Post-indexed&quot; variants: see x[Standard assembler syntax fields](Babbefhf). This encoding must be unconditional." link="AL_option__3">&lt;c&gt;</a><text>}{</text><a hover="See x[Standard assembler syntax fields](Babbefhf)." link="qw_option">&lt;q&gt;</a><text>}.</text><a hover="Is the data size, " link="size_option__2">&lt;size&gt;</a><text>  </text><a hover="Is a list containing the 64-bit names of four SIMD&amp;FP registers.&#10;&#10;The list must be one of:&#10;&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }&#10;: Single-spaced registers, encoded in the &quot;T&quot; field as 0.&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }&#10;: Double-spaced registers, encoded in the &quot;T&quot; field as 1.&#10;&#10;&#10;&#10;The register &lt;Dd&gt; is encoded in the &quot;D:Vd&quot; field." link="register_list__16">&lt;list&gt;</a><text>, [</text><a hover="Is the general-purpose base register, encoded in the &quot;Rn&quot; field." link="Rn__12">&lt;Rn&gt;</a><text>{:</text><a hover="Is the optional alignment.&#10;&#10;Whenever &lt;align&gt; is omitted, the standard alignment is used, see x[Unaligned data access](Chdijihg), and is encoded in the &quot;a&quot; field as 0.&#10;&#10;Whenever &lt;align&gt; is present, the permitted values and encoding depend on &lt;size&gt;:&#10;&#10;&#10;&lt;size&gt; == 8&#10;: &lt;align&gt; is 32, meaning 32-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 16&#10;: &lt;align&gt; is 64, meaning 64-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 32&#10;: &lt;align&gt; can be 64 or 128. 64-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b10, and 128-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b11.&#10;&#10;&#10;&#10;: is the preferred separator before the &lt;align&gt; value, but the alignment can be specified as @&lt;align&gt;, see x[Advanced SIMD addressing mode](Cjaefebe)." link="align__3">&lt;align&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <encoding name="VLD4_a_A1_posti" oneofinclass="3" oneof="6" label="Post-indexed" bitdiffs="Rm == 1101">
        <docvars>
          <docvar key="address-form" value="post-indexed"/>
          <docvar key="armarmheading" value="A1"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A32"/>
          <docvar key="mnemonic" value="VLD4"/>
        </docvars>
        <box hibit="3" width="4" name="Rm">
          <c>1</c>
          <c>1</c>
          <c>0</c>
          <c>1</c>
        </box>
        <asmtemplate><text>VLD4{</text><a hover="For the &quot;A1 Offset&quot; and &quot;A1 Post-indexed&quot; variants: see x[Standard assembler syntax fields](Babbefhf). This encoding must be unconditional." link="AL_option__3">&lt;c&gt;</a><text>}{</text><a hover="See x[Standard assembler syntax fields](Babbefhf)." link="qw_option">&lt;q&gt;</a><text>}.</text><a hover="Is the data size, " link="size_option__2">&lt;size&gt;</a><text>  </text><a hover="Is a list containing the 64-bit names of four SIMD&amp;FP registers.&#10;&#10;The list must be one of:&#10;&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }&#10;: Single-spaced registers, encoded in the &quot;T&quot; field as 0.&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }&#10;: Double-spaced registers, encoded in the &quot;T&quot; field as 1.&#10;&#10;&#10;&#10;The register &lt;Dd&gt; is encoded in the &quot;D:Vd&quot; field." link="register_list__16">&lt;list&gt;</a><text>, [</text><a hover="Is the general-purpose base register, encoded in the &quot;Rn&quot; field." link="Rn__12">&lt;Rn&gt;</a><text>{:</text><a hover="Is the optional alignment.&#10;&#10;Whenever &lt;align&gt; is omitted, the standard alignment is used, see x[Unaligned data access](Chdijihg), and is encoded in the &quot;a&quot; field as 0.&#10;&#10;Whenever &lt;align&gt; is present, the permitted values and encoding depend on &lt;size&gt;:&#10;&#10;&#10;&lt;size&gt; == 8&#10;: &lt;align&gt; is 32, meaning 32-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 16&#10;: &lt;align&gt; is 64, meaning 64-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 32&#10;: &lt;align&gt; can be 64 or 128. 64-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b10, and 128-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b11.&#10;&#10;&#10;&#10;: is the preferred separator before the &lt;align&gt; value, but the alignment can be specified as @&lt;align&gt;, see x[Advanced SIMD addressing mode](Cjaefebe)." link="align__3">&lt;align&gt;</a><text>}]!</text></asmtemplate>
      </encoding>
      <encoding name="VLD4_a_A1_postr" oneofinclass="3" oneof="6" label="Post-indexed" bitdiffs="Rm != 11x1">
        <docvars>
          <docvar key="address-form" value="post-indexed"/>
          <docvar key="address-offset" value="reg-offset"/>
          <docvar key="armarmheading" value="A1"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="A32"/>
          <docvar key="mnemonic" value="VLD4"/>
        </docvars>
        <box hibit="3" width="4" name="Rm">
          <c>N</c>
          <c>N</c>
          <c>Z</c>
          <c>N</c>
        </box>
        <asmtemplate><text>VLD4{</text><a hover="For the &quot;A1 Offset&quot; and &quot;A1 Post-indexed&quot; variants: see x[Standard assembler syntax fields](Babbefhf). This encoding must be unconditional." link="AL_option__3">&lt;c&gt;</a><text>}{</text><a hover="See x[Standard assembler syntax fields](Babbefhf)." link="qw_option">&lt;q&gt;</a><text>}.</text><a hover="Is the data size, " link="size_option__2">&lt;size&gt;</a><text>  </text><a hover="Is a list containing the 64-bit names of four SIMD&amp;FP registers.&#10;&#10;The list must be one of:&#10;&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }&#10;: Single-spaced registers, encoded in the &quot;T&quot; field as 0.&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }&#10;: Double-spaced registers, encoded in the &quot;T&quot; field as 1.&#10;&#10;&#10;&#10;The register &lt;Dd&gt; is encoded in the &quot;D:Vd&quot; field." link="register_list__16">&lt;list&gt;</a><text>, [</text><a hover="Is the general-purpose base register, encoded in the &quot;Rn&quot; field." link="Rn__12">&lt;Rn&gt;</a><text>{:</text><a hover="Is the optional alignment.&#10;&#10;Whenever &lt;align&gt; is omitted, the standard alignment is used, see x[Unaligned data access](Chdijihg), and is encoded in the &quot;a&quot; field as 0.&#10;&#10;Whenever &lt;align&gt; is present, the permitted values and encoding depend on &lt;size&gt;:&#10;&#10;&#10;&lt;size&gt; == 8&#10;: &lt;align&gt; is 32, meaning 32-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 16&#10;: &lt;align&gt; is 64, meaning 64-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 32&#10;: &lt;align&gt; can be 64 or 128. 64-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b10, and 128-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b11.&#10;&#10;&#10;&#10;: is the preferred separator before the &lt;align&gt; value, but the alignment can be specified as @&lt;align&gt;, see x[Advanced SIMD addressing mode](Cjaefebe)." link="align__3">&lt;align&gt;</a><text>}], </text><a hover="Is the general-purpose index register containing an offset applied after the access, encoded in the &quot;Rm&quot; field." link="Rm__18">&lt;Rm&gt;</a></asmtemplate>
      </encoding>
      <ps_section howmany="1">
        <ps name="A32.uncond_as.advsimdls.ldv_ssall.VLD4_a_A1_nowb" sections="1" secttype="noheading">
          <pstext mayhavelinks="1" section="Decode" rep_section="decode">if size == '11' &amp;&amp; a == '0' then Undefined(); end;
let ebytes : integer{} = if size == '11' then 4 else 1 &lt;&lt; UInt(size);
let alignment : integer{} = (if a == '0' &amp;&amp; size != '11' then 1
                              else 4 &lt;&lt; (UInt(size[1]) + UInt(size[0])));
let inc : integer = if T == '0' then 1 else 2;
let d : integer = UInt(D::Vd);
let d2 : integer = d + inc;
let d3 : integer = d2 + inc;
let d4 : integer = d3 + inc;
let n : integer = UInt(Rn);
let m : integer = UInt(Rm);
let wback : boolean = (m != 15);
let register_index : boolean = (m != 15 &amp;&amp; m != 13);
if n == 15 || d4 &gt; 31 then UnpredictableProcedure(); end;</pstext></ps>
      </ps_section>
      <constrained_unpredictables encoding="A1" ps_block="Decode">
        <cu_case>
          <cu_cause>
            <pstext mayhavelinks="1">d4 &gt; 31</pstext></cu_cause>
          <cu_type constraint="Constraint_UNDEF"/>
          <cu_type constraint="Constraint_NOP"/>
          <cu_type>
            <cu_type_text>One or more of the SIMD and floating-point registers are UNKNOWN. If the instruction specifies writeback, the base register becomes UNKNOWN. This behavior does not affect any general-purpose registers.</cu_type_text>
          </cu_type>
        </cu_case>
      </constrained_unpredictables>
    </iclass>
    <iclass name="T1" oneof="2" id="iclass_t1" no_encodings="3" isa="T32">
      <docvars>
        <docvar key="armarmheading" value="T1"/>
        <docvar key="instr-class" value="fpsimd"/>
        <docvar key="isa" value="T32"/>
        <docvar key="mnemonic" value="VLD4"/>
      </docvars>
      <iclassintro count="3"/>
      <regdiagram form="16x2" psname="T32.w.vldst.asimldall.VLD4_a_T1_nowb" tworows="1">
        <box hibit="31" width="9" settings="9">
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>0</c>
          <c>0</c>
          <c>1</c>
          <c>1</c>
        </box>
        <box hibit="22" width="1" name="D" usename="1">
          <c colspan="1"/>
        </box>
        <box hibit="21" name="L" usename="1" settings="1" psbits="x">
          <c>1</c>
        </box>
        <box hibit="20" width="1" settings="1">
          <c>0</c>
        </box>
        <box hibit="19" width="4" name="Rn" usename="1">
          <c colspan="4"/>
        </box>
        <box hibit="15" width="4" name="Vd" usename="1">
          <c colspan="4"/>
        </box>
        <box hibit="11" width="2" settings="2">
          <c>1</c>
          <c>1</c>
        </box>
        <box hibit="9" width="2" name="N" usename="1" settings="2" psbits="xx">
          <c>1</c>
          <c>1</c>
        </box>
        <box hibit="7" width="2" name="size" usename="1">
          <c colspan="2"/>
        </box>
        <box hibit="5" width="1" name="T" usename="1">
          <c colspan="1"/>
        </box>
        <box hibit="4" width="1" name="a" usename="1">
          <c colspan="1"/>
        </box>
        <box hibit="3" width="4" name="Rm" usename="1">
          <c colspan="4"/>
        </box>
      </regdiagram>
      <encoding name="VLD4_a_T1_nowb" oneofinclass="3" oneof="6" label="Offset" bitdiffs="Rm == 1111">
        <docvars>
          <docvar key="address-form" value="base-plus-offset"/>
          <docvar key="armarmheading" value="T1"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="T32"/>
          <docvar key="mnemonic" value="VLD4"/>
        </docvars>
        <box hibit="3" width="4" name="Rm">
          <c>1</c>
          <c>1</c>
          <c>1</c>
          <c>1</c>
        </box>
        <asmtemplate><text>VLD4{</text><a hover="For the &quot;T1 Offset&quot; and &quot;T1 Post-indexed&quot; variants: see x[Standard assembler syntax fields](Babbefhf)." link="AL_option__6">&lt;c&gt;</a><text>}{</text><a hover="See x[Standard assembler syntax fields](Babbefhf)." link="qw_option">&lt;q&gt;</a><text>}.</text><a hover="Is the data size, " link="size_option__2">&lt;size&gt;</a><text>  </text><a hover="Is a list containing the 64-bit names of four SIMD&amp;FP registers.&#10;&#10;The list must be one of:&#10;&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }&#10;: Single-spaced registers, encoded in the &quot;T&quot; field as 0.&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }&#10;: Double-spaced registers, encoded in the &quot;T&quot; field as 1.&#10;&#10;&#10;&#10;The register &lt;Dd&gt; is encoded in the &quot;D:Vd&quot; field." link="register_list__16">&lt;list&gt;</a><text>, [</text><a hover="Is the general-purpose base register, encoded in the &quot;Rn&quot; field." link="Rn__12">&lt;Rn&gt;</a><text>{:</text><a hover="Is the optional alignment.&#10;&#10;Whenever &lt;align&gt; is omitted, the standard alignment is used, see x[Unaligned data access](Chdijihg), and is encoded in the &quot;a&quot; field as 0.&#10;&#10;Whenever &lt;align&gt; is present, the permitted values and encoding depend on &lt;size&gt;:&#10;&#10;&#10;&lt;size&gt; == 8&#10;: &lt;align&gt; is 32, meaning 32-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 16&#10;: &lt;align&gt; is 64, meaning 64-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 32&#10;: &lt;align&gt; can be 64 or 128. 64-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b10, and 128-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b11.&#10;&#10;&#10;&#10;: is the preferred separator before the &lt;align&gt; value, but the alignment can be specified as @&lt;align&gt;, see x[Advanced SIMD addressing mode](Cjaefebe)." link="align__3">&lt;align&gt;</a><text>}]</text></asmtemplate>
      </encoding>
      <encoding name="VLD4_a_T1_posti" oneofinclass="3" oneof="6" label="Post-indexed" bitdiffs="Rm == 1101">
        <docvars>
          <docvar key="address-form" value="post-indexed"/>
          <docvar key="armarmheading" value="T1"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="T32"/>
          <docvar key="mnemonic" value="VLD4"/>
        </docvars>
        <box hibit="3" width="4" name="Rm">
          <c>1</c>
          <c>1</c>
          <c>0</c>
          <c>1</c>
        </box>
        <asmtemplate><text>VLD4{</text><a hover="For the &quot;T1 Offset&quot; and &quot;T1 Post-indexed&quot; variants: see x[Standard assembler syntax fields](Babbefhf)." link="AL_option__6">&lt;c&gt;</a><text>}{</text><a hover="See x[Standard assembler syntax fields](Babbefhf)." link="qw_option">&lt;q&gt;</a><text>}.</text><a hover="Is the data size, " link="size_option__2">&lt;size&gt;</a><text>  </text><a hover="Is a list containing the 64-bit names of four SIMD&amp;FP registers.&#10;&#10;The list must be one of:&#10;&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }&#10;: Single-spaced registers, encoded in the &quot;T&quot; field as 0.&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }&#10;: Double-spaced registers, encoded in the &quot;T&quot; field as 1.&#10;&#10;&#10;&#10;The register &lt;Dd&gt; is encoded in the &quot;D:Vd&quot; field." link="register_list__16">&lt;list&gt;</a><text>, [</text><a hover="Is the general-purpose base register, encoded in the &quot;Rn&quot; field." link="Rn__12">&lt;Rn&gt;</a><text>{:</text><a hover="Is the optional alignment.&#10;&#10;Whenever &lt;align&gt; is omitted, the standard alignment is used, see x[Unaligned data access](Chdijihg), and is encoded in the &quot;a&quot; field as 0.&#10;&#10;Whenever &lt;align&gt; is present, the permitted values and encoding depend on &lt;size&gt;:&#10;&#10;&#10;&lt;size&gt; == 8&#10;: &lt;align&gt; is 32, meaning 32-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 16&#10;: &lt;align&gt; is 64, meaning 64-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 32&#10;: &lt;align&gt; can be 64 or 128. 64-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b10, and 128-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b11.&#10;&#10;&#10;&#10;: is the preferred separator before the &lt;align&gt; value, but the alignment can be specified as @&lt;align&gt;, see x[Advanced SIMD addressing mode](Cjaefebe)." link="align__3">&lt;align&gt;</a><text>}]!</text></asmtemplate>
      </encoding>
      <encoding name="VLD4_a_T1_postr" oneofinclass="3" oneof="6" label="Post-indexed" bitdiffs="Rm != 11x1">
        <docvars>
          <docvar key="address-form" value="post-indexed"/>
          <docvar key="address-offset" value="reg-offset"/>
          <docvar key="armarmheading" value="T1"/>
          <docvar key="instr-class" value="fpsimd"/>
          <docvar key="isa" value="T32"/>
          <docvar key="mnemonic" value="VLD4"/>
        </docvars>
        <box hibit="3" width="4" name="Rm">
          <c>N</c>
          <c>N</c>
          <c>Z</c>
          <c>N</c>
        </box>
        <asmtemplate><text>VLD4{</text><a hover="For the &quot;T1 Offset&quot; and &quot;T1 Post-indexed&quot; variants: see x[Standard assembler syntax fields](Babbefhf)." link="AL_option__6">&lt;c&gt;</a><text>}{</text><a hover="See x[Standard assembler syntax fields](Babbefhf)." link="qw_option">&lt;q&gt;</a><text>}.</text><a hover="Is the data size, " link="size_option__2">&lt;size&gt;</a><text>  </text><a hover="Is a list containing the 64-bit names of four SIMD&amp;FP registers.&#10;&#10;The list must be one of:&#10;&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }&#10;: Single-spaced registers, encoded in the &quot;T&quot; field as 0.&#10;&#10;{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }&#10;: Double-spaced registers, encoded in the &quot;T&quot; field as 1.&#10;&#10;&#10;&#10;The register &lt;Dd&gt; is encoded in the &quot;D:Vd&quot; field." link="register_list__16">&lt;list&gt;</a><text>, [</text><a hover="Is the general-purpose base register, encoded in the &quot;Rn&quot; field." link="Rn__12">&lt;Rn&gt;</a><text>{:</text><a hover="Is the optional alignment.&#10;&#10;Whenever &lt;align&gt; is omitted, the standard alignment is used, see x[Unaligned data access](Chdijihg), and is encoded in the &quot;a&quot; field as 0.&#10;&#10;Whenever &lt;align&gt; is present, the permitted values and encoding depend on &lt;size&gt;:&#10;&#10;&#10;&lt;size&gt; == 8&#10;: &lt;align&gt; is 32, meaning 32-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 16&#10;: &lt;align&gt; is 64, meaning 64-bit alignment, encoded in the &quot;a&quot; field as 1.&#10;&#10;&lt;size&gt; == 32&#10;: &lt;align&gt; can be 64 or 128. 64-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b10, and 128-bit alignment is encoded in the &quot;a:size&lt;0&gt;&quot; field as 0b11.&#10;&#10;&#10;&#10;: is the preferred separator before the &lt;align&gt; value, but the alignment can be specified as @&lt;align&gt;, see x[Advanced SIMD addressing mode](Cjaefebe)." link="align__3">&lt;align&gt;</a><text>}], </text><a hover="Is the general-purpose index register containing an offset applied after the access, encoded in the &quot;Rm&quot; field." link="Rm__18">&lt;Rm&gt;</a></asmtemplate>
      </encoding>
      <ps_section howmany="1">
        <ps name="T32.w.vldst.asimldall.VLD4_a_T1_nowb" sections="1" secttype="noheading">
          <pstext mayhavelinks="1" section="Decode" rep_section="decode">if size == '11' &amp;&amp; a == '0' then Undefined(); end;
let ebytes : integer{} = if size == '11' then 4 else 1 &lt;&lt; UInt(size);
let alignment : integer{} = (if a == '0' &amp;&amp; size != '11' then 1
                              else 4 &lt;&lt; (UInt(size[1]) + UInt(size[0])));
let inc : integer = if T == '0' then 1 else 2;
let d : integer = UInt(D::Vd);
let d2 : integer = d + inc;
let d3 : integer = d2 + inc;
let d4 : integer = d3 + inc;
let n : integer = UInt(Rn);
let m : integer = UInt(Rm);
let wback : boolean = (m != 15);
let register_index : boolean = (m != 15 &amp;&amp; m != 13);
if n == 15 || d4 &gt; 31 then UnpredictableProcedure(); end;</pstext></ps>
      </ps_section>
      <constrained_unpredictables encoding="T1" ps_block="Decode">
        <cu_case>
          <cu_cause>
            <pstext mayhavelinks="1">d4 &gt; 31</pstext></cu_cause>
          <cu_type constraint="Constraint_UNDEF"/>
          <cu_type constraint="Constraint_NOP"/>
          <cu_type>
            <cu_type_text>One or more of the SIMD and floating-point registers are UNKNOWN. If the instruction specifies writeback, the base register becomes UNKNOWN. This behavior does not affect any general-purpose registers.</cu_type_text>
          </cu_type>
        </cu_case>
      </constrained_unpredictables>
    </iclass>
  </classes>
  <explanations scope="all">
    <explanation enclist="VLD4_a_A1_nowb, VLD4_a_A1_posti, VLD4_a_A1_postr" symboldefcount="1">
      <symbol link="AL_option__3">&lt;c&gt;</symbol>
      <account encodedin="">
        <intro>
          <para>For the "A1 Offset" and "A1 Post-indexed" variants: see <xref linkend="Babbefhf">Standard assembler syntax fields</xref>. This encoding must be unconditional.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="VLD4_a_T1_nowb, VLD4_a_T1_posti, VLD4_a_T1_postr" symboldefcount="2">
      <symbol link="AL_option__6">&lt;c&gt;</symbol>
      <account encodedin="">
        <intro>
          <para>For the "T1 Offset" and "T1 Post-indexed" variants: see <xref linkend="Babbefhf">Standard assembler syntax fields</xref>.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="VLD4_a_A1_nowb, VLD4_a_A1_posti, VLD4_a_A1_postr, VLD4_a_T1_nowb, VLD4_a_T1_posti, VLD4_a_T1_postr" symboldefcount="1">
      <symbol link="qw_option">&lt;q&gt;</symbol>
      <account encodedin="">
        <intro>
          <para>See <xref linkend="Babbefhf">Standard assembler syntax fields</xref>.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="VLD4_a_A1_nowb, VLD4_a_A1_posti, VLD4_a_A1_postr, VLD4_a_T1_nowb, VLD4_a_T1_posti, VLD4_a_T1_postr" symboldefcount="1">
      <symbol link="size_option__2">&lt;size&gt;</symbol>
      <definition encodedin="size">
        <intro>Is the data size, </intro>
        <table class="valuetable">
          <tgroup cols="2">
            <thead>
              <row>
                <entry class="bitfield">size</entry>
                <entry class="symbol">&lt;size&gt;</entry>
              </row>
            </thead>
            <tbody>
              <row>
                <entry class="bitfield">00</entry>
                <entry class="symbol">8</entry>
              </row>
              <row>
                <entry class="bitfield">01</entry>
                <entry class="symbol">16</entry>
              </row>
              <row>
                <entry class="bitfield">1x</entry>
                <entry class="symbol">32</entry>
              </row>
            </tbody>
          </tgroup>
        </table>
      </definition>
    </explanation>
    <explanation enclist="VLD4_a_A1_nowb, VLD4_a_A1_posti, VLD4_a_A1_postr, VLD4_a_T1_nowb, VLD4_a_T1_posti, VLD4_a_T1_postr" symboldefcount="1">
      <symbol link="register_list__16">&lt;list&gt;</symbol>
      <account encodedin="">
        <intro>
          <para>Is a list containing the 64-bit names of four SIMD&amp;FP registers.</para>
          <para>The list must be one of:</para>
          <list type="param">
            <listitem>
              <param>
                <syntax>{ &lt;Dd&gt;[], &lt;Dd+1&gt;[], &lt;Dd+2&gt;[], &lt;Dd+3&gt;[] }</syntax>
              </param>
              <content>Single-spaced registers, encoded in the "T" field as 0.</content>
            </listitem>
            <listitem>
              <param>
                <syntax>{ &lt;Dd&gt;[], &lt;Dd+2&gt;[], &lt;Dd+4&gt;[], &lt;Dd+6&gt;[] }</syntax>
              </param>
              <content>Double-spaced registers, encoded in the "T" field as 1.</content>
            </listitem>
          </list>
          <para>The register <syntax>&lt;Dd&gt;</syntax> is encoded in the "D:Vd" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="VLD4_a_A1_nowb, VLD4_a_A1_posti, VLD4_a_A1_postr, VLD4_a_T1_nowb, VLD4_a_T1_posti, VLD4_a_T1_postr" symboldefcount="1">
      <symbol link="Rn__12">&lt;Rn&gt;</symbol>
      <account encodedin="Rn">
        <intro>
          <para>Is the general-purpose base register, encoded in the "Rn" field.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="VLD4_a_A1_nowb, VLD4_a_A1_posti, VLD4_a_A1_postr, VLD4_a_T1_nowb, VLD4_a_T1_posti, VLD4_a_T1_postr" symboldefcount="1">
      <symbol link="align__3">&lt;align&gt;</symbol>
      <account encodedin="(a :: size)">
        <intro>
          <para>Is the optional alignment.</para>
          <para>Whenever <syntax>&lt;align&gt;</syntax> is omitted, the standard alignment is used, see <xref linkend="Chdijihg">Unaligned data access</xref>, and is encoded in the "a" field as 0.</para>
          <para>Whenever <syntax>&lt;align&gt;</syntax> is present, the permitted values and encoding depend on <syntax>&lt;size&gt;</syntax>:</para>
          <list type="param">
            <listitem>
              <param>
                <syntax>&lt;size&gt;</syntax> == 8</param>
              <content>
                <syntax>&lt;align&gt;</syntax> is 32, meaning 32-bit alignment, encoded in the "a" field as 1.</content>
            </listitem>
            <listitem>
              <param>
                <syntax>&lt;size&gt;</syntax> == 16</param>
              <content>
                <syntax>&lt;align&gt;</syntax> is 64, meaning 64-bit alignment, encoded in the "a" field as 1.</content>
            </listitem>
            <listitem>
              <param>
                <syntax>&lt;size&gt;</syntax> == 32</param>
              <content>
                <syntax>&lt;align&gt;</syntax> can be 64 or 128. 64-bit alignment is encoded in the "a:size&lt;0&gt;" field as <binarynumber>0b10</binarynumber>, and 128-bit alignment is encoded in the "a:size&lt;0&gt;" field as <binarynumber>0b11</binarynumber>.</content>
            </listitem>
          </list>
          <para><value>:</value> is the preferred separator before the <syntax>&lt;align&gt;</syntax> value, but the alignment can be specified as <value>@&lt;align&gt;</value>, see <xref linkend="Cjaefebe">Advanced SIMD addressing mode</xref>.</para>
        </intro>
      </account>
    </explanation>
    <explanation enclist="VLD4_a_A1_postr, VLD4_a_T1_postr" symboldefcount="1">
      <symbol link="Rm__18">&lt;Rm&gt;</symbol>
      <account encodedin="Rm">
        <intro>
          <para>Is the general-purpose index register containing an offset applied after the access, encoded in the "Rm" field.</para>
        </intro>
      </account>
    </explanation>
  </explanations>
  <ps_section howmany="1">
    <ps name="A32.uncond_as.advsimdls.ldv_ssall.VLD4_a_A1_nowb" sections="1" secttype="Operation">
      <pstext mayhavelinks="1" section="Execute" rep_section="execute">if ConditionPassed() then
    EncodingSpecificOperations();
    CheckAdvSIMDEnabled();

    let address : bits(32) = R(n);

    let nontemporal : boolean = FALSE;
    let privileged : boolean  = PSTATE.EL != EL0;
    let tagchecked : boolean  = FALSE;
    let accdesc : AccessDescriptor = CreateAccDescASIMD(MemOp_LOAD, nontemporal,
                                        tagchecked, privileged);
    if !IsAlignedSize(address, alignment) then
        let fault : FaultRecord = AlignmentFault(accdesc, ZeroExtend{64}(address));
        AArch32_Abort(fault);
    end;

    let esize : integer{} = ebytes * 8;
    let element1 : bits(esize) = MemU{8*ebytes}(address);
    let element2 : bits(esize) = MemU{8*ebytes}(address+ebytes);
    let element3 : bits(esize) = MemU{8*ebytes}(address+2*ebytes);
    let element4 : bits(esize) = MemU{8*ebytes}(address+3*ebytes);
    D(d) = Replicate{64}(element1);
    D(d2) = Replicate{64}(element2);
    D(d3) = Replicate{64}(element3);
    D(d4) = Replicate{64}(element4);
    if wback then
        if register_index then
            R(n) = R(n) + R(m);
        else
            R(n) = R(n) + 4*ebytes;
        end;
    end;
end;</pstext></ps>
  </ps_section>
  <timestamp>2026-03-12 12:23:09</timestamp>
  <commit_id>2025-09_rel_asl1</commit_id>
</instructionsection>
