xfail quad-div2 test for am33
[binutils-gdb.git] / gdb / features / rx.c
blobf9a5584f9b807ce48b0ab9cd30880967ed91604b
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: rx.xml */
4 #include "osabi.h"
5 #include "target-descriptions.h"
7 const struct target_desc *tdesc_rx;
8 static void
9 initialize_tdesc_rx (void)
11 target_desc_up result = allocate_target_description ();
12 struct tdesc_feature *feature;
14 feature = tdesc_create_feature (result.get (), "org.gnu.gdb.rx.core");
15 tdesc_type_with_fields *type_with_fields;
16 type_with_fields = tdesc_create_flags (feature, "psw_flags", 4);
17 tdesc_add_flag (type_with_fields, 0, "C");
18 tdesc_add_flag (type_with_fields, 1, "Z");
19 tdesc_add_flag (type_with_fields, 2, "S");
20 tdesc_add_flag (type_with_fields, 3, "O");
21 tdesc_add_flag (type_with_fields, 16, "I");
22 tdesc_add_flag (type_with_fields, 17, "U");
23 tdesc_add_flag (type_with_fields, 20, "PM");
24 tdesc_add_flag (type_with_fields, 24, "IPL0");
25 tdesc_add_flag (type_with_fields, 25, "IPL1");
26 tdesc_add_flag (type_with_fields, 26, "IPL2");
27 tdesc_add_flag (type_with_fields, 27, "IPL3");
29 type_with_fields = tdesc_create_flags (feature, "fpsw_flags", 4);
30 tdesc_add_flag (type_with_fields, 0, "RM0");
31 tdesc_add_flag (type_with_fields, 1, "RM1");
32 tdesc_add_flag (type_with_fields, 2, "CV");
33 tdesc_add_flag (type_with_fields, 3, "CO");
34 tdesc_add_flag (type_with_fields, 4, "CZ");
35 tdesc_add_flag (type_with_fields, 5, "CU");
36 tdesc_add_flag (type_with_fields, 6, "CX");
37 tdesc_add_flag (type_with_fields, 7, "CE");
38 tdesc_add_flag (type_with_fields, 8, "DN");
39 tdesc_add_flag (type_with_fields, 10, "EV");
40 tdesc_add_flag (type_with_fields, 11, "EO");
41 tdesc_add_flag (type_with_fields, 12, "EZ");
42 tdesc_add_flag (type_with_fields, 13, "EU");
43 tdesc_add_flag (type_with_fields, 14, "EX");
44 tdesc_add_flag (type_with_fields, 26, "FV");
45 tdesc_add_flag (type_with_fields, 27, "FO");
46 tdesc_add_flag (type_with_fields, 28, "FZ");
47 tdesc_add_flag (type_with_fields, 29, "FU");
48 tdesc_add_flag (type_with_fields, 30, "FX");
49 tdesc_add_flag (type_with_fields, 31, "FS");
51 tdesc_create_reg (feature, "r0", 0, 1, NULL, 32, "data_ptr");
52 tdesc_create_reg (feature, "r1", 1, 1, NULL, 32, "uint32");
53 tdesc_create_reg (feature, "r2", 2, 1, NULL, 32, "uint32");
54 tdesc_create_reg (feature, "r3", 3, 1, NULL, 32, "uint32");
55 tdesc_create_reg (feature, "r4", 4, 1, NULL, 32, "uint32");
56 tdesc_create_reg (feature, "r5", 5, 1, NULL, 32, "uint32");
57 tdesc_create_reg (feature, "r6", 6, 1, NULL, 32, "uint32");
58 tdesc_create_reg (feature, "r7", 7, 1, NULL, 32, "uint32");
59 tdesc_create_reg (feature, "r8", 8, 1, NULL, 32, "uint32");
60 tdesc_create_reg (feature, "r9", 9, 1, NULL, 32, "uint32");
61 tdesc_create_reg (feature, "r10", 10, 1, NULL, 32, "uint32");
62 tdesc_create_reg (feature, "r11", 11, 1, NULL, 32, "uint32");
63 tdesc_create_reg (feature, "r12", 12, 1, NULL, 32, "uint32");
64 tdesc_create_reg (feature, "r13", 13, 1, NULL, 32, "uint32");
65 tdesc_create_reg (feature, "r14", 14, 1, NULL, 32, "uint32");
66 tdesc_create_reg (feature, "r15", 15, 1, NULL, 32, "uint32");
67 tdesc_create_reg (feature, "usp", 16, 1, NULL, 32, "data_ptr");
68 tdesc_create_reg (feature, "isp", 17, 1, NULL, 32, "data_ptr");
69 tdesc_create_reg (feature, "psw", 18, 1, NULL, 32, "psw_flags");
70 tdesc_create_reg (feature, "pc", 19, 1, NULL, 32, "code_ptr");
71 tdesc_create_reg (feature, "intb", 20, 1, NULL, 32, "data_ptr");
72 tdesc_create_reg (feature, "bpsw", 21, 1, NULL, 32, "psw_flags");
73 tdesc_create_reg (feature, "bpc", 22, 1, NULL, 32, "code_ptr");
74 tdesc_create_reg (feature, "fintv", 23, 1, NULL, 32, "code_ptr");
75 tdesc_create_reg (feature, "fpsw", 24, 1, NULL, 32, "fpsw_flags");
76 tdesc_create_reg (feature, "acc", 25, 1, NULL, 64, "uint64");
78 tdesc_rx = result.release ();