1bf215546Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2bf215546Sopenharmony_ci<!--
3bf215546Sopenharmony_ciCopyright © 2020 Google, Inc.
4bf215546Sopenharmony_ci
5bf215546Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining a
6bf215546Sopenharmony_cicopy of this software and associated documentation files (the "Software"),
7bf215546Sopenharmony_cito deal in the Software without restriction, including without limitation
8bf215546Sopenharmony_cithe rights to use, copy, modify, merge, publish, distribute, sublicense,
9bf215546Sopenharmony_ciand/or sell copies of the Software, and to permit persons to whom the
10bf215546Sopenharmony_ciSoftware is furnished to do so, subject to the following conditions:
11bf215546Sopenharmony_ci
12bf215546Sopenharmony_ciThe above copyright notice and this permission notice (including the next
13bf215546Sopenharmony_ciparagraph) shall be included in all copies or substantial portions of the
14bf215546Sopenharmony_ciSoftware.
15bf215546Sopenharmony_ci
16bf215546Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17bf215546Sopenharmony_ciIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18bf215546Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19bf215546Sopenharmony_ciTHE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20bf215546Sopenharmony_ciLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21bf215546Sopenharmony_ciOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22bf215546Sopenharmony_ciSOFTWARE.
23bf215546Sopenharmony_ci -->
24bf215546Sopenharmony_ci
25bf215546Sopenharmony_ci<isa>
26bf215546Sopenharmony_ci
27bf215546Sopenharmony_ci<!--
28bf215546Sopenharmony_ci	Cat7 Instructions:  barrier instructions
29bf215546Sopenharmony_ci -->
30bf215546Sopenharmony_ci
31bf215546Sopenharmony_ci<bitset name="#instruction-cat7" extends="#instruction">
32bf215546Sopenharmony_ci	<display>
33bf215546Sopenharmony_ci		{SY}{JP}{NAME}{G}{L}{R}{W}
34bf215546Sopenharmony_ci	</display>
35bf215546Sopenharmony_ci	<pattern low="0"  high="31">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</pattern>
36bf215546Sopenharmony_ci	<pattern low="32" high="43">xxxxxxxxxxxx</pattern>
37bf215546Sopenharmony_ci	<pattern pos="44"          >x</pattern>  <!-- possilby (ss) ? -->
38bf215546Sopenharmony_ci	<pattern low="45" high="50">x1xxxx</pattern>
39bf215546Sopenharmony_ci	<field   pos="51"          name="W"  type="bool" display=".w"  />  <!-- write -->
40bf215546Sopenharmony_ci	<field   pos="52"          name="R"  type="bool" display=".r"  />  <!-- read -->
41bf215546Sopenharmony_ci	<field   pos="53"          name="L"  type="bool" display=".l"  />  <!-- local -->
42bf215546Sopenharmony_ci	<field   pos="54"          name="G"  type="bool" display=".g"  />  <!-- global -->
43bf215546Sopenharmony_ci	<!-- 4b OPC -->
44bf215546Sopenharmony_ci	<field   pos="59"          name="JP" type="bool" display="(jp)"/>
45bf215546Sopenharmony_ci	<field   pos="60"          name="SY" type="bool" display="(sy)"/>
46bf215546Sopenharmony_ci	<pattern low="61" high="63">111</pattern>  <!-- cat7 -->
47bf215546Sopenharmony_ci	<encode>
48bf215546Sopenharmony_ci		<map name="W">src->cat7.w</map>
49bf215546Sopenharmony_ci		<map name="R">src->cat7.r</map>
50bf215546Sopenharmony_ci		<map name="L">src->cat7.l</map>
51bf215546Sopenharmony_ci		<map name="G">src->cat7.g</map>
52bf215546Sopenharmony_ci	</encode>
53bf215546Sopenharmony_ci</bitset>
54bf215546Sopenharmony_ci
55bf215546Sopenharmony_ci<bitset name="bar" extends="#instruction-cat7">
56bf215546Sopenharmony_ci	<pattern low="55" high="58">0000</pattern>
57bf215546Sopenharmony_ci</bitset>
58bf215546Sopenharmony_ci
59bf215546Sopenharmony_ci<bitset name="fence" extends="#instruction-cat7">
60bf215546Sopenharmony_ci	<pattern low="55" high="58">0001</pattern>
61bf215546Sopenharmony_ci</bitset>
62bf215546Sopenharmony_ci
63bf215546Sopenharmony_ci</isa>