xref: /openbmc/qemu/gdb-xml/loongarch-lsx.xml (revision 0af3dfa5)
1<?xml version="1.0"?>
2<!-- Copyright (C) 2022-2024 Free Software Foundation, Inc.
3
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.  -->
7
8<!DOCTYPE feature SYSTEM "gdb-target.dtd">
9<feature name="org.gnu.gdb.loongarch.lsx">
10  <vector id="v4f32" type="ieee_single" count="4"/>
11  <vector id="v2f64" type="ieee_double" count="2"/>
12  <vector id="v16i8" type="int8" count="16"/>
13  <vector id="v8i16" type="int16" count="8"/>
14  <vector id="v4i32" type="int32" count="4"/>
15  <vector id="v2i64" type="int64" count="2"/>
16
17  <union id="lsxv">
18    <field name="v4_float" type="v4f32"/>
19    <field name="v2_double" type="v2f64"/>
20    <field name="v16_int8" type="v16i8"/>
21    <field name="v8_int16" type="v8i16"/>
22    <field name="v4_int32" type="v4i32"/>
23    <field name="v2_int64" type="v2i64"/>
24    <field name="uint128" type="uint128"/>
25  </union>
26
27  <reg name="vr0" bitsize="128" type="lsxv" group="lsx"/>
28  <reg name="vr1" bitsize="128" type="lsxv" group="lsx"/>
29  <reg name="vr2" bitsize="128" type="lsxv" group="lsx"/>
30  <reg name="vr3" bitsize="128" type="lsxv" group="lsx"/>
31  <reg name="vr4" bitsize="128" type="lsxv" group="lsx"/>
32  <reg name="vr5" bitsize="128" type="lsxv" group="lsx"/>
33  <reg name="vr6" bitsize="128" type="lsxv" group="lsx"/>
34  <reg name="vr7" bitsize="128" type="lsxv" group="lsx"/>
35  <reg name="vr8" bitsize="128" type="lsxv" group="lsx"/>
36  <reg name="vr9" bitsize="128" type="lsxv" group="lsx"/>
37  <reg name="vr10" bitsize="128" type="lsxv" group="lsx"/>
38  <reg name="vr11" bitsize="128" type="lsxv" group="lsx"/>
39  <reg name="vr12" bitsize="128" type="lsxv" group="lsx"/>
40  <reg name="vr13" bitsize="128" type="lsxv" group="lsx"/>
41  <reg name="vr14" bitsize="128" type="lsxv" group="lsx"/>
42  <reg name="vr15" bitsize="128" type="lsxv" group="lsx"/>
43  <reg name="vr16" bitsize="128" type="lsxv" group="lsx"/>
44  <reg name="vr17" bitsize="128" type="lsxv" group="lsx"/>
45  <reg name="vr18" bitsize="128" type="lsxv" group="lsx"/>
46  <reg name="vr19" bitsize="128" type="lsxv" group="lsx"/>
47  <reg name="vr20" bitsize="128" type="lsxv" group="lsx"/>
48  <reg name="vr21" bitsize="128" type="lsxv" group="lsx"/>
49  <reg name="vr22" bitsize="128" type="lsxv" group="lsx"/>
50  <reg name="vr23" bitsize="128" type="lsxv" group="lsx"/>
51  <reg name="vr26" bitsize="128" type="lsxv" group="lsx"/>
52  <reg name="vr25" bitsize="128" type="lsxv" group="lsx"/>
53  <reg name="vr26" bitsize="128" type="lsxv" group="lsx"/>
54  <reg name="vr27" bitsize="128" type="lsxv" group="lsx"/>
55  <reg name="vr28" bitsize="128" type="lsxv" group="lsx"/>
56  <reg name="vr29" bitsize="128" type="lsxv" group="lsx"/>
57  <reg name="vr30" bitsize="128" type="lsxv" group="lsx"/>
58  <reg name="vr31" bitsize="128" type="lsxv" group="lsx"/>
59</feature>
60