1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: 32bit-fpu.xml */
4 #include "gdbsupport/tdesc.h"
7 create_feature_riscv_32bit_fpu (struct target_desc
*result
, long regnum
)
9 struct tdesc_feature
*feature
;
11 feature
= tdesc_create_feature (result
, "org.gnu.gdb.riscv.fpu");
13 tdesc_create_reg (feature
, "ft0", regnum
++, 1, NULL
, 32, "ieee_single");
14 tdesc_create_reg (feature
, "ft1", regnum
++, 1, NULL
, 32, "ieee_single");
15 tdesc_create_reg (feature
, "ft2", regnum
++, 1, NULL
, 32, "ieee_single");
16 tdesc_create_reg (feature
, "ft3", regnum
++, 1, NULL
, 32, "ieee_single");
17 tdesc_create_reg (feature
, "ft4", regnum
++, 1, NULL
, 32, "ieee_single");
18 tdesc_create_reg (feature
, "ft5", regnum
++, 1, NULL
, 32, "ieee_single");
19 tdesc_create_reg (feature
, "ft6", regnum
++, 1, NULL
, 32, "ieee_single");
20 tdesc_create_reg (feature
, "ft7", regnum
++, 1, NULL
, 32, "ieee_single");
21 tdesc_create_reg (feature
, "fs0", regnum
++, 1, NULL
, 32, "ieee_single");
22 tdesc_create_reg (feature
, "fs1", regnum
++, 1, NULL
, 32, "ieee_single");
23 tdesc_create_reg (feature
, "fa0", regnum
++, 1, NULL
, 32, "ieee_single");
24 tdesc_create_reg (feature
, "fa1", regnum
++, 1, NULL
, 32, "ieee_single");
25 tdesc_create_reg (feature
, "fa2", regnum
++, 1, NULL
, 32, "ieee_single");
26 tdesc_create_reg (feature
, "fa3", regnum
++, 1, NULL
, 32, "ieee_single");
27 tdesc_create_reg (feature
, "fa4", regnum
++, 1, NULL
, 32, "ieee_single");
28 tdesc_create_reg (feature
, "fa5", regnum
++, 1, NULL
, 32, "ieee_single");
29 tdesc_create_reg (feature
, "fa6", regnum
++, 1, NULL
, 32, "ieee_single");
30 tdesc_create_reg (feature
, "fa7", regnum
++, 1, NULL
, 32, "ieee_single");
31 tdesc_create_reg (feature
, "fs2", regnum
++, 1, NULL
, 32, "ieee_single");
32 tdesc_create_reg (feature
, "fs3", regnum
++, 1, NULL
, 32, "ieee_single");
33 tdesc_create_reg (feature
, "fs4", regnum
++, 1, NULL
, 32, "ieee_single");
34 tdesc_create_reg (feature
, "fs5", regnum
++, 1, NULL
, 32, "ieee_single");
35 tdesc_create_reg (feature
, "fs6", regnum
++, 1, NULL
, 32, "ieee_single");
36 tdesc_create_reg (feature
, "fs7", regnum
++, 1, NULL
, 32, "ieee_single");
37 tdesc_create_reg (feature
, "fs8", regnum
++, 1, NULL
, 32, "ieee_single");
38 tdesc_create_reg (feature
, "fs9", regnum
++, 1, NULL
, 32, "ieee_single");
39 tdesc_create_reg (feature
, "fs10", regnum
++, 1, NULL
, 32, "ieee_single");
40 tdesc_create_reg (feature
, "fs11", regnum
++, 1, NULL
, 32, "ieee_single");
41 tdesc_create_reg (feature
, "ft8", regnum
++, 1, NULL
, 32, "ieee_single");
42 tdesc_create_reg (feature
, "ft9", regnum
++, 1, NULL
, 32, "ieee_single");
43 tdesc_create_reg (feature
, "ft10", regnum
++, 1, NULL
, 32, "ieee_single");
44 tdesc_create_reg (feature
, "ft11", regnum
++, 1, NULL
, 32, "ieee_single");
46 tdesc_create_reg (feature
, "fcsr", regnum
++, 1, NULL
, 32, "int");