Debian Codegraph @

arm64/instgen/xmlspec/testdata/sample1.xml

raw symbols SCIP
1 <?xml version="1.0" ?><?xml-stylesheet type="text/xsl" encoding="UTF-8" href="iform.xsl" version="1.0"?>
2 <!DOCTYPE instructionsection Sample1>
3 <instructionsection id="add" title="add" type="instruction">
4 <docvars>
5 <docvar key="key1" value="value1"/>
6 <docvar key="key2" value="value2"/>
7 </docvars>
8 <heading>add</heading>
9 <desc>
10 <brief>
11 <para>add</para>
12 </brief>
13 <authored>
14 <para>add</para>
15 </authored>
16 <predicated>False</predicated>
17 <uses_dit condition="sample1">True</uses_dit>
18 </desc>
19 <operationalnotes>
20 <operationalnote>
21 <operationalnote_content>
22 <para>sample1</para>
23 </operationalnote_content>
24 </operationalnote>
25 </operationalnotes>
26 <alias_list howmany="0"/>
27 <classes>
28 <iclass name="SVE" oneof="1" id="iclass_sve" no_encodings="1" isa="A64">
29 <docvars>
30 <docvar key="instr-class" value="sve"/>
31 <docvar key="isa" value="A64"/>
32 <docvar key="mnemonic" value="ADD"/>
33 </docvars>
34 <iclassintro count="1"/>
35 <arch_variants>
36 <arch_variant feature="sample1" name="sample1"/>
37 </arch_variants>
38 <regdiagram form="32" psname="sample1" tworows="1">
39 <box hibit="31" width="3" settings="3">
40 <c>0</c>
41 <c>0</c>
42 <c>0</c>
43 </box>
44 <box hibit="28" width="4" settings="4">
45 <c>0</c>
46 <c>0</c>
47 <c>1</c>
48 <c>0</c>
49 </box>
50 <box hibit="24" width="1" settings="1">
51 <c>0</c>
52 </box>
53 <box hibit="23" width="2" name="size" usename="1">
54 <c colspan="2"/>
55 </box>
56 <box hibit="21" width="1" settings="1">
57 <c>1</c>
58 </box>
59 <box hibit="20" width="5" name="Zm" usename="1">
60 <c colspan="5"/>
61 </box>
62 <box hibit="15" width="3" settings="3">
63 <c>0</c>
64 <c>0</c>
65 <c>0</c>
66 </box>
67 <box hibit="12" width="3" name="opc" usename="1" settings="3" psbits="xxx">
68 <c>0</c>
69 <c>0</c>
70 <c>0</c>
71 </box>
72 <box hibit="9" width="5" name="Zn" usename="1">
73 <c colspan="5"/>
74 </box>
75 <box hibit="4" width="5" name="Zd" usename="1">
76 <c colspan="5"/>
77 </box>
78 </regdiagram>
79 <encoding name="add" oneofinclass="1" oneof="1" label="">
80 <docvars>
81 <docvar key="sample1" value="sample1"/>
82 </docvars>
83 <asmtemplate><text>add </text><a hover="Is the name of the destination scalable vector register, encoded in the &quot;Zd&quot; field." link="Zd">&lt;Zd&gt;</a><text>.</text><a hover="Is the size specifier, " link="T__5">&lt;T&gt;</a><text>, </text><a hover="Is the name of the first source scalable vector register, encoded in the &quot;Zn&quot; field." link="Zn__2">&lt;Zn&gt;</a><text>.</text><a hover="Is the size specifier, " link="T__5">&lt;T&gt;</a><text>, </text><a hover="Is the name of the second source scalable vector register, encoded in the &quot;Zm&quot; field." link="Zm">&lt;Zm&gt;</a><text>.</text><a hover="Is the size specifier, " link="T__5">&lt;T&gt;</a></asmtemplate>
84 </encoding>
85 <ps_section howmany="1">
86 <ps name="sample1" sections="1" secttype="noheading">
87 <pstext mayhavelinks="1" section="sample1" rep_section="sample1">
88 sample1
89 </pstext>
90 </ps>
91 </ps_section>
92 </iclass>
93 </classes>
94 <explanations scope="all">
95 <explanation enclist="add_z_zz_" symboldefcount="1">
96 <symbol link="Zd">&lt;Zd&gt;</symbol>
97 <account encodedin="Zd">
98 <intro>
99 <para>Is the name of the destination scalable vector register, encoded in the &quot;Zd&quot; field.</para>
100 </intro>
101 </account>
102 </explanation>
103 <explanation enclist="add_z_zz_" symboldefcount="1">
104 <symbol link="T__5">&lt;T&gt;</symbol>
105 <definition encodedin="size">
106 <intro>Is the size specifier, </intro>
107 <table class="valuetable">
108 <tgroup cols="2">
109 <thead>
110 <row>
111 <entry class="bitfield">size</entry>
112 <entry class="symbol">&lt;T&gt;</entry>
113 </row>
114 </thead>
115 <tbody>
116 <row>
117 <entry class="bitfield">00</entry>
118 <entry class="symbol">B</entry>
119 </row>
120 <row>
121 <entry class="bitfield">01</entry>
122 <entry class="symbol">H</entry>
123 </row>
124 <row>
125 <entry class="bitfield">10</entry>
126 <entry class="symbol">S</entry>
127 </row>
128 <row>
129 <entry class="bitfield">11</entry>
130 <entry class="symbol">D</entry>
131 </row>
132 </tbody>
133 </tgroup>
134 </table>
135 </definition>
136 </explanation>
137 <explanation enclist="add_z_zz_" symboldefcount="1">
138 <symbol link="Zn__2">&lt;Zn&gt;</symbol>
139 <account encodedin="Zn">
140 <intro>
141 <para>Is the name of the first source scalable vector register, encoded in the &quot;Zn&quot; field.</para>
142 </intro>
143 </account>
144 </explanation>
145 <explanation enclist="add_z_zz_" symboldefcount="1">
146 <symbol link="Zm">&lt;Zm&gt;</symbol>
147 <account encodedin="Zm">
148 <intro>
149 <para>Is the name of the second source scalable vector register, encoded in the &quot;Zm&quot; field.</para>
150 </intro>
151 </account>
152 </explanation>
153 </explanations>
154 <ps_section howmany="1">
155 <ps name="sample1" sections="1" secttype="Operation">
156 <pstext mayhavelinks="1" section="sample1" rep_section="sample1">sample1;</pstext>
157 </ps>
158 </ps_section>
159 </instructionsection>