63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright © 2020 Google, Inc.
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
copy of this software and associated documentation files (the "Software"),
|
|
to deal in the Software without restriction, including without limitation
|
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
and/or sell copies of the Software, and to permit persons to whom the
|
|
Software is furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice (including the next
|
|
paragraph) shall be included in all copies or substantial portions of the
|
|
Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
-->
|
|
|
|
<isa>
|
|
|
|
<!--
|
|
Cat7 Instructions: barrier instructions
|
|
-->
|
|
|
|
<bitset name="#instruction-cat7" extends="#instruction">
|
|
<display>
|
|
{SY}{JP}{NAME}{G}{L}{R}{W}
|
|
</display>
|
|
<pattern low="0" high="31">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</pattern>
|
|
<pattern low="32" high="43">xxxxxxxxxxxx</pattern>
|
|
<pattern pos="44" >x</pattern> <!-- possilby (ss) ? -->
|
|
<pattern low="45" high="50">x1xxxx</pattern>
|
|
<field pos="51" name="W" type="bool" display=".w" /> <!-- write -->
|
|
<field pos="52" name="R" type="bool" display=".r" /> <!-- read -->
|
|
<field pos="53" name="L" type="bool" display=".l" /> <!-- local -->
|
|
<field pos="54" name="G" type="bool" display=".g" /> <!-- global -->
|
|
<!-- 4b OPC -->
|
|
<field pos="59" name="JP" type="bool" display="(jp)"/>
|
|
<field pos="60" name="SY" type="bool" display="(sy)"/>
|
|
<pattern low="61" high="63">111</pattern> <!-- cat7 -->
|
|
<encode>
|
|
<map name="W">src->cat7.w</map>
|
|
<map name="R">src->cat7.r</map>
|
|
<map name="L">src->cat7.l</map>
|
|
<map name="G">src->cat7.g</map>
|
|
</encode>
|
|
</bitset>
|
|
|
|
<bitset name="bar" extends="#instruction-cat7">
|
|
<pattern low="55" high="58">0000</pattern>
|
|
</bitset>
|
|
|
|
<bitset name="fence" extends="#instruction-cat7">
|
|
<pattern low="55" high="58">0001</pattern>
|
|
</bitset>
|
|
|
|
</isa> |