Path: blob/21.2-virgl/src/freedreno/isa/ir3-cat7.xml
4564 views
<?xml version="1.0" encoding="UTF-8"?>1<!--2Copyright © 2020 Google, Inc.34Permission is hereby granted, free of charge, to any person obtaining a5copy of this software and associated documentation files (the "Software"),6to deal in the Software without restriction, including without limitation7the rights to use, copy, modify, merge, publish, distribute, sublicense,8and/or sell copies of the Software, and to permit persons to whom the9Software is furnished to do so, subject to the following conditions:1011The above copyright notice and this permission notice (including the next12paragraph) shall be included in all copies or substantial portions of the13Software.1415THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL18THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE21SOFTWARE.22-->2324<isa>2526<!--27Cat7 Instructions: barrier instructions28-->2930<bitset name="#instruction-cat7" extends="#instruction">31<display>32{SY}{JP}{NAME}{G}{L}{R}{W}33</display>34<pattern low="0" high="31">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</pattern>35<pattern low="32" high="43">xxxxxxxxxxxx</pattern>36<pattern pos="44" >x</pattern> <!-- possilby (ss) ? -->37<pattern low="45" high="50">x1xxxx</pattern>38<field pos="51" name="W" type="bool" display=".w" /> <!-- write -->39<field pos="52" name="R" type="bool" display=".r" /> <!-- read -->40<field pos="53" name="L" type="bool" display=".l" /> <!-- local -->41<field pos="54" name="G" type="bool" display=".g" /> <!-- global -->42<!-- 4b OPC -->43<field pos="59" name="JP" type="bool" display="(jp)"/>44<field pos="60" name="SY" type="bool" display="(sy)"/>45<pattern low="61" high="63">111</pattern> <!-- cat7 -->46<encode>47<map name="W">src->cat7.w</map>48<map name="R">src->cat7.r</map>49<map name="L">src->cat7.l</map>50<map name="G">src->cat7.g</map>51</encode>52</bitset>5354<bitset name="bar" extends="#instruction-cat7">55<pattern low="55" high="58">0000</pattern>56</bitset>5758<bitset name="fence" extends="#instruction-cat7">59<pattern low="55" high="58">0001</pattern>60</bitset>6162</isa>6364