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