27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<target>
|
|
<osabi>Solaris</osabi>
|
|
<feature name="abc">
|
|
<vector id="foo" type="int32" count="4"/>
|
|
<reg name="foo" bitsize="16" /> <!-- <reg name="foo" bitsize="16" type="int" regnum="0"/> -->
|
|
</feature>
|
|
<feature name="def.xyz">
|
|
<struct id="my_struct">
|
|
<field name="field1" type="int8"/>
|
|
<field name="field2" type="int16"/>
|
|
<field name="field3" type="int8"/>
|
|
</struct>
|
|
<struct id="bit_field" size="8">
|
|
<field name="bits1" start="0" end="3" type="int8"/>
|
|
<field name="bits2" start="4" end="6" type="int8"/>
|
|
<field name="bits3" start="7" end="7"/> <!-- <field name="bits3" start="7" end="7" type="bool"/> -->
|
|
</struct>
|
|
<flags id="my_flags" size="8">
|
|
<field name="flg1" start="0" end="0"/> <!-- <field name="flg1" start="0" end="0" type="bool"/> -->
|
|
<field name="flg2" start="1" end="1"/> <!-- <field name="flg2" start="1" end="1" type="bool"/> -->
|
|
<field name="flg3" start="2" end="6"/> <!-- <field name="flg3" start="2" end="6" type="uint64"/> -->
|
|
<field name="flg4" start="7" end="7"/> <!-- <field name="flg4" start="7" end="7" type="bool"/> -->
|
|
</flags>
|
|
<reg name="r1" bitsize="8" type="my_flags"/> <!-- <reg name="r1" bitsize="8" type="my_flags" regnum="1"/> -->
|
|
<reg name="r2" bitsize="8" type="bit_field"/> <!-- <reg name="r2" bitsize="8" type="bit_field" regnum="2"/> -->
|
|
</feature>
|
|
</target>
|