target/loongarch/gdbstub: Add vector registers support
[qemu/ar7.git] / gdb-xml / loongarch-lasx.xml
blob753b982c651bca1de4e91e09b459ce9000e16aaa
1 <?xml version="1.0"?>
2 <!-- Copyright (C) 2022-2024 Free Software Foundation, Inc.
4      Copying and distribution of this file, with or without modification,
5      are permitted in any medium without royalty provided the copyright
6      notice and this notice are preserved.  -->
8 <!DOCTYPE feature SYSTEM "gdb-target.dtd">
9 <feature name="org.gnu.gdb.loongarch.lasx">
10   <vector id="v8f32" type="ieee_single" count="8"/>
11   <vector id="v4f64" type="ieee_double" count="4"/>
12   <vector id="v32i8" type="int8" count="32"/>
13   <vector id="v16i16" type="int16" count="16"/>
14   <vector id="v8i32" type="int32" count="8"/>
15   <vector id="v4i64" type="int64" count="4"/>
16   <vector id="v2ui128" type="uint128" count="2"/>
18   <union id="lasxv">
19     <field name="v8_float" type="v8f32"/>
20     <field name="v4_double" type="v4f64"/>
21     <field name="v32_int8" type="v32i8"/>
22     <field name="v16_int16" type="v16i16"/>
23     <field name="v8_int32" type="v8i32"/>
24     <field name="v4_int64" type="v4i64"/>
25     <field name="v2_uint128" type="v2ui128"/>
26   </union>
28   <reg name="xr0" bitsize="256" type="lasxv" group="lasx"/>
29   <reg name="xr1" bitsize="256" type="lasxv" group="lasx"/>
30   <reg name="xr2" bitsize="256" type="lasxv" group="lasx"/>
31   <reg name="xr3" bitsize="256" type="lasxv" group="lasx"/>
32   <reg name="xr4" bitsize="256" type="lasxv" group="lasx"/>
33   <reg name="xr5" bitsize="256" type="lasxv" group="lasx"/>
34   <reg name="xr6" bitsize="256" type="lasxv" group="lasx"/>
35   <reg name="xr7" bitsize="256" type="lasxv" group="lasx"/>
36   <reg name="xr8" bitsize="256" type="lasxv" group="lasx"/>
37   <reg name="xr9" bitsize="256" type="lasxv" group="lasx"/>
38   <reg name="xr10" bitsize="256" type="lasxv" group="lasx"/>
39   <reg name="xr11" bitsize="256" type="lasxv" group="lasx"/>
40   <reg name="xr12" bitsize="256" type="lasxv" group="lasx"/>
41   <reg name="xr13" bitsize="256" type="lasxv" group="lasx"/>
42   <reg name="xr14" bitsize="256" type="lasxv" group="lasx"/>
43   <reg name="xr15" bitsize="256" type="lasxv" group="lasx"/>
44   <reg name="xr16" bitsize="256" type="lasxv" group="lasx"/>
45   <reg name="xr17" bitsize="256" type="lasxv" group="lasx"/>
46   <reg name="xr18" bitsize="256" type="lasxv" group="lasx"/>
47   <reg name="xr19" bitsize="256" type="lasxv" group="lasx"/>
48   <reg name="xr20" bitsize="256" type="lasxv" group="lasx"/>
49   <reg name="xr21" bitsize="256" type="lasxv" group="lasx"/>
50   <reg name="xr22" bitsize="256" type="lasxv" group="lasx"/>
51   <reg name="xr23" bitsize="256" type="lasxv" group="lasx"/>
52   <reg name="xr24" bitsize="256" type="lasxv" group="lasx"/>
53   <reg name="xr25" bitsize="256" type="lasxv" group="lasx"/>
54   <reg name="xr26" bitsize="256" type="lasxv" group="lasx"/>
55   <reg name="xr27" bitsize="256" type="lasxv" group="lasx"/>
56   <reg name="xr28" bitsize="256" type="lasxv" group="lasx"/>
57   <reg name="xr29" bitsize="256" type="lasxv" group="lasx"/>
58   <reg name="xr30" bitsize="256" type="lasxv" group="lasx"/>
59   <reg name="xr31" bitsize="256" type="lasxv" group="lasx"/>
60 </feature>