1 |
1181 |
sfurman |
// OBSOLETE /* Simulator instruction decoder for fr30bf.
|
2 |
|
|
// OBSOLETE
|
3 |
|
|
// OBSOLETE THIS FILE IS MACHINE GENERATED WITH CGEN.
|
4 |
|
|
// OBSOLETE
|
5 |
|
|
// OBSOLETE Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
6 |
|
|
// OBSOLETE
|
7 |
|
|
// OBSOLETE This file is part of the GNU simulators.
|
8 |
|
|
// OBSOLETE
|
9 |
|
|
// OBSOLETE This program is free software; you can redistribute it and/or modify
|
10 |
|
|
// OBSOLETE it under the terms of the GNU General Public License as published by
|
11 |
|
|
// OBSOLETE the Free Software Foundation; either version 2, or (at your option)
|
12 |
|
|
// OBSOLETE any later version.
|
13 |
|
|
// OBSOLETE
|
14 |
|
|
// OBSOLETE This program is distributed in the hope that it will be useful,
|
15 |
|
|
// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16 |
|
|
// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17 |
|
|
// OBSOLETE GNU General Public License for more details.
|
18 |
|
|
// OBSOLETE
|
19 |
|
|
// OBSOLETE You should have received a copy of the GNU General Public License along
|
20 |
|
|
// OBSOLETE with this program; if not, write to the Free Software Foundation, Inc.,
|
21 |
|
|
// OBSOLETE 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
22 |
|
|
// OBSOLETE
|
23 |
|
|
// OBSOLETE */
|
24 |
|
|
// OBSOLETE
|
25 |
|
|
// OBSOLETE #define WANT_CPU fr30bf
|
26 |
|
|
// OBSOLETE #define WANT_CPU_FR30BF
|
27 |
|
|
// OBSOLETE
|
28 |
|
|
// OBSOLETE #include "sim-main.h"
|
29 |
|
|
// OBSOLETE #include "sim-assert.h"
|
30 |
|
|
// OBSOLETE
|
31 |
|
|
// OBSOLETE /* The instruction descriptor array.
|
32 |
|
|
// OBSOLETE This is computed at runtime. Space for it is not malloc'd to save a
|
33 |
|
|
// OBSOLETE teensy bit of cpu in the decoder. Moving it to malloc space is trivial
|
34 |
|
|
// OBSOLETE but won't be done until necessary (we don't currently support the runtime
|
35 |
|
|
// OBSOLETE addition of instructions nor an SMP machine with different cpus). */
|
36 |
|
|
// OBSOLETE static IDESC fr30bf_insn_data[FR30BF_INSN_XCHB + 1];
|
37 |
|
|
// OBSOLETE
|
38 |
|
|
// OBSOLETE /* Commas between elements are contained in the macros.
|
39 |
|
|
// OBSOLETE Some of these are conditionally compiled out. */
|
40 |
|
|
// OBSOLETE
|
41 |
|
|
// OBSOLETE static const struct insn_sem fr30bf_insn_sem[] =
|
42 |
|
|
// OBSOLETE {
|
43 |
|
|
// OBSOLETE { VIRTUAL_INSN_X_INVALID, FR30BF_INSN_X_INVALID, FR30BF_SFMT_EMPTY },
|
44 |
|
|
// OBSOLETE { VIRTUAL_INSN_X_AFTER, FR30BF_INSN_X_AFTER, FR30BF_SFMT_EMPTY },
|
45 |
|
|
// OBSOLETE { VIRTUAL_INSN_X_BEFORE, FR30BF_INSN_X_BEFORE, FR30BF_SFMT_EMPTY },
|
46 |
|
|
// OBSOLETE { VIRTUAL_INSN_X_CTI_CHAIN, FR30BF_INSN_X_CTI_CHAIN, FR30BF_SFMT_EMPTY },
|
47 |
|
|
// OBSOLETE { VIRTUAL_INSN_X_CHAIN, FR30BF_INSN_X_CHAIN, FR30BF_SFMT_EMPTY },
|
48 |
|
|
// OBSOLETE { VIRTUAL_INSN_X_BEGIN, FR30BF_INSN_X_BEGIN, FR30BF_SFMT_EMPTY },
|
49 |
|
|
// OBSOLETE { FR30_INSN_ADD, FR30BF_INSN_ADD, FR30BF_SFMT_ADD },
|
50 |
|
|
// OBSOLETE { FR30_INSN_ADDI, FR30BF_INSN_ADDI, FR30BF_SFMT_ADDI },
|
51 |
|
|
// OBSOLETE { FR30_INSN_ADD2, FR30BF_INSN_ADD2, FR30BF_SFMT_ADD2 },
|
52 |
|
|
// OBSOLETE { FR30_INSN_ADDC, FR30BF_INSN_ADDC, FR30BF_SFMT_ADDC },
|
53 |
|
|
// OBSOLETE { FR30_INSN_ADDN, FR30BF_INSN_ADDN, FR30BF_SFMT_ADDN },
|
54 |
|
|
// OBSOLETE { FR30_INSN_ADDNI, FR30BF_INSN_ADDNI, FR30BF_SFMT_ADDNI },
|
55 |
|
|
// OBSOLETE { FR30_INSN_ADDN2, FR30BF_INSN_ADDN2, FR30BF_SFMT_ADDN2 },
|
56 |
|
|
// OBSOLETE { FR30_INSN_SUB, FR30BF_INSN_SUB, FR30BF_SFMT_ADD },
|
57 |
|
|
// OBSOLETE { FR30_INSN_SUBC, FR30BF_INSN_SUBC, FR30BF_SFMT_ADDC },
|
58 |
|
|
// OBSOLETE { FR30_INSN_SUBN, FR30BF_INSN_SUBN, FR30BF_SFMT_ADDN },
|
59 |
|
|
// OBSOLETE { FR30_INSN_CMP, FR30BF_INSN_CMP, FR30BF_SFMT_CMP },
|
60 |
|
|
// OBSOLETE { FR30_INSN_CMPI, FR30BF_INSN_CMPI, FR30BF_SFMT_CMPI },
|
61 |
|
|
// OBSOLETE { FR30_INSN_CMP2, FR30BF_INSN_CMP2, FR30BF_SFMT_CMP2 },
|
62 |
|
|
// OBSOLETE { FR30_INSN_AND, FR30BF_INSN_AND, FR30BF_SFMT_AND },
|
63 |
|
|
// OBSOLETE { FR30_INSN_OR, FR30BF_INSN_OR, FR30BF_SFMT_AND },
|
64 |
|
|
// OBSOLETE { FR30_INSN_EOR, FR30BF_INSN_EOR, FR30BF_SFMT_AND },
|
65 |
|
|
// OBSOLETE { FR30_INSN_ANDM, FR30BF_INSN_ANDM, FR30BF_SFMT_ANDM },
|
66 |
|
|
// OBSOLETE { FR30_INSN_ANDH, FR30BF_INSN_ANDH, FR30BF_SFMT_ANDH },
|
67 |
|
|
// OBSOLETE { FR30_INSN_ANDB, FR30BF_INSN_ANDB, FR30BF_SFMT_ANDB },
|
68 |
|
|
// OBSOLETE { FR30_INSN_ORM, FR30BF_INSN_ORM, FR30BF_SFMT_ANDM },
|
69 |
|
|
// OBSOLETE { FR30_INSN_ORH, FR30BF_INSN_ORH, FR30BF_SFMT_ANDH },
|
70 |
|
|
// OBSOLETE { FR30_INSN_ORB, FR30BF_INSN_ORB, FR30BF_SFMT_ANDB },
|
71 |
|
|
// OBSOLETE { FR30_INSN_EORM, FR30BF_INSN_EORM, FR30BF_SFMT_ANDM },
|
72 |
|
|
// OBSOLETE { FR30_INSN_EORH, FR30BF_INSN_EORH, FR30BF_SFMT_ANDH },
|
73 |
|
|
// OBSOLETE { FR30_INSN_EORB, FR30BF_INSN_EORB, FR30BF_SFMT_ANDB },
|
74 |
|
|
// OBSOLETE { FR30_INSN_BANDL, FR30BF_INSN_BANDL, FR30BF_SFMT_BANDL },
|
75 |
|
|
// OBSOLETE { FR30_INSN_BORL, FR30BF_INSN_BORL, FR30BF_SFMT_BANDL },
|
76 |
|
|
// OBSOLETE { FR30_INSN_BEORL, FR30BF_INSN_BEORL, FR30BF_SFMT_BANDL },
|
77 |
|
|
// OBSOLETE { FR30_INSN_BANDH, FR30BF_INSN_BANDH, FR30BF_SFMT_BANDL },
|
78 |
|
|
// OBSOLETE { FR30_INSN_BORH, FR30BF_INSN_BORH, FR30BF_SFMT_BANDL },
|
79 |
|
|
// OBSOLETE { FR30_INSN_BEORH, FR30BF_INSN_BEORH, FR30BF_SFMT_BANDL },
|
80 |
|
|
// OBSOLETE { FR30_INSN_BTSTL, FR30BF_INSN_BTSTL, FR30BF_SFMT_BTSTL },
|
81 |
|
|
// OBSOLETE { FR30_INSN_BTSTH, FR30BF_INSN_BTSTH, FR30BF_SFMT_BTSTL },
|
82 |
|
|
// OBSOLETE { FR30_INSN_MUL, FR30BF_INSN_MUL, FR30BF_SFMT_MUL },
|
83 |
|
|
// OBSOLETE { FR30_INSN_MULU, FR30BF_INSN_MULU, FR30BF_SFMT_MULU },
|
84 |
|
|
// OBSOLETE { FR30_INSN_MULH, FR30BF_INSN_MULH, FR30BF_SFMT_MULH },
|
85 |
|
|
// OBSOLETE { FR30_INSN_MULUH, FR30BF_INSN_MULUH, FR30BF_SFMT_MULH },
|
86 |
|
|
// OBSOLETE { FR30_INSN_DIV0S, FR30BF_INSN_DIV0S, FR30BF_SFMT_DIV0S },
|
87 |
|
|
// OBSOLETE { FR30_INSN_DIV0U, FR30BF_INSN_DIV0U, FR30BF_SFMT_DIV0U },
|
88 |
|
|
// OBSOLETE { FR30_INSN_DIV1, FR30BF_INSN_DIV1, FR30BF_SFMT_DIV1 },
|
89 |
|
|
// OBSOLETE { FR30_INSN_DIV2, FR30BF_INSN_DIV2, FR30BF_SFMT_DIV2 },
|
90 |
|
|
// OBSOLETE { FR30_INSN_DIV3, FR30BF_INSN_DIV3, FR30BF_SFMT_DIV3 },
|
91 |
|
|
// OBSOLETE { FR30_INSN_DIV4S, FR30BF_INSN_DIV4S, FR30BF_SFMT_DIV4S },
|
92 |
|
|
// OBSOLETE { FR30_INSN_LSL, FR30BF_INSN_LSL, FR30BF_SFMT_LSL },
|
93 |
|
|
// OBSOLETE { FR30_INSN_LSLI, FR30BF_INSN_LSLI, FR30BF_SFMT_LSLI },
|
94 |
|
|
// OBSOLETE { FR30_INSN_LSL2, FR30BF_INSN_LSL2, FR30BF_SFMT_LSLI },
|
95 |
|
|
// OBSOLETE { FR30_INSN_LSR, FR30BF_INSN_LSR, FR30BF_SFMT_LSL },
|
96 |
|
|
// OBSOLETE { FR30_INSN_LSRI, FR30BF_INSN_LSRI, FR30BF_SFMT_LSLI },
|
97 |
|
|
// OBSOLETE { FR30_INSN_LSR2, FR30BF_INSN_LSR2, FR30BF_SFMT_LSLI },
|
98 |
|
|
// OBSOLETE { FR30_INSN_ASR, FR30BF_INSN_ASR, FR30BF_SFMT_LSL },
|
99 |
|
|
// OBSOLETE { FR30_INSN_ASRI, FR30BF_INSN_ASRI, FR30BF_SFMT_LSLI },
|
100 |
|
|
// OBSOLETE { FR30_INSN_ASR2, FR30BF_INSN_ASR2, FR30BF_SFMT_LSLI },
|
101 |
|
|
// OBSOLETE { FR30_INSN_LDI8, FR30BF_INSN_LDI8, FR30BF_SFMT_LDI8 },
|
102 |
|
|
// OBSOLETE { FR30_INSN_LDI20, FR30BF_INSN_LDI20, FR30BF_SFMT_LDI20 },
|
103 |
|
|
// OBSOLETE { FR30_INSN_LDI32, FR30BF_INSN_LDI32, FR30BF_SFMT_LDI32 },
|
104 |
|
|
// OBSOLETE { FR30_INSN_LD, FR30BF_INSN_LD, FR30BF_SFMT_LD },
|
105 |
|
|
// OBSOLETE { FR30_INSN_LDUH, FR30BF_INSN_LDUH, FR30BF_SFMT_LDUH },
|
106 |
|
|
// OBSOLETE { FR30_INSN_LDUB, FR30BF_INSN_LDUB, FR30BF_SFMT_LDUB },
|
107 |
|
|
// OBSOLETE { FR30_INSN_LDR13, FR30BF_INSN_LDR13, FR30BF_SFMT_LDR13 },
|
108 |
|
|
// OBSOLETE { FR30_INSN_LDR13UH, FR30BF_INSN_LDR13UH, FR30BF_SFMT_LDR13UH },
|
109 |
|
|
// OBSOLETE { FR30_INSN_LDR13UB, FR30BF_INSN_LDR13UB, FR30BF_SFMT_LDR13UB },
|
110 |
|
|
// OBSOLETE { FR30_INSN_LDR14, FR30BF_INSN_LDR14, FR30BF_SFMT_LDR14 },
|
111 |
|
|
// OBSOLETE { FR30_INSN_LDR14UH, FR30BF_INSN_LDR14UH, FR30BF_SFMT_LDR14UH },
|
112 |
|
|
// OBSOLETE { FR30_INSN_LDR14UB, FR30BF_INSN_LDR14UB, FR30BF_SFMT_LDR14UB },
|
113 |
|
|
// OBSOLETE { FR30_INSN_LDR15, FR30BF_INSN_LDR15, FR30BF_SFMT_LDR15 },
|
114 |
|
|
// OBSOLETE { FR30_INSN_LDR15GR, FR30BF_INSN_LDR15GR, FR30BF_SFMT_LDR15GR },
|
115 |
|
|
// OBSOLETE { FR30_INSN_LDR15DR, FR30BF_INSN_LDR15DR, FR30BF_SFMT_LDR15DR },
|
116 |
|
|
// OBSOLETE { FR30_INSN_LDR15PS, FR30BF_INSN_LDR15PS, FR30BF_SFMT_LDR15PS },
|
117 |
|
|
// OBSOLETE { FR30_INSN_ST, FR30BF_INSN_ST, FR30BF_SFMT_ST },
|
118 |
|
|
// OBSOLETE { FR30_INSN_STH, FR30BF_INSN_STH, FR30BF_SFMT_STH },
|
119 |
|
|
// OBSOLETE { FR30_INSN_STB, FR30BF_INSN_STB, FR30BF_SFMT_STB },
|
120 |
|
|
// OBSOLETE { FR30_INSN_STR13, FR30BF_INSN_STR13, FR30BF_SFMT_STR13 },
|
121 |
|
|
// OBSOLETE { FR30_INSN_STR13H, FR30BF_INSN_STR13H, FR30BF_SFMT_STR13H },
|
122 |
|
|
// OBSOLETE { FR30_INSN_STR13B, FR30BF_INSN_STR13B, FR30BF_SFMT_STR13B },
|
123 |
|
|
// OBSOLETE { FR30_INSN_STR14, FR30BF_INSN_STR14, FR30BF_SFMT_STR14 },
|
124 |
|
|
// OBSOLETE { FR30_INSN_STR14H, FR30BF_INSN_STR14H, FR30BF_SFMT_STR14H },
|
125 |
|
|
// OBSOLETE { FR30_INSN_STR14B, FR30BF_INSN_STR14B, FR30BF_SFMT_STR14B },
|
126 |
|
|
// OBSOLETE { FR30_INSN_STR15, FR30BF_INSN_STR15, FR30BF_SFMT_STR15 },
|
127 |
|
|
// OBSOLETE { FR30_INSN_STR15GR, FR30BF_INSN_STR15GR, FR30BF_SFMT_STR15GR },
|
128 |
|
|
// OBSOLETE { FR30_INSN_STR15DR, FR30BF_INSN_STR15DR, FR30BF_SFMT_STR15DR },
|
129 |
|
|
// OBSOLETE { FR30_INSN_STR15PS, FR30BF_INSN_STR15PS, FR30BF_SFMT_STR15PS },
|
130 |
|
|
// OBSOLETE { FR30_INSN_MOV, FR30BF_INSN_MOV, FR30BF_SFMT_MOV },
|
131 |
|
|
// OBSOLETE { FR30_INSN_MOVDR, FR30BF_INSN_MOVDR, FR30BF_SFMT_MOVDR },
|
132 |
|
|
// OBSOLETE { FR30_INSN_MOVPS, FR30BF_INSN_MOVPS, FR30BF_SFMT_MOVPS },
|
133 |
|
|
// OBSOLETE { FR30_INSN_MOV2DR, FR30BF_INSN_MOV2DR, FR30BF_SFMT_MOV2DR },
|
134 |
|
|
// OBSOLETE { FR30_INSN_MOV2PS, FR30BF_INSN_MOV2PS, FR30BF_SFMT_MOV2PS },
|
135 |
|
|
// OBSOLETE { FR30_INSN_JMP, FR30BF_INSN_JMP, FR30BF_SFMT_JMP },
|
136 |
|
|
// OBSOLETE { FR30_INSN_JMPD, FR30BF_INSN_JMPD, FR30BF_SFMT_JMP },
|
137 |
|
|
// OBSOLETE { FR30_INSN_CALLR, FR30BF_INSN_CALLR, FR30BF_SFMT_CALLR },
|
138 |
|
|
// OBSOLETE { FR30_INSN_CALLRD, FR30BF_INSN_CALLRD, FR30BF_SFMT_CALLR },
|
139 |
|
|
// OBSOLETE { FR30_INSN_CALL, FR30BF_INSN_CALL, FR30BF_SFMT_CALL },
|
140 |
|
|
// OBSOLETE { FR30_INSN_CALLD, FR30BF_INSN_CALLD, FR30BF_SFMT_CALL },
|
141 |
|
|
// OBSOLETE { FR30_INSN_RET, FR30BF_INSN_RET, FR30BF_SFMT_RET },
|
142 |
|
|
// OBSOLETE { FR30_INSN_RET_D, FR30BF_INSN_RET_D, FR30BF_SFMT_RET },
|
143 |
|
|
// OBSOLETE { FR30_INSN_INT, FR30BF_INSN_INT, FR30BF_SFMT_INT },
|
144 |
|
|
// OBSOLETE { FR30_INSN_INTE, FR30BF_INSN_INTE, FR30BF_SFMT_INTE },
|
145 |
|
|
// OBSOLETE { FR30_INSN_RETI, FR30BF_INSN_RETI, FR30BF_SFMT_RETI },
|
146 |
|
|
// OBSOLETE { FR30_INSN_BRAD, FR30BF_INSN_BRAD, FR30BF_SFMT_BRAD },
|
147 |
|
|
// OBSOLETE { FR30_INSN_BRA, FR30BF_INSN_BRA, FR30BF_SFMT_BRAD },
|
148 |
|
|
// OBSOLETE { FR30_INSN_BNOD, FR30BF_INSN_BNOD, FR30BF_SFMT_BNOD },
|
149 |
|
|
// OBSOLETE { FR30_INSN_BNO, FR30BF_INSN_BNO, FR30BF_SFMT_BNOD },
|
150 |
|
|
// OBSOLETE { FR30_INSN_BEQD, FR30BF_INSN_BEQD, FR30BF_SFMT_BEQD },
|
151 |
|
|
// OBSOLETE { FR30_INSN_BEQ, FR30BF_INSN_BEQ, FR30BF_SFMT_BEQD },
|
152 |
|
|
// OBSOLETE { FR30_INSN_BNED, FR30BF_INSN_BNED, FR30BF_SFMT_BEQD },
|
153 |
|
|
// OBSOLETE { FR30_INSN_BNE, FR30BF_INSN_BNE, FR30BF_SFMT_BEQD },
|
154 |
|
|
// OBSOLETE { FR30_INSN_BCD, FR30BF_INSN_BCD, FR30BF_SFMT_BCD },
|
155 |
|
|
// OBSOLETE { FR30_INSN_BC, FR30BF_INSN_BC, FR30BF_SFMT_BCD },
|
156 |
|
|
// OBSOLETE { FR30_INSN_BNCD, FR30BF_INSN_BNCD, FR30BF_SFMT_BCD },
|
157 |
|
|
// OBSOLETE { FR30_INSN_BNC, FR30BF_INSN_BNC, FR30BF_SFMT_BCD },
|
158 |
|
|
// OBSOLETE { FR30_INSN_BND, FR30BF_INSN_BND, FR30BF_SFMT_BND },
|
159 |
|
|
// OBSOLETE { FR30_INSN_BN, FR30BF_INSN_BN, FR30BF_SFMT_BND },
|
160 |
|
|
// OBSOLETE { FR30_INSN_BPD, FR30BF_INSN_BPD, FR30BF_SFMT_BND },
|
161 |
|
|
// OBSOLETE { FR30_INSN_BP, FR30BF_INSN_BP, FR30BF_SFMT_BND },
|
162 |
|
|
// OBSOLETE { FR30_INSN_BVD, FR30BF_INSN_BVD, FR30BF_SFMT_BVD },
|
163 |
|
|
// OBSOLETE { FR30_INSN_BV, FR30BF_INSN_BV, FR30BF_SFMT_BVD },
|
164 |
|
|
// OBSOLETE { FR30_INSN_BNVD, FR30BF_INSN_BNVD, FR30BF_SFMT_BVD },
|
165 |
|
|
// OBSOLETE { FR30_INSN_BNV, FR30BF_INSN_BNV, FR30BF_SFMT_BVD },
|
166 |
|
|
// OBSOLETE { FR30_INSN_BLTD, FR30BF_INSN_BLTD, FR30BF_SFMT_BLTD },
|
167 |
|
|
// OBSOLETE { FR30_INSN_BLT, FR30BF_INSN_BLT, FR30BF_SFMT_BLTD },
|
168 |
|
|
// OBSOLETE { FR30_INSN_BGED, FR30BF_INSN_BGED, FR30BF_SFMT_BLTD },
|
169 |
|
|
// OBSOLETE { FR30_INSN_BGE, FR30BF_INSN_BGE, FR30BF_SFMT_BLTD },
|
170 |
|
|
// OBSOLETE { FR30_INSN_BLED, FR30BF_INSN_BLED, FR30BF_SFMT_BLED },
|
171 |
|
|
// OBSOLETE { FR30_INSN_BLE, FR30BF_INSN_BLE, FR30BF_SFMT_BLED },
|
172 |
|
|
// OBSOLETE { FR30_INSN_BGTD, FR30BF_INSN_BGTD, FR30BF_SFMT_BLED },
|
173 |
|
|
// OBSOLETE { FR30_INSN_BGT, FR30BF_INSN_BGT, FR30BF_SFMT_BLED },
|
174 |
|
|
// OBSOLETE { FR30_INSN_BLSD, FR30BF_INSN_BLSD, FR30BF_SFMT_BLSD },
|
175 |
|
|
// OBSOLETE { FR30_INSN_BLS, FR30BF_INSN_BLS, FR30BF_SFMT_BLSD },
|
176 |
|
|
// OBSOLETE { FR30_INSN_BHID, FR30BF_INSN_BHID, FR30BF_SFMT_BLSD },
|
177 |
|
|
// OBSOLETE { FR30_INSN_BHI, FR30BF_INSN_BHI, FR30BF_SFMT_BLSD },
|
178 |
|
|
// OBSOLETE { FR30_INSN_DMOVR13, FR30BF_INSN_DMOVR13, FR30BF_SFMT_DMOVR13 },
|
179 |
|
|
// OBSOLETE { FR30_INSN_DMOVR13H, FR30BF_INSN_DMOVR13H, FR30BF_SFMT_DMOVR13H },
|
180 |
|
|
// OBSOLETE { FR30_INSN_DMOVR13B, FR30BF_INSN_DMOVR13B, FR30BF_SFMT_DMOVR13B },
|
181 |
|
|
// OBSOLETE { FR30_INSN_DMOVR13PI, FR30BF_INSN_DMOVR13PI, FR30BF_SFMT_DMOVR13PI },
|
182 |
|
|
// OBSOLETE { FR30_INSN_DMOVR13PIH, FR30BF_INSN_DMOVR13PIH, FR30BF_SFMT_DMOVR13PIH },
|
183 |
|
|
// OBSOLETE { FR30_INSN_DMOVR13PIB, FR30BF_INSN_DMOVR13PIB, FR30BF_SFMT_DMOVR13PIB },
|
184 |
|
|
// OBSOLETE { FR30_INSN_DMOVR15PI, FR30BF_INSN_DMOVR15PI, FR30BF_SFMT_DMOVR15PI },
|
185 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R13, FR30BF_INSN_DMOV2R13, FR30BF_SFMT_DMOV2R13 },
|
186 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R13H, FR30BF_INSN_DMOV2R13H, FR30BF_SFMT_DMOV2R13H },
|
187 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R13B, FR30BF_INSN_DMOV2R13B, FR30BF_SFMT_DMOV2R13B },
|
188 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R13PI, FR30BF_INSN_DMOV2R13PI, FR30BF_SFMT_DMOV2R13PI },
|
189 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R13PIH, FR30BF_INSN_DMOV2R13PIH, FR30BF_SFMT_DMOV2R13PIH },
|
190 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R13PIB, FR30BF_INSN_DMOV2R13PIB, FR30BF_SFMT_DMOV2R13PIB },
|
191 |
|
|
// OBSOLETE { FR30_INSN_DMOV2R15PD, FR30BF_INSN_DMOV2R15PD, FR30BF_SFMT_DMOV2R15PD },
|
192 |
|
|
// OBSOLETE { FR30_INSN_LDRES, FR30BF_INSN_LDRES, FR30BF_SFMT_LDRES },
|
193 |
|
|
// OBSOLETE { FR30_INSN_STRES, FR30BF_INSN_STRES, FR30BF_SFMT_LDRES },
|
194 |
|
|
// OBSOLETE { FR30_INSN_COPOP, FR30BF_INSN_COPOP, FR30BF_SFMT_COPOP },
|
195 |
|
|
// OBSOLETE { FR30_INSN_COPLD, FR30BF_INSN_COPLD, FR30BF_SFMT_COPOP },
|
196 |
|
|
// OBSOLETE { FR30_INSN_COPST, FR30BF_INSN_COPST, FR30BF_SFMT_COPOP },
|
197 |
|
|
// OBSOLETE { FR30_INSN_COPSV, FR30BF_INSN_COPSV, FR30BF_SFMT_COPOP },
|
198 |
|
|
// OBSOLETE { FR30_INSN_NOP, FR30BF_INSN_NOP, FR30BF_SFMT_BNOD },
|
199 |
|
|
// OBSOLETE { FR30_INSN_ANDCCR, FR30BF_INSN_ANDCCR, FR30BF_SFMT_ANDCCR },
|
200 |
|
|
// OBSOLETE { FR30_INSN_ORCCR, FR30BF_INSN_ORCCR, FR30BF_SFMT_ANDCCR },
|
201 |
|
|
// OBSOLETE { FR30_INSN_STILM, FR30BF_INSN_STILM, FR30BF_SFMT_STILM },
|
202 |
|
|
// OBSOLETE { FR30_INSN_ADDSP, FR30BF_INSN_ADDSP, FR30BF_SFMT_ADDSP },
|
203 |
|
|
// OBSOLETE { FR30_INSN_EXTSB, FR30BF_INSN_EXTSB, FR30BF_SFMT_EXTSB },
|
204 |
|
|
// OBSOLETE { FR30_INSN_EXTUB, FR30BF_INSN_EXTUB, FR30BF_SFMT_EXTUB },
|
205 |
|
|
// OBSOLETE { FR30_INSN_EXTSH, FR30BF_INSN_EXTSH, FR30BF_SFMT_EXTSH },
|
206 |
|
|
// OBSOLETE { FR30_INSN_EXTUH, FR30BF_INSN_EXTUH, FR30BF_SFMT_EXTUH },
|
207 |
|
|
// OBSOLETE { FR30_INSN_LDM0, FR30BF_INSN_LDM0, FR30BF_SFMT_LDM0 },
|
208 |
|
|
// OBSOLETE { FR30_INSN_LDM1, FR30BF_INSN_LDM1, FR30BF_SFMT_LDM1 },
|
209 |
|
|
// OBSOLETE { FR30_INSN_STM0, FR30BF_INSN_STM0, FR30BF_SFMT_STM0 },
|
210 |
|
|
// OBSOLETE { FR30_INSN_STM1, FR30BF_INSN_STM1, FR30BF_SFMT_STM1 },
|
211 |
|
|
// OBSOLETE { FR30_INSN_ENTER, FR30BF_INSN_ENTER, FR30BF_SFMT_ENTER },
|
212 |
|
|
// OBSOLETE { FR30_INSN_LEAVE, FR30BF_INSN_LEAVE, FR30BF_SFMT_LEAVE },
|
213 |
|
|
// OBSOLETE { FR30_INSN_XCHB, FR30BF_INSN_XCHB, FR30BF_SFMT_XCHB },
|
214 |
|
|
// OBSOLETE };
|
215 |
|
|
// OBSOLETE
|
216 |
|
|
// OBSOLETE static const struct insn_sem fr30bf_insn_sem_invalid = {
|
217 |
|
|
// OBSOLETE VIRTUAL_INSN_X_INVALID, FR30BF_INSN_X_INVALID, FR30BF_SFMT_EMPTY
|
218 |
|
|
// OBSOLETE };
|
219 |
|
|
// OBSOLETE
|
220 |
|
|
// OBSOLETE /* Initialize an IDESC from the compile-time computable parts. */
|
221 |
|
|
// OBSOLETE
|
222 |
|
|
// OBSOLETE static INLINE void
|
223 |
|
|
// OBSOLETE init_idesc (SIM_CPU *cpu, IDESC *id, const struct insn_sem *t)
|
224 |
|
|
// OBSOLETE {
|
225 |
|
|
// OBSOLETE const CGEN_INSN *insn_table = CGEN_CPU_INSN_TABLE (CPU_CPU_DESC (cpu))->init_entries;
|
226 |
|
|
// OBSOLETE
|
227 |
|
|
// OBSOLETE id->num = t->index;
|
228 |
|
|
// OBSOLETE id->sfmt = t->sfmt;
|
229 |
|
|
// OBSOLETE if ((int) t->type <= 0)
|
230 |
|
|
// OBSOLETE id->idata = & cgen_virtual_insn_table[- (int) t->type];
|
231 |
|
|
// OBSOLETE else
|
232 |
|
|
// OBSOLETE id->idata = & insn_table[t->type];
|
233 |
|
|
// OBSOLETE id->attrs = CGEN_INSN_ATTRS (id->idata);
|
234 |
|
|
// OBSOLETE /* Oh my god, a magic number. */
|
235 |
|
|
// OBSOLETE id->length = CGEN_INSN_BITSIZE (id->idata) / 8;
|
236 |
|
|
// OBSOLETE
|
237 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
238 |
|
|
// OBSOLETE id->timing = & MODEL_TIMING (CPU_MODEL (cpu)) [t->index];
|
239 |
|
|
// OBSOLETE {
|
240 |
|
|
// OBSOLETE SIM_DESC sd = CPU_STATE (cpu);
|
241 |
|
|
// OBSOLETE SIM_ASSERT (t->index == id->timing->num);
|
242 |
|
|
// OBSOLETE }
|
243 |
|
|
// OBSOLETE #endif
|
244 |
|
|
// OBSOLETE
|
245 |
|
|
// OBSOLETE /* Semantic pointers are initialized elsewhere. */
|
246 |
|
|
// OBSOLETE }
|
247 |
|
|
// OBSOLETE
|
248 |
|
|
// OBSOLETE /* Initialize the instruction descriptor table. */
|
249 |
|
|
// OBSOLETE
|
250 |
|
|
// OBSOLETE void
|
251 |
|
|
// OBSOLETE fr30bf_init_idesc_table (SIM_CPU *cpu)
|
252 |
|
|
// OBSOLETE {
|
253 |
|
|
// OBSOLETE IDESC *id,*tabend;
|
254 |
|
|
// OBSOLETE const struct insn_sem *t,*tend;
|
255 |
|
|
// OBSOLETE int tabsize = sizeof (fr30bf_insn_data) / sizeof (IDESC);
|
256 |
|
|
// OBSOLETE IDESC *table = fr30bf_insn_data;
|
257 |
|
|
// OBSOLETE
|
258 |
|
|
// OBSOLETE memset (table, 0, tabsize * sizeof (IDESC));
|
259 |
|
|
// OBSOLETE
|
260 |
|
|
// OBSOLETE /* First set all entries to the `invalid insn'. */
|
261 |
|
|
// OBSOLETE t = & fr30bf_insn_sem_invalid;
|
262 |
|
|
// OBSOLETE for (id = table, tabend = table + tabsize; id < tabend; ++id)
|
263 |
|
|
// OBSOLETE init_idesc (cpu, id, t);
|
264 |
|
|
// OBSOLETE
|
265 |
|
|
// OBSOLETE /* Now fill in the values for the chosen cpu. */
|
266 |
|
|
// OBSOLETE for (t = fr30bf_insn_sem, tend = t + sizeof (fr30bf_insn_sem) / sizeof (*t);
|
267 |
|
|
// OBSOLETE t != tend; ++t)
|
268 |
|
|
// OBSOLETE {
|
269 |
|
|
// OBSOLETE init_idesc (cpu, & table[t->index], t);
|
270 |
|
|
// OBSOLETE }
|
271 |
|
|
// OBSOLETE
|
272 |
|
|
// OBSOLETE /* Link the IDESC table into the cpu. */
|
273 |
|
|
// OBSOLETE CPU_IDESC (cpu) = table;
|
274 |
|
|
// OBSOLETE }
|
275 |
|
|
// OBSOLETE
|
276 |
|
|
// OBSOLETE /* Given an instruction, return a pointer to its IDESC entry. */
|
277 |
|
|
// OBSOLETE
|
278 |
|
|
// OBSOLETE const IDESC *
|
279 |
|
|
// OBSOLETE fr30bf_decode (SIM_CPU *current_cpu, IADDR pc,
|
280 |
|
|
// OBSOLETE CGEN_INSN_INT base_insn,
|
281 |
|
|
// OBSOLETE ARGBUF *abuf)
|
282 |
|
|
// OBSOLETE {
|
283 |
|
|
// OBSOLETE /* Result of decoder. */
|
284 |
|
|
// OBSOLETE FR30BF_INSN_TYPE itype;
|
285 |
|
|
// OBSOLETE
|
286 |
|
|
// OBSOLETE {
|
287 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
288 |
|
|
// OBSOLETE
|
289 |
|
|
// OBSOLETE {
|
290 |
|
|
// OBSOLETE unsigned int val = (((insn >> 8) & (255 << 0)));
|
291 |
|
|
// OBSOLETE switch (val)
|
292 |
|
|
// OBSOLETE {
|
293 |
|
|
// OBSOLETE case 0 : itype = FR30BF_INSN_LDR13;goto extract_sfmt_ldr13;
|
294 |
|
|
// OBSOLETE case 1 : itype = FR30BF_INSN_LDR13UH;goto extract_sfmt_ldr13uh;
|
295 |
|
|
// OBSOLETE case 2 : itype = FR30BF_INSN_LDR13UB;goto extract_sfmt_ldr13ub;
|
296 |
|
|
// OBSOLETE case 3 : itype = FR30BF_INSN_LDR15;goto extract_sfmt_ldr15;
|
297 |
|
|
// OBSOLETE case 4 : itype = FR30BF_INSN_LD;goto extract_sfmt_ld;
|
298 |
|
|
// OBSOLETE case 5 : itype = FR30BF_INSN_LDUH;goto extract_sfmt_lduh;
|
299 |
|
|
// OBSOLETE case 6 : itype = FR30BF_INSN_LDUB;goto extract_sfmt_ldub;
|
300 |
|
|
// OBSOLETE case 7 :
|
301 |
|
|
// OBSOLETE {
|
302 |
|
|
// OBSOLETE unsigned int val = (((insn >> 6) & (1 << 1)) | ((insn >> 4) & (1 << 0)));
|
303 |
|
|
// OBSOLETE switch (val)
|
304 |
|
|
// OBSOLETE {
|
305 |
|
|
// OBSOLETE case 0 : itype = FR30BF_INSN_LDR15GR;goto extract_sfmt_ldr15gr;
|
306 |
|
|
// OBSOLETE case 1 : itype = FR30BF_INSN_MOV2PS;goto extract_sfmt_mov2ps;
|
307 |
|
|
// OBSOLETE case 2 : itype = FR30BF_INSN_LDR15DR;goto extract_sfmt_ldr15dr;
|
308 |
|
|
// OBSOLETE case 3 : itype = FR30BF_INSN_LDR15PS;goto extract_sfmt_ldr15ps;
|
309 |
|
|
// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty;
|
310 |
|
|
// OBSOLETE }
|
311 |
|
|
// OBSOLETE }
|
312 |
|
|
// OBSOLETE case 8 : itype = FR30BF_INSN_DMOV2R13;goto extract_sfmt_dmov2r13;
|
313 |
|
|
// OBSOLETE case 9 : itype = FR30BF_INSN_DMOV2R13H;goto extract_sfmt_dmov2r13h;
|
314 |
|
|
// OBSOLETE case 10 : itype = FR30BF_INSN_DMOV2R13B;goto extract_sfmt_dmov2r13b;
|
315 |
|
|
// OBSOLETE case 11 : itype = FR30BF_INSN_DMOV2R15PD;goto extract_sfmt_dmov2r15pd;
|
316 |
|
|
// OBSOLETE case 12 : itype = FR30BF_INSN_DMOV2R13PI;goto extract_sfmt_dmov2r13pi;
|
317 |
|
|
// OBSOLETE case 13 : itype = FR30BF_INSN_DMOV2R13PIH;goto extract_sfmt_dmov2r13pih;
|
318 |
|
|
// OBSOLETE case 14 : itype = FR30BF_INSN_DMOV2R13PIB;goto extract_sfmt_dmov2r13pib;
|
319 |
|
|
// OBSOLETE case 15 : itype = FR30BF_INSN_ENTER;goto extract_sfmt_enter;
|
320 |
|
|
// OBSOLETE case 16 : itype = FR30BF_INSN_STR13;goto extract_sfmt_str13;
|
321 |
|
|
// OBSOLETE case 17 : itype = FR30BF_INSN_STR13H;goto extract_sfmt_str13h;
|
322 |
|
|
// OBSOLETE case 18 : itype = FR30BF_INSN_STR13B;goto extract_sfmt_str13b;
|
323 |
|
|
// OBSOLETE case 19 : itype = FR30BF_INSN_STR15;goto extract_sfmt_str15;
|
324 |
|
|
// OBSOLETE case 20 : itype = FR30BF_INSN_ST;goto extract_sfmt_st;
|
325 |
|
|
// OBSOLETE case 21 : itype = FR30BF_INSN_STH;goto extract_sfmt_sth;
|
326 |
|
|
// OBSOLETE case 22 : itype = FR30BF_INSN_STB;goto extract_sfmt_stb;
|
327 |
|
|
// OBSOLETE case 23 :
|
328 |
|
|
// OBSOLETE {
|
329 |
|
|
// OBSOLETE unsigned int val = (((insn >> 6) & (1 << 1)) | ((insn >> 4) & (1 << 0)));
|
330 |
|
|
// OBSOLETE switch (val)
|
331 |
|
|
// OBSOLETE {
|
332 |
|
|
// OBSOLETE case 0 : itype = FR30BF_INSN_STR15GR;goto extract_sfmt_str15gr;
|
333 |
|
|
// OBSOLETE case 1 : itype = FR30BF_INSN_MOVPS;goto extract_sfmt_movps;
|
334 |
|
|
// OBSOLETE case 2 : itype = FR30BF_INSN_STR15DR;goto extract_sfmt_str15dr;
|
335 |
|
|
// OBSOLETE case 3 : itype = FR30BF_INSN_STR15PS;goto extract_sfmt_str15ps;
|
336 |
|
|
// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty;
|
337 |
|
|
// OBSOLETE }
|
338 |
|
|
// OBSOLETE }
|
339 |
|
|
// OBSOLETE case 24 : itype = FR30BF_INSN_DMOVR13;goto extract_sfmt_dmovr13;
|
340 |
|
|
// OBSOLETE case 25 : itype = FR30BF_INSN_DMOVR13H;goto extract_sfmt_dmovr13h;
|
341 |
|
|
// OBSOLETE case 26 : itype = FR30BF_INSN_DMOVR13B;goto extract_sfmt_dmovr13b;
|
342 |
|
|
// OBSOLETE case 27 : itype = FR30BF_INSN_DMOVR15PI;goto extract_sfmt_dmovr15pi;
|
343 |
|
|
// OBSOLETE case 28 : itype = FR30BF_INSN_DMOVR13PI;goto extract_sfmt_dmovr13pi;
|
344 |
|
|
// OBSOLETE case 29 : itype = FR30BF_INSN_DMOVR13PIH;goto extract_sfmt_dmovr13pih;
|
345 |
|
|
// OBSOLETE case 30 : itype = FR30BF_INSN_DMOVR13PIB;goto extract_sfmt_dmovr13pib;
|
346 |
|
|
// OBSOLETE case 31 : itype = FR30BF_INSN_INT;goto extract_sfmt_int;
|
347 |
|
|
// OBSOLETE case 32 : /* fall through */
|
348 |
|
|
// OBSOLETE case 33 : /* fall through */
|
349 |
|
|
// OBSOLETE case 34 : /* fall through */
|
350 |
|
|
// OBSOLETE case 35 : /* fall through */
|
351 |
|
|
// OBSOLETE case 36 : /* fall through */
|
352 |
|
|
// OBSOLETE case 37 : /* fall through */
|
353 |
|
|
// OBSOLETE case 38 : /* fall through */
|
354 |
|
|
// OBSOLETE case 39 : /* fall through */
|
355 |
|
|
// OBSOLETE case 40 : /* fall through */
|
356 |
|
|
// OBSOLETE case 41 : /* fall through */
|
357 |
|
|
// OBSOLETE case 42 : /* fall through */
|
358 |
|
|
// OBSOLETE case 43 : /* fall through */
|
359 |
|
|
// OBSOLETE case 44 : /* fall through */
|
360 |
|
|
// OBSOLETE case 45 : /* fall through */
|
361 |
|
|
// OBSOLETE case 46 : /* fall through */
|
362 |
|
|
// OBSOLETE case 47 : itype = FR30BF_INSN_LDR14;goto extract_sfmt_ldr14;
|
363 |
|
|
// OBSOLETE case 48 : /* fall through */
|
364 |
|
|
// OBSOLETE case 49 : /* fall through */
|
365 |
|
|
// OBSOLETE case 50 : /* fall through */
|
366 |
|
|
// OBSOLETE case 51 : /* fall through */
|
367 |
|
|
// OBSOLETE case 52 : /* fall through */
|
368 |
|
|
// OBSOLETE case 53 : /* fall through */
|
369 |
|
|
// OBSOLETE case 54 : /* fall through */
|
370 |
|
|
// OBSOLETE case 55 : /* fall through */
|
371 |
|
|
// OBSOLETE case 56 : /* fall through */
|
372 |
|
|
// OBSOLETE case 57 : /* fall through */
|
373 |
|
|
// OBSOLETE case 58 : /* fall through */
|
374 |
|
|
// OBSOLETE case 59 : /* fall through */
|
375 |
|
|
// OBSOLETE case 60 : /* fall through */
|
376 |
|
|
// OBSOLETE case 61 : /* fall through */
|
377 |
|
|
// OBSOLETE case 62 : /* fall through */
|
378 |
|
|
// OBSOLETE case 63 : itype = FR30BF_INSN_STR14;goto extract_sfmt_str14;
|
379 |
|
|
// OBSOLETE case 64 : /* fall through */
|
380 |
|
|
// OBSOLETE case 65 : /* fall through */
|
381 |
|
|
// OBSOLETE case 66 : /* fall through */
|
382 |
|
|
// OBSOLETE case 67 : /* fall through */
|
383 |
|
|
// OBSOLETE case 68 : /* fall through */
|
384 |
|
|
// OBSOLETE case 69 : /* fall through */
|
385 |
|
|
// OBSOLETE case 70 : /* fall through */
|
386 |
|
|
// OBSOLETE case 71 : /* fall through */
|
387 |
|
|
// OBSOLETE case 72 : /* fall through */
|
388 |
|
|
// OBSOLETE case 73 : /* fall through */
|
389 |
|
|
// OBSOLETE case 74 : /* fall through */
|
390 |
|
|
// OBSOLETE case 75 : /* fall through */
|
391 |
|
|
// OBSOLETE case 76 : /* fall through */
|
392 |
|
|
// OBSOLETE case 77 : /* fall through */
|
393 |
|
|
// OBSOLETE case 78 : /* fall through */
|
394 |
|
|
// OBSOLETE case 79 : itype = FR30BF_INSN_LDR14UH;goto extract_sfmt_ldr14uh;
|
395 |
|
|
// OBSOLETE case 80 : /* fall through */
|
396 |
|
|
// OBSOLETE case 81 : /* fall through */
|
397 |
|
|
// OBSOLETE case 82 : /* fall through */
|
398 |
|
|
// OBSOLETE case 83 : /* fall through */
|
399 |
|
|
// OBSOLETE case 84 : /* fall through */
|
400 |
|
|
// OBSOLETE case 85 : /* fall through */
|
401 |
|
|
// OBSOLETE case 86 : /* fall through */
|
402 |
|
|
// OBSOLETE case 87 : /* fall through */
|
403 |
|
|
// OBSOLETE case 88 : /* fall through */
|
404 |
|
|
// OBSOLETE case 89 : /* fall through */
|
405 |
|
|
// OBSOLETE case 90 : /* fall through */
|
406 |
|
|
// OBSOLETE case 91 : /* fall through */
|
407 |
|
|
// OBSOLETE case 92 : /* fall through */
|
408 |
|
|
// OBSOLETE case 93 : /* fall through */
|
409 |
|
|
// OBSOLETE case 94 : /* fall through */
|
410 |
|
|
// OBSOLETE case 95 : itype = FR30BF_INSN_STR14H;goto extract_sfmt_str14h;
|
411 |
|
|
// OBSOLETE case 96 : /* fall through */
|
412 |
|
|
// OBSOLETE case 97 : /* fall through */
|
413 |
|
|
// OBSOLETE case 98 : /* fall through */
|
414 |
|
|
// OBSOLETE case 99 : /* fall through */
|
415 |
|
|
// OBSOLETE case 100 : /* fall through */
|
416 |
|
|
// OBSOLETE case 101 : /* fall through */
|
417 |
|
|
// OBSOLETE case 102 : /* fall through */
|
418 |
|
|
// OBSOLETE case 103 : /* fall through */
|
419 |
|
|
// OBSOLETE case 104 : /* fall through */
|
420 |
|
|
// OBSOLETE case 105 : /* fall through */
|
421 |
|
|
// OBSOLETE case 106 : /* fall through */
|
422 |
|
|
// OBSOLETE case 107 : /* fall through */
|
423 |
|
|
// OBSOLETE case 108 : /* fall through */
|
424 |
|
|
// OBSOLETE case 109 : /* fall through */
|
425 |
|
|
// OBSOLETE case 110 : /* fall through */
|
426 |
|
|
// OBSOLETE case 111 : itype = FR30BF_INSN_LDR14UB;goto extract_sfmt_ldr14ub;
|
427 |
|
|
// OBSOLETE case 112 : /* fall through */
|
428 |
|
|
// OBSOLETE case 113 : /* fall through */
|
429 |
|
|
// OBSOLETE case 114 : /* fall through */
|
430 |
|
|
// OBSOLETE case 115 : /* fall through */
|
431 |
|
|
// OBSOLETE case 116 : /* fall through */
|
432 |
|
|
// OBSOLETE case 117 : /* fall through */
|
433 |
|
|
// OBSOLETE case 118 : /* fall through */
|
434 |
|
|
// OBSOLETE case 119 : /* fall through */
|
435 |
|
|
// OBSOLETE case 120 : /* fall through */
|
436 |
|
|
// OBSOLETE case 121 : /* fall through */
|
437 |
|
|
// OBSOLETE case 122 : /* fall through */
|
438 |
|
|
// OBSOLETE case 123 : /* fall through */
|
439 |
|
|
// OBSOLETE case 124 : /* fall through */
|
440 |
|
|
// OBSOLETE case 125 : /* fall through */
|
441 |
|
|
// OBSOLETE case 126 : /* fall through */
|
442 |
|
|
// OBSOLETE case 127 : itype = FR30BF_INSN_STR14B;goto extract_sfmt_str14b;
|
443 |
|
|
// OBSOLETE case 128 : itype = FR30BF_INSN_BANDL;goto extract_sfmt_bandl;
|
444 |
|
|
// OBSOLETE case 129 : itype = FR30BF_INSN_BANDH;goto extract_sfmt_bandl;
|
445 |
|
|
// OBSOLETE case 130 : itype = FR30BF_INSN_AND;goto extract_sfmt_and;
|
446 |
|
|
// OBSOLETE case 131 : itype = FR30BF_INSN_ANDCCR;goto extract_sfmt_andccr;
|
447 |
|
|
// OBSOLETE case 132 : itype = FR30BF_INSN_ANDM;goto extract_sfmt_andm;
|
448 |
|
|
// OBSOLETE case 133 : itype = FR30BF_INSN_ANDH;goto extract_sfmt_andh;
|
449 |
|
|
// OBSOLETE case 134 : itype = FR30BF_INSN_ANDB;goto extract_sfmt_andb;
|
450 |
|
|
// OBSOLETE case 135 : itype = FR30BF_INSN_STILM;goto extract_sfmt_stilm;
|
451 |
|
|
// OBSOLETE case 136 : itype = FR30BF_INSN_BTSTL;goto extract_sfmt_btstl;
|
452 |
|
|
// OBSOLETE case 137 : itype = FR30BF_INSN_BTSTH;goto extract_sfmt_btstl;
|
453 |
|
|
// OBSOLETE case 138 : itype = FR30BF_INSN_XCHB;goto extract_sfmt_xchb;
|
454 |
|
|
// OBSOLETE case 139 : itype = FR30BF_INSN_MOV;goto extract_sfmt_mov;
|
455 |
|
|
// OBSOLETE case 140 : itype = FR30BF_INSN_LDM0;goto extract_sfmt_ldm0;
|
456 |
|
|
// OBSOLETE case 141 : itype = FR30BF_INSN_LDM1;goto extract_sfmt_ldm1;
|
457 |
|
|
// OBSOLETE case 142 : itype = FR30BF_INSN_STM0;goto extract_sfmt_stm0;
|
458 |
|
|
// OBSOLETE case 143 : itype = FR30BF_INSN_STM1;goto extract_sfmt_stm1;
|
459 |
|
|
// OBSOLETE case 144 : itype = FR30BF_INSN_BORL;goto extract_sfmt_bandl;
|
460 |
|
|
// OBSOLETE case 145 : itype = FR30BF_INSN_BORH;goto extract_sfmt_bandl;
|
461 |
|
|
// OBSOLETE case 146 : itype = FR30BF_INSN_OR;goto extract_sfmt_and;
|
462 |
|
|
// OBSOLETE case 147 : itype = FR30BF_INSN_ORCCR;goto extract_sfmt_andccr;
|
463 |
|
|
// OBSOLETE case 148 : itype = FR30BF_INSN_ORM;goto extract_sfmt_andm;
|
464 |
|
|
// OBSOLETE case 149 : itype = FR30BF_INSN_ORH;goto extract_sfmt_andh;
|
465 |
|
|
// OBSOLETE case 150 : itype = FR30BF_INSN_ORB;goto extract_sfmt_andb;
|
466 |
|
|
// OBSOLETE case 151 :
|
467 |
|
|
// OBSOLETE {
|
468 |
|
|
// OBSOLETE unsigned int val = (((insn >> 4) & (15 << 0)));
|
469 |
|
|
// OBSOLETE switch (val)
|
470 |
|
|
// OBSOLETE {
|
471 |
|
|
// OBSOLETE case 0 : itype = FR30BF_INSN_JMP;goto extract_sfmt_jmp;
|
472 |
|
|
// OBSOLETE case 1 : itype = FR30BF_INSN_CALLR;goto extract_sfmt_callr;
|
473 |
|
|
// OBSOLETE case 2 : itype = FR30BF_INSN_RET;goto extract_sfmt_ret;
|
474 |
|
|
// OBSOLETE case 3 : itype = FR30BF_INSN_RETI;goto extract_sfmt_reti;
|
475 |
|
|
// OBSOLETE case 4 : itype = FR30BF_INSN_DIV0S;goto extract_sfmt_div0s;
|
476 |
|
|
// OBSOLETE case 5 : itype = FR30BF_INSN_DIV0U;goto extract_sfmt_div0u;
|
477 |
|
|
// OBSOLETE case 6 : itype = FR30BF_INSN_DIV1;goto extract_sfmt_div1;
|
478 |
|
|
// OBSOLETE case 7 : itype = FR30BF_INSN_DIV2;goto extract_sfmt_div2;
|
479 |
|
|
// OBSOLETE case 8 : itype = FR30BF_INSN_EXTSB;goto extract_sfmt_extsb;
|
480 |
|
|
// OBSOLETE case 9 : itype = FR30BF_INSN_EXTUB;goto extract_sfmt_extub;
|
481 |
|
|
// OBSOLETE case 10 : itype = FR30BF_INSN_EXTSH;goto extract_sfmt_extsh;
|
482 |
|
|
// OBSOLETE case 11 : itype = FR30BF_INSN_EXTUH;goto extract_sfmt_extuh;
|
483 |
|
|
// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty;
|
484 |
|
|
// OBSOLETE }
|
485 |
|
|
// OBSOLETE }
|
486 |
|
|
// OBSOLETE case 152 : itype = FR30BF_INSN_BEORL;goto extract_sfmt_bandl;
|
487 |
|
|
// OBSOLETE case 153 : itype = FR30BF_INSN_BEORH;goto extract_sfmt_bandl;
|
488 |
|
|
// OBSOLETE case 154 : itype = FR30BF_INSN_EOR;goto extract_sfmt_and;
|
489 |
|
|
// OBSOLETE case 155 : itype = FR30BF_INSN_LDI20;goto extract_sfmt_ldi20;
|
490 |
|
|
// OBSOLETE case 156 : itype = FR30BF_INSN_EORM;goto extract_sfmt_andm;
|
491 |
|
|
// OBSOLETE case 157 : itype = FR30BF_INSN_EORH;goto extract_sfmt_andh;
|
492 |
|
|
// OBSOLETE case 158 : itype = FR30BF_INSN_EORB;goto extract_sfmt_andb;
|
493 |
|
|
// OBSOLETE case 159 :
|
494 |
|
|
// OBSOLETE {
|
495 |
|
|
// OBSOLETE unsigned int val = (((insn >> 4) & (15 << 0)));
|
496 |
|
|
// OBSOLETE switch (val)
|
497 |
|
|
// OBSOLETE {
|
498 |
|
|
// OBSOLETE case 0 : itype = FR30BF_INSN_JMPD;goto extract_sfmt_jmp;
|
499 |
|
|
// OBSOLETE case 1 : itype = FR30BF_INSN_CALLRD;goto extract_sfmt_callr;
|
500 |
|
|
// OBSOLETE case 2 : itype = FR30BF_INSN_RET_D;goto extract_sfmt_ret;
|
501 |
|
|
// OBSOLETE case 3 : itype = FR30BF_INSN_INTE;goto extract_sfmt_inte;
|
502 |
|
|
// OBSOLETE case 6 : itype = FR30BF_INSN_DIV3;goto extract_sfmt_div3;
|
503 |
|
|
// OBSOLETE case 7 : itype = FR30BF_INSN_DIV4S;goto extract_sfmt_div4s;
|
504 |
|
|
// OBSOLETE case 8 : itype = FR30BF_INSN_LDI32;goto extract_sfmt_ldi32;
|
505 |
|
|
// OBSOLETE case 9 : itype = FR30BF_INSN_LEAVE;goto extract_sfmt_leave;
|
506 |
|
|
// OBSOLETE case 10 : itype = FR30BF_INSN_NOP;goto extract_sfmt_bnod;
|
507 |
|
|
// OBSOLETE case 12 : itype = FR30BF_INSN_COPOP;goto extract_sfmt_copop;
|
508 |
|
|
// OBSOLETE case 13 : itype = FR30BF_INSN_COPLD;goto extract_sfmt_copop;
|
509 |
|
|
// OBSOLETE case 14 : itype = FR30BF_INSN_COPST;goto extract_sfmt_copop;
|
510 |
|
|
// OBSOLETE case 15 : itype = FR30BF_INSN_COPSV;goto extract_sfmt_copop;
|
511 |
|
|
// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty;
|
512 |
|
|
// OBSOLETE }
|
513 |
|
|
// OBSOLETE }
|
514 |
|
|
// OBSOLETE case 160 : itype = FR30BF_INSN_ADDNI;goto extract_sfmt_addni;
|
515 |
|
|
// OBSOLETE case 161 : itype = FR30BF_INSN_ADDN2;goto extract_sfmt_addn2;
|
516 |
|
|
// OBSOLETE case 162 : itype = FR30BF_INSN_ADDN;goto extract_sfmt_addn;
|
517 |
|
|
// OBSOLETE case 163 : itype = FR30BF_INSN_ADDSP;goto extract_sfmt_addsp;
|
518 |
|
|
// OBSOLETE case 164 : itype = FR30BF_INSN_ADDI;goto extract_sfmt_addi;
|
519 |
|
|
// OBSOLETE case 165 : itype = FR30BF_INSN_ADD2;goto extract_sfmt_add2;
|
520 |
|
|
// OBSOLETE case 166 : itype = FR30BF_INSN_ADD;goto extract_sfmt_add;
|
521 |
|
|
// OBSOLETE case 167 : itype = FR30BF_INSN_ADDC;goto extract_sfmt_addc;
|
522 |
|
|
// OBSOLETE case 168 : itype = FR30BF_INSN_CMPI;goto extract_sfmt_cmpi;
|
523 |
|
|
// OBSOLETE case 169 : itype = FR30BF_INSN_CMP2;goto extract_sfmt_cmp2;
|
524 |
|
|
// OBSOLETE case 170 : itype = FR30BF_INSN_CMP;goto extract_sfmt_cmp;
|
525 |
|
|
// OBSOLETE case 171 : itype = FR30BF_INSN_MULU;goto extract_sfmt_mulu;
|
526 |
|
|
// OBSOLETE case 172 : itype = FR30BF_INSN_SUB;goto extract_sfmt_add;
|
527 |
|
|
// OBSOLETE case 173 : itype = FR30BF_INSN_SUBC;goto extract_sfmt_addc;
|
528 |
|
|
// OBSOLETE case 174 : itype = FR30BF_INSN_SUBN;goto extract_sfmt_addn;
|
529 |
|
|
// OBSOLETE case 175 : itype = FR30BF_INSN_MUL;goto extract_sfmt_mul;
|
530 |
|
|
// OBSOLETE case 176 : itype = FR30BF_INSN_LSRI;goto extract_sfmt_lsli;
|
531 |
|
|
// OBSOLETE case 177 : itype = FR30BF_INSN_LSR2;goto extract_sfmt_lsli;
|
532 |
|
|
// OBSOLETE case 178 : itype = FR30BF_INSN_LSR;goto extract_sfmt_lsl;
|
533 |
|
|
// OBSOLETE case 179 : itype = FR30BF_INSN_MOV2DR;goto extract_sfmt_mov2dr;
|
534 |
|
|
// OBSOLETE case 180 : itype = FR30BF_INSN_LSLI;goto extract_sfmt_lsli;
|
535 |
|
|
// OBSOLETE case 181 : itype = FR30BF_INSN_LSL2;goto extract_sfmt_lsli;
|
536 |
|
|
// OBSOLETE case 182 : itype = FR30BF_INSN_LSL;goto extract_sfmt_lsl;
|
537 |
|
|
// OBSOLETE case 183 : itype = FR30BF_INSN_MOVDR;goto extract_sfmt_movdr;
|
538 |
|
|
// OBSOLETE case 184 : itype = FR30BF_INSN_ASRI;goto extract_sfmt_lsli;
|
539 |
|
|
// OBSOLETE case 185 : itype = FR30BF_INSN_ASR2;goto extract_sfmt_lsli;
|
540 |
|
|
// OBSOLETE case 186 : itype = FR30BF_INSN_ASR;goto extract_sfmt_lsl;
|
541 |
|
|
// OBSOLETE case 187 : itype = FR30BF_INSN_MULUH;goto extract_sfmt_mulh;
|
542 |
|
|
// OBSOLETE case 188 : itype = FR30BF_INSN_LDRES;goto extract_sfmt_ldres;
|
543 |
|
|
// OBSOLETE case 189 : itype = FR30BF_INSN_STRES;goto extract_sfmt_ldres;
|
544 |
|
|
// OBSOLETE case 191 : itype = FR30BF_INSN_MULH;goto extract_sfmt_mulh;
|
545 |
|
|
// OBSOLETE case 192 : /* fall through */
|
546 |
|
|
// OBSOLETE case 193 : /* fall through */
|
547 |
|
|
// OBSOLETE case 194 : /* fall through */
|
548 |
|
|
// OBSOLETE case 195 : /* fall through */
|
549 |
|
|
// OBSOLETE case 196 : /* fall through */
|
550 |
|
|
// OBSOLETE case 197 : /* fall through */
|
551 |
|
|
// OBSOLETE case 198 : /* fall through */
|
552 |
|
|
// OBSOLETE case 199 : /* fall through */
|
553 |
|
|
// OBSOLETE case 200 : /* fall through */
|
554 |
|
|
// OBSOLETE case 201 : /* fall through */
|
555 |
|
|
// OBSOLETE case 202 : /* fall through */
|
556 |
|
|
// OBSOLETE case 203 : /* fall through */
|
557 |
|
|
// OBSOLETE case 204 : /* fall through */
|
558 |
|
|
// OBSOLETE case 205 : /* fall through */
|
559 |
|
|
// OBSOLETE case 206 : /* fall through */
|
560 |
|
|
// OBSOLETE case 207 : itype = FR30BF_INSN_LDI8;goto extract_sfmt_ldi8;
|
561 |
|
|
// OBSOLETE case 208 : /* fall through */
|
562 |
|
|
// OBSOLETE case 209 : /* fall through */
|
563 |
|
|
// OBSOLETE case 210 : /* fall through */
|
564 |
|
|
// OBSOLETE case 211 : /* fall through */
|
565 |
|
|
// OBSOLETE case 212 : /* fall through */
|
566 |
|
|
// OBSOLETE case 213 : /* fall through */
|
567 |
|
|
// OBSOLETE case 214 : /* fall through */
|
568 |
|
|
// OBSOLETE case 215 : itype = FR30BF_INSN_CALL;goto extract_sfmt_call;
|
569 |
|
|
// OBSOLETE case 216 : /* fall through */
|
570 |
|
|
// OBSOLETE case 217 : /* fall through */
|
571 |
|
|
// OBSOLETE case 218 : /* fall through */
|
572 |
|
|
// OBSOLETE case 219 : /* fall through */
|
573 |
|
|
// OBSOLETE case 220 : /* fall through */
|
574 |
|
|
// OBSOLETE case 221 : /* fall through */
|
575 |
|
|
// OBSOLETE case 222 : /* fall through */
|
576 |
|
|
// OBSOLETE case 223 : itype = FR30BF_INSN_CALLD;goto extract_sfmt_call;
|
577 |
|
|
// OBSOLETE case 224 : itype = FR30BF_INSN_BRA;goto extract_sfmt_brad;
|
578 |
|
|
// OBSOLETE case 225 : itype = FR30BF_INSN_BNO;goto extract_sfmt_bnod;
|
579 |
|
|
// OBSOLETE case 226 : itype = FR30BF_INSN_BEQ;goto extract_sfmt_beqd;
|
580 |
|
|
// OBSOLETE case 227 : itype = FR30BF_INSN_BNE;goto extract_sfmt_beqd;
|
581 |
|
|
// OBSOLETE case 228 : itype = FR30BF_INSN_BC;goto extract_sfmt_bcd;
|
582 |
|
|
// OBSOLETE case 229 : itype = FR30BF_INSN_BNC;goto extract_sfmt_bcd;
|
583 |
|
|
// OBSOLETE case 230 : itype = FR30BF_INSN_BN;goto extract_sfmt_bnd;
|
584 |
|
|
// OBSOLETE case 231 : itype = FR30BF_INSN_BP;goto extract_sfmt_bnd;
|
585 |
|
|
// OBSOLETE case 232 : itype = FR30BF_INSN_BV;goto extract_sfmt_bvd;
|
586 |
|
|
// OBSOLETE case 233 : itype = FR30BF_INSN_BNV;goto extract_sfmt_bvd;
|
587 |
|
|
// OBSOLETE case 234 : itype = FR30BF_INSN_BLT;goto extract_sfmt_bltd;
|
588 |
|
|
// OBSOLETE case 235 : itype = FR30BF_INSN_BGE;goto extract_sfmt_bltd;
|
589 |
|
|
// OBSOLETE case 236 : itype = FR30BF_INSN_BLE;goto extract_sfmt_bled;
|
590 |
|
|
// OBSOLETE case 237 : itype = FR30BF_INSN_BGT;goto extract_sfmt_bled;
|
591 |
|
|
// OBSOLETE case 238 : itype = FR30BF_INSN_BLS;goto extract_sfmt_blsd;
|
592 |
|
|
// OBSOLETE case 239 : itype = FR30BF_INSN_BHI;goto extract_sfmt_blsd;
|
593 |
|
|
// OBSOLETE case 240 : itype = FR30BF_INSN_BRAD;goto extract_sfmt_brad;
|
594 |
|
|
// OBSOLETE case 241 : itype = FR30BF_INSN_BNOD;goto extract_sfmt_bnod;
|
595 |
|
|
// OBSOLETE case 242 : itype = FR30BF_INSN_BEQD;goto extract_sfmt_beqd;
|
596 |
|
|
// OBSOLETE case 243 : itype = FR30BF_INSN_BNED;goto extract_sfmt_beqd;
|
597 |
|
|
// OBSOLETE case 244 : itype = FR30BF_INSN_BCD;goto extract_sfmt_bcd;
|
598 |
|
|
// OBSOLETE case 245 : itype = FR30BF_INSN_BNCD;goto extract_sfmt_bcd;
|
599 |
|
|
// OBSOLETE case 246 : itype = FR30BF_INSN_BND;goto extract_sfmt_bnd;
|
600 |
|
|
// OBSOLETE case 247 : itype = FR30BF_INSN_BPD;goto extract_sfmt_bnd;
|
601 |
|
|
// OBSOLETE case 248 : itype = FR30BF_INSN_BVD;goto extract_sfmt_bvd;
|
602 |
|
|
// OBSOLETE case 249 : itype = FR30BF_INSN_BNVD;goto extract_sfmt_bvd;
|
603 |
|
|
// OBSOLETE case 250 : itype = FR30BF_INSN_BLTD;goto extract_sfmt_bltd;
|
604 |
|
|
// OBSOLETE case 251 : itype = FR30BF_INSN_BGED;goto extract_sfmt_bltd;
|
605 |
|
|
// OBSOLETE case 252 : itype = FR30BF_INSN_BLED;goto extract_sfmt_bled;
|
606 |
|
|
// OBSOLETE case 253 : itype = FR30BF_INSN_BGTD;goto extract_sfmt_bled;
|
607 |
|
|
// OBSOLETE case 254 : itype = FR30BF_INSN_BLSD;goto extract_sfmt_blsd;
|
608 |
|
|
// OBSOLETE case 255 : itype = FR30BF_INSN_BHID;goto extract_sfmt_blsd;
|
609 |
|
|
// OBSOLETE default : itype = FR30BF_INSN_X_INVALID; goto extract_sfmt_empty;
|
610 |
|
|
// OBSOLETE }
|
611 |
|
|
// OBSOLETE }
|
612 |
|
|
// OBSOLETE }
|
613 |
|
|
// OBSOLETE
|
614 |
|
|
// OBSOLETE /* The instruction has been decoded, now extract the fields. */
|
615 |
|
|
// OBSOLETE
|
616 |
|
|
// OBSOLETE extract_sfmt_empty:
|
617 |
|
|
// OBSOLETE {
|
618 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
619 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
620 |
|
|
// OBSOLETE
|
621 |
|
|
// OBSOLETE
|
622 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
623 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_empty", (char *) 0));
|
624 |
|
|
// OBSOLETE
|
625 |
|
|
// OBSOLETE #undef FLD
|
626 |
|
|
// OBSOLETE return idesc;
|
627 |
|
|
// OBSOLETE }
|
628 |
|
|
// OBSOLETE
|
629 |
|
|
// OBSOLETE extract_sfmt_add:
|
630 |
|
|
// OBSOLETE {
|
631 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
632 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
633 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f
|
634 |
|
|
// OBSOLETE UINT f_Rj;
|
635 |
|
|
// OBSOLETE UINT f_Ri;
|
636 |
|
|
// OBSOLETE
|
637 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
638 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
639 |
|
|
// OBSOLETE
|
640 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
641 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
642 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
643 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
644 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
645 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_add", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
646 |
|
|
// OBSOLETE
|
647 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
648 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
649 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
650 |
|
|
// OBSOLETE {
|
651 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
652 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
653 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
654 |
|
|
// OBSOLETE }
|
655 |
|
|
// OBSOLETE #endif
|
656 |
|
|
// OBSOLETE #undef FLD
|
657 |
|
|
// OBSOLETE return idesc;
|
658 |
|
|
// OBSOLETE }
|
659 |
|
|
// OBSOLETE
|
660 |
|
|
// OBSOLETE extract_sfmt_addi:
|
661 |
|
|
// OBSOLETE {
|
662 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
663 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
664 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f
|
665 |
|
|
// OBSOLETE UINT f_u4;
|
666 |
|
|
// OBSOLETE UINT f_Ri;
|
667 |
|
|
// OBSOLETE
|
668 |
|
|
// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
669 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
670 |
|
|
// OBSOLETE
|
671 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
672 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
673 |
|
|
// OBSOLETE FLD (f_u4) = f_u4;
|
674 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
675 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addi", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
676 |
|
|
// OBSOLETE
|
677 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
678 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
679 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
680 |
|
|
// OBSOLETE {
|
681 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
682 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
683 |
|
|
// OBSOLETE }
|
684 |
|
|
// OBSOLETE #endif
|
685 |
|
|
// OBSOLETE #undef FLD
|
686 |
|
|
// OBSOLETE return idesc;
|
687 |
|
|
// OBSOLETE }
|
688 |
|
|
// OBSOLETE
|
689 |
|
|
// OBSOLETE extract_sfmt_add2:
|
690 |
|
|
// OBSOLETE {
|
691 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
692 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
693 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
694 |
|
|
// OBSOLETE SI f_m4;
|
695 |
|
|
// OBSOLETE UINT f_Ri;
|
696 |
|
|
// OBSOLETE
|
697 |
|
|
// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4))));
|
698 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
699 |
|
|
// OBSOLETE
|
700 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
701 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
702 |
|
|
// OBSOLETE FLD (f_m4) = f_m4;
|
703 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
704 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_add2", "f_Ri 0x%x", 'x', f_Ri, "f_m4 0x%x", 'x', f_m4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
705 |
|
|
// OBSOLETE
|
706 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
707 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
708 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
709 |
|
|
// OBSOLETE {
|
710 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
711 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
712 |
|
|
// OBSOLETE }
|
713 |
|
|
// OBSOLETE #endif
|
714 |
|
|
// OBSOLETE #undef FLD
|
715 |
|
|
// OBSOLETE return idesc;
|
716 |
|
|
// OBSOLETE }
|
717 |
|
|
// OBSOLETE
|
718 |
|
|
// OBSOLETE extract_sfmt_addc:
|
719 |
|
|
// OBSOLETE {
|
720 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
721 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
722 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f
|
723 |
|
|
// OBSOLETE UINT f_Rj;
|
724 |
|
|
// OBSOLETE UINT f_Ri;
|
725 |
|
|
// OBSOLETE
|
726 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
727 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
728 |
|
|
// OBSOLETE
|
729 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
730 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
731 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
732 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
733 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
734 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addc", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
735 |
|
|
// OBSOLETE
|
736 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
737 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
738 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
739 |
|
|
// OBSOLETE {
|
740 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
741 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
742 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
743 |
|
|
// OBSOLETE }
|
744 |
|
|
// OBSOLETE #endif
|
745 |
|
|
// OBSOLETE #undef FLD
|
746 |
|
|
// OBSOLETE return idesc;
|
747 |
|
|
// OBSOLETE }
|
748 |
|
|
// OBSOLETE
|
749 |
|
|
// OBSOLETE extract_sfmt_addn:
|
750 |
|
|
// OBSOLETE {
|
751 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
752 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
753 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f
|
754 |
|
|
// OBSOLETE UINT f_Rj;
|
755 |
|
|
// OBSOLETE UINT f_Ri;
|
756 |
|
|
// OBSOLETE
|
757 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
758 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
759 |
|
|
// OBSOLETE
|
760 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
761 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
762 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
763 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
764 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
765 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addn", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
766 |
|
|
// OBSOLETE
|
767 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
768 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
769 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
770 |
|
|
// OBSOLETE {
|
771 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
772 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
773 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
774 |
|
|
// OBSOLETE }
|
775 |
|
|
// OBSOLETE #endif
|
776 |
|
|
// OBSOLETE #undef FLD
|
777 |
|
|
// OBSOLETE return idesc;
|
778 |
|
|
// OBSOLETE }
|
779 |
|
|
// OBSOLETE
|
780 |
|
|
// OBSOLETE extract_sfmt_addni:
|
781 |
|
|
// OBSOLETE {
|
782 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
783 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
784 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f
|
785 |
|
|
// OBSOLETE UINT f_u4;
|
786 |
|
|
// OBSOLETE UINT f_Ri;
|
787 |
|
|
// OBSOLETE
|
788 |
|
|
// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
789 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
790 |
|
|
// OBSOLETE
|
791 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
792 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
793 |
|
|
// OBSOLETE FLD (f_u4) = f_u4;
|
794 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
795 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addni", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
796 |
|
|
// OBSOLETE
|
797 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
798 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
799 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
800 |
|
|
// OBSOLETE {
|
801 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
802 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
803 |
|
|
// OBSOLETE }
|
804 |
|
|
// OBSOLETE #endif
|
805 |
|
|
// OBSOLETE #undef FLD
|
806 |
|
|
// OBSOLETE return idesc;
|
807 |
|
|
// OBSOLETE }
|
808 |
|
|
// OBSOLETE
|
809 |
|
|
// OBSOLETE extract_sfmt_addn2:
|
810 |
|
|
// OBSOLETE {
|
811 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
812 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
813 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
814 |
|
|
// OBSOLETE SI f_m4;
|
815 |
|
|
// OBSOLETE UINT f_Ri;
|
816 |
|
|
// OBSOLETE
|
817 |
|
|
// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4))));
|
818 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
819 |
|
|
// OBSOLETE
|
820 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
821 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
822 |
|
|
// OBSOLETE FLD (f_m4) = f_m4;
|
823 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
824 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addn2", "f_Ri 0x%x", 'x', f_Ri, "f_m4 0x%x", 'x', f_m4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
825 |
|
|
// OBSOLETE
|
826 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
827 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
828 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
829 |
|
|
// OBSOLETE {
|
830 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
831 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
832 |
|
|
// OBSOLETE }
|
833 |
|
|
// OBSOLETE #endif
|
834 |
|
|
// OBSOLETE #undef FLD
|
835 |
|
|
// OBSOLETE return idesc;
|
836 |
|
|
// OBSOLETE }
|
837 |
|
|
// OBSOLETE
|
838 |
|
|
// OBSOLETE extract_sfmt_cmp:
|
839 |
|
|
// OBSOLETE {
|
840 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
841 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
842 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
843 |
|
|
// OBSOLETE UINT f_Rj;
|
844 |
|
|
// OBSOLETE UINT f_Ri;
|
845 |
|
|
// OBSOLETE
|
846 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
847 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
848 |
|
|
// OBSOLETE
|
849 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
850 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
851 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
852 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
853 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
854 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmp", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
855 |
|
|
// OBSOLETE
|
856 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
857 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
858 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
859 |
|
|
// OBSOLETE {
|
860 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
861 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
862 |
|
|
// OBSOLETE }
|
863 |
|
|
// OBSOLETE #endif
|
864 |
|
|
// OBSOLETE #undef FLD
|
865 |
|
|
// OBSOLETE return idesc;
|
866 |
|
|
// OBSOLETE }
|
867 |
|
|
// OBSOLETE
|
868 |
|
|
// OBSOLETE extract_sfmt_cmpi:
|
869 |
|
|
// OBSOLETE {
|
870 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
871 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
872 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f
|
873 |
|
|
// OBSOLETE UINT f_u4;
|
874 |
|
|
// OBSOLETE UINT f_Ri;
|
875 |
|
|
// OBSOLETE
|
876 |
|
|
// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
877 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
878 |
|
|
// OBSOLETE
|
879 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
880 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
881 |
|
|
// OBSOLETE FLD (f_u4) = f_u4;
|
882 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
883 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmpi", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
884 |
|
|
// OBSOLETE
|
885 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
886 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
887 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
888 |
|
|
// OBSOLETE {
|
889 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
890 |
|
|
// OBSOLETE }
|
891 |
|
|
// OBSOLETE #endif
|
892 |
|
|
// OBSOLETE #undef FLD
|
893 |
|
|
// OBSOLETE return idesc;
|
894 |
|
|
// OBSOLETE }
|
895 |
|
|
// OBSOLETE
|
896 |
|
|
// OBSOLETE extract_sfmt_cmp2:
|
897 |
|
|
// OBSOLETE {
|
898 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
899 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
900 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
901 |
|
|
// OBSOLETE SI f_m4;
|
902 |
|
|
// OBSOLETE UINT f_Ri;
|
903 |
|
|
// OBSOLETE
|
904 |
|
|
// OBSOLETE f_m4 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) | (((-1) << (4))));
|
905 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
906 |
|
|
// OBSOLETE
|
907 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
908 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
909 |
|
|
// OBSOLETE FLD (f_m4) = f_m4;
|
910 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
911 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmp2", "f_Ri 0x%x", 'x', f_Ri, "f_m4 0x%x", 'x', f_m4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
912 |
|
|
// OBSOLETE
|
913 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
914 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
915 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
916 |
|
|
// OBSOLETE {
|
917 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
918 |
|
|
// OBSOLETE }
|
919 |
|
|
// OBSOLETE #endif
|
920 |
|
|
// OBSOLETE #undef FLD
|
921 |
|
|
// OBSOLETE return idesc;
|
922 |
|
|
// OBSOLETE }
|
923 |
|
|
// OBSOLETE
|
924 |
|
|
// OBSOLETE extract_sfmt_and:
|
925 |
|
|
// OBSOLETE {
|
926 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
927 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
928 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f
|
929 |
|
|
// OBSOLETE UINT f_Rj;
|
930 |
|
|
// OBSOLETE UINT f_Ri;
|
931 |
|
|
// OBSOLETE
|
932 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
933 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
934 |
|
|
// OBSOLETE
|
935 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
936 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
937 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
938 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
939 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
940 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_and", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
941 |
|
|
// OBSOLETE
|
942 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
943 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
944 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
945 |
|
|
// OBSOLETE {
|
946 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
947 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
948 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
949 |
|
|
// OBSOLETE }
|
950 |
|
|
// OBSOLETE #endif
|
951 |
|
|
// OBSOLETE #undef FLD
|
952 |
|
|
// OBSOLETE return idesc;
|
953 |
|
|
// OBSOLETE }
|
954 |
|
|
// OBSOLETE
|
955 |
|
|
// OBSOLETE extract_sfmt_andm:
|
956 |
|
|
// OBSOLETE {
|
957 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
958 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
959 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
960 |
|
|
// OBSOLETE UINT f_Rj;
|
961 |
|
|
// OBSOLETE UINT f_Ri;
|
962 |
|
|
// OBSOLETE
|
963 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
964 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
965 |
|
|
// OBSOLETE
|
966 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
967 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
968 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
969 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
970 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
971 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andm", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
972 |
|
|
// OBSOLETE
|
973 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
974 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
975 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
976 |
|
|
// OBSOLETE {
|
977 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
978 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
979 |
|
|
// OBSOLETE }
|
980 |
|
|
// OBSOLETE #endif
|
981 |
|
|
// OBSOLETE #undef FLD
|
982 |
|
|
// OBSOLETE return idesc;
|
983 |
|
|
// OBSOLETE }
|
984 |
|
|
// OBSOLETE
|
985 |
|
|
// OBSOLETE extract_sfmt_andh:
|
986 |
|
|
// OBSOLETE {
|
987 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
988 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
989 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
990 |
|
|
// OBSOLETE UINT f_Rj;
|
991 |
|
|
// OBSOLETE UINT f_Ri;
|
992 |
|
|
// OBSOLETE
|
993 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
994 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
995 |
|
|
// OBSOLETE
|
996 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
997 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
998 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
999 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1000 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1001 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andh", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1002 |
|
|
// OBSOLETE
|
1003 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1004 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1005 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1006 |
|
|
// OBSOLETE {
|
1007 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1008 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1009 |
|
|
// OBSOLETE }
|
1010 |
|
|
// OBSOLETE #endif
|
1011 |
|
|
// OBSOLETE #undef FLD
|
1012 |
|
|
// OBSOLETE return idesc;
|
1013 |
|
|
// OBSOLETE }
|
1014 |
|
|
// OBSOLETE
|
1015 |
|
|
// OBSOLETE extract_sfmt_andb:
|
1016 |
|
|
// OBSOLETE {
|
1017 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1018 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1019 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1020 |
|
|
// OBSOLETE UINT f_Rj;
|
1021 |
|
|
// OBSOLETE UINT f_Ri;
|
1022 |
|
|
// OBSOLETE
|
1023 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1024 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1025 |
|
|
// OBSOLETE
|
1026 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1027 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1028 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1029 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1030 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1031 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andb", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1032 |
|
|
// OBSOLETE
|
1033 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1034 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1035 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1036 |
|
|
// OBSOLETE {
|
1037 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1038 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1039 |
|
|
// OBSOLETE }
|
1040 |
|
|
// OBSOLETE #endif
|
1041 |
|
|
// OBSOLETE #undef FLD
|
1042 |
|
|
// OBSOLETE return idesc;
|
1043 |
|
|
// OBSOLETE }
|
1044 |
|
|
// OBSOLETE
|
1045 |
|
|
// OBSOLETE extract_sfmt_bandl:
|
1046 |
|
|
// OBSOLETE {
|
1047 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1048 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1049 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f
|
1050 |
|
|
// OBSOLETE UINT f_u4;
|
1051 |
|
|
// OBSOLETE UINT f_Ri;
|
1052 |
|
|
// OBSOLETE
|
1053 |
|
|
// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1054 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1055 |
|
|
// OBSOLETE
|
1056 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1057 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1058 |
|
|
// OBSOLETE FLD (f_u4) = f_u4;
|
1059 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1060 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bandl", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1061 |
|
|
// OBSOLETE
|
1062 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1063 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1064 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1065 |
|
|
// OBSOLETE {
|
1066 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1067 |
|
|
// OBSOLETE }
|
1068 |
|
|
// OBSOLETE #endif
|
1069 |
|
|
// OBSOLETE #undef FLD
|
1070 |
|
|
// OBSOLETE return idesc;
|
1071 |
|
|
// OBSOLETE }
|
1072 |
|
|
// OBSOLETE
|
1073 |
|
|
// OBSOLETE extract_sfmt_btstl:
|
1074 |
|
|
// OBSOLETE {
|
1075 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1076 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1077 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f
|
1078 |
|
|
// OBSOLETE UINT f_u4;
|
1079 |
|
|
// OBSOLETE UINT f_Ri;
|
1080 |
|
|
// OBSOLETE
|
1081 |
|
|
// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1082 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1083 |
|
|
// OBSOLETE
|
1084 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1085 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1086 |
|
|
// OBSOLETE FLD (f_u4) = f_u4;
|
1087 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1088 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_btstl", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1089 |
|
|
// OBSOLETE
|
1090 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1091 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1092 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1093 |
|
|
// OBSOLETE {
|
1094 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1095 |
|
|
// OBSOLETE }
|
1096 |
|
|
// OBSOLETE #endif
|
1097 |
|
|
// OBSOLETE #undef FLD
|
1098 |
|
|
// OBSOLETE return idesc;
|
1099 |
|
|
// OBSOLETE }
|
1100 |
|
|
// OBSOLETE
|
1101 |
|
|
// OBSOLETE extract_sfmt_mul:
|
1102 |
|
|
// OBSOLETE {
|
1103 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1104 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1105 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1106 |
|
|
// OBSOLETE UINT f_Rj;
|
1107 |
|
|
// OBSOLETE UINT f_Ri;
|
1108 |
|
|
// OBSOLETE
|
1109 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1110 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1111 |
|
|
// OBSOLETE
|
1112 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1113 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1114 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1115 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1116 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1117 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mul", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1118 |
|
|
// OBSOLETE
|
1119 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1120 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1121 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1122 |
|
|
// OBSOLETE {
|
1123 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1124 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1125 |
|
|
// OBSOLETE }
|
1126 |
|
|
// OBSOLETE #endif
|
1127 |
|
|
// OBSOLETE #undef FLD
|
1128 |
|
|
// OBSOLETE return idesc;
|
1129 |
|
|
// OBSOLETE }
|
1130 |
|
|
// OBSOLETE
|
1131 |
|
|
// OBSOLETE extract_sfmt_mulu:
|
1132 |
|
|
// OBSOLETE {
|
1133 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1134 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1135 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1136 |
|
|
// OBSOLETE UINT f_Rj;
|
1137 |
|
|
// OBSOLETE UINT f_Ri;
|
1138 |
|
|
// OBSOLETE
|
1139 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1140 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1141 |
|
|
// OBSOLETE
|
1142 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1143 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1144 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1145 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1146 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1147 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mulu", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1148 |
|
|
// OBSOLETE
|
1149 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1150 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1151 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1152 |
|
|
// OBSOLETE {
|
1153 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1154 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1155 |
|
|
// OBSOLETE }
|
1156 |
|
|
// OBSOLETE #endif
|
1157 |
|
|
// OBSOLETE #undef FLD
|
1158 |
|
|
// OBSOLETE return idesc;
|
1159 |
|
|
// OBSOLETE }
|
1160 |
|
|
// OBSOLETE
|
1161 |
|
|
// OBSOLETE extract_sfmt_mulh:
|
1162 |
|
|
// OBSOLETE {
|
1163 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1164 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1165 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1166 |
|
|
// OBSOLETE UINT f_Rj;
|
1167 |
|
|
// OBSOLETE UINT f_Ri;
|
1168 |
|
|
// OBSOLETE
|
1169 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1170 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1171 |
|
|
// OBSOLETE
|
1172 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1173 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1174 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1175 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1176 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1177 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mulh", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1178 |
|
|
// OBSOLETE
|
1179 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1180 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1181 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1182 |
|
|
// OBSOLETE {
|
1183 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1184 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1185 |
|
|
// OBSOLETE }
|
1186 |
|
|
// OBSOLETE #endif
|
1187 |
|
|
// OBSOLETE #undef FLD
|
1188 |
|
|
// OBSOLETE return idesc;
|
1189 |
|
|
// OBSOLETE }
|
1190 |
|
|
// OBSOLETE
|
1191 |
|
|
// OBSOLETE extract_sfmt_div0s:
|
1192 |
|
|
// OBSOLETE {
|
1193 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1194 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1195 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
1196 |
|
|
// OBSOLETE UINT f_Ri;
|
1197 |
|
|
// OBSOLETE
|
1198 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1199 |
|
|
// OBSOLETE
|
1200 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1201 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1202 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1203 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div0s", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1204 |
|
|
// OBSOLETE
|
1205 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1206 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1207 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1208 |
|
|
// OBSOLETE {
|
1209 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1210 |
|
|
// OBSOLETE }
|
1211 |
|
|
// OBSOLETE #endif
|
1212 |
|
|
// OBSOLETE #undef FLD
|
1213 |
|
|
// OBSOLETE return idesc;
|
1214 |
|
|
// OBSOLETE }
|
1215 |
|
|
// OBSOLETE
|
1216 |
|
|
// OBSOLETE extract_sfmt_div0u:
|
1217 |
|
|
// OBSOLETE {
|
1218 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1219 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
1220 |
|
|
// OBSOLETE
|
1221 |
|
|
// OBSOLETE
|
1222 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1223 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div0u", (char *) 0));
|
1224 |
|
|
// OBSOLETE
|
1225 |
|
|
// OBSOLETE #undef FLD
|
1226 |
|
|
// OBSOLETE return idesc;
|
1227 |
|
|
// OBSOLETE }
|
1228 |
|
|
// OBSOLETE
|
1229 |
|
|
// OBSOLETE extract_sfmt_div1:
|
1230 |
|
|
// OBSOLETE {
|
1231 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1232 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1233 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
1234 |
|
|
// OBSOLETE UINT f_Ri;
|
1235 |
|
|
// OBSOLETE
|
1236 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1237 |
|
|
// OBSOLETE
|
1238 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1239 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1240 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1241 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div1", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1242 |
|
|
// OBSOLETE
|
1243 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1244 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1245 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1246 |
|
|
// OBSOLETE {
|
1247 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1248 |
|
|
// OBSOLETE }
|
1249 |
|
|
// OBSOLETE #endif
|
1250 |
|
|
// OBSOLETE #undef FLD
|
1251 |
|
|
// OBSOLETE return idesc;
|
1252 |
|
|
// OBSOLETE }
|
1253 |
|
|
// OBSOLETE
|
1254 |
|
|
// OBSOLETE extract_sfmt_div2:
|
1255 |
|
|
// OBSOLETE {
|
1256 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1257 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1258 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
1259 |
|
|
// OBSOLETE UINT f_Ri;
|
1260 |
|
|
// OBSOLETE
|
1261 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1262 |
|
|
// OBSOLETE
|
1263 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1264 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1265 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1266 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div2", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1267 |
|
|
// OBSOLETE
|
1268 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1269 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1270 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1271 |
|
|
// OBSOLETE {
|
1272 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1273 |
|
|
// OBSOLETE }
|
1274 |
|
|
// OBSOLETE #endif
|
1275 |
|
|
// OBSOLETE #undef FLD
|
1276 |
|
|
// OBSOLETE return idesc;
|
1277 |
|
|
// OBSOLETE }
|
1278 |
|
|
// OBSOLETE
|
1279 |
|
|
// OBSOLETE extract_sfmt_div3:
|
1280 |
|
|
// OBSOLETE {
|
1281 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1282 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
1283 |
|
|
// OBSOLETE
|
1284 |
|
|
// OBSOLETE
|
1285 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1286 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div3", (char *) 0));
|
1287 |
|
|
// OBSOLETE
|
1288 |
|
|
// OBSOLETE #undef FLD
|
1289 |
|
|
// OBSOLETE return idesc;
|
1290 |
|
|
// OBSOLETE }
|
1291 |
|
|
// OBSOLETE
|
1292 |
|
|
// OBSOLETE extract_sfmt_div4s:
|
1293 |
|
|
// OBSOLETE {
|
1294 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1295 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
1296 |
|
|
// OBSOLETE
|
1297 |
|
|
// OBSOLETE
|
1298 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1299 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_div4s", (char *) 0));
|
1300 |
|
|
// OBSOLETE
|
1301 |
|
|
// OBSOLETE #undef FLD
|
1302 |
|
|
// OBSOLETE return idesc;
|
1303 |
|
|
// OBSOLETE }
|
1304 |
|
|
// OBSOLETE
|
1305 |
|
|
// OBSOLETE extract_sfmt_lsl:
|
1306 |
|
|
// OBSOLETE {
|
1307 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1308 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1309 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f
|
1310 |
|
|
// OBSOLETE UINT f_Rj;
|
1311 |
|
|
// OBSOLETE UINT f_Ri;
|
1312 |
|
|
// OBSOLETE
|
1313 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1314 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1315 |
|
|
// OBSOLETE
|
1316 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1317 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1318 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1319 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1320 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1321 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lsl", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1322 |
|
|
// OBSOLETE
|
1323 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1324 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1325 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1326 |
|
|
// OBSOLETE {
|
1327 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1328 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1329 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1330 |
|
|
// OBSOLETE }
|
1331 |
|
|
// OBSOLETE #endif
|
1332 |
|
|
// OBSOLETE #undef FLD
|
1333 |
|
|
// OBSOLETE return idesc;
|
1334 |
|
|
// OBSOLETE }
|
1335 |
|
|
// OBSOLETE
|
1336 |
|
|
// OBSOLETE extract_sfmt_lsli:
|
1337 |
|
|
// OBSOLETE {
|
1338 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1339 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1340 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addi.f
|
1341 |
|
|
// OBSOLETE UINT f_u4;
|
1342 |
|
|
// OBSOLETE UINT f_Ri;
|
1343 |
|
|
// OBSOLETE
|
1344 |
|
|
// OBSOLETE f_u4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1345 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1346 |
|
|
// OBSOLETE
|
1347 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1348 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1349 |
|
|
// OBSOLETE FLD (f_u4) = f_u4;
|
1350 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1351 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lsli", "f_Ri 0x%x", 'x', f_Ri, "f_u4 0x%x", 'x', f_u4, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1352 |
|
|
// OBSOLETE
|
1353 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1354 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1355 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1356 |
|
|
// OBSOLETE {
|
1357 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1358 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1359 |
|
|
// OBSOLETE }
|
1360 |
|
|
// OBSOLETE #endif
|
1361 |
|
|
// OBSOLETE #undef FLD
|
1362 |
|
|
// OBSOLETE return idesc;
|
1363 |
|
|
// OBSOLETE }
|
1364 |
|
|
// OBSOLETE
|
1365 |
|
|
// OBSOLETE extract_sfmt_ldi8:
|
1366 |
|
|
// OBSOLETE {
|
1367 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1368 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1369 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi8.f
|
1370 |
|
|
// OBSOLETE UINT f_i8;
|
1371 |
|
|
// OBSOLETE UINT f_Ri;
|
1372 |
|
|
// OBSOLETE
|
1373 |
|
|
// OBSOLETE f_i8 = EXTRACT_MSB0_UINT (insn, 16, 4, 8);
|
1374 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1375 |
|
|
// OBSOLETE
|
1376 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1377 |
|
|
// OBSOLETE FLD (f_i8) = f_i8;
|
1378 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1379 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1380 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldi8", "f_i8 0x%x", 'x', f_i8, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1381 |
|
|
// OBSOLETE
|
1382 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1383 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1384 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1385 |
|
|
// OBSOLETE {
|
1386 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1387 |
|
|
// OBSOLETE }
|
1388 |
|
|
// OBSOLETE #endif
|
1389 |
|
|
// OBSOLETE #undef FLD
|
1390 |
|
|
// OBSOLETE return idesc;
|
1391 |
|
|
// OBSOLETE }
|
1392 |
|
|
// OBSOLETE
|
1393 |
|
|
// OBSOLETE extract_sfmt_ldi20:
|
1394 |
|
|
// OBSOLETE {
|
1395 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1396 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1397 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi20.f
|
1398 |
|
|
// OBSOLETE UINT f_i20_16;
|
1399 |
|
|
// OBSOLETE UINT f_i20_4;
|
1400 |
|
|
// OBSOLETE UINT f_Ri;
|
1401 |
|
|
// OBSOLETE UINT f_i20;
|
1402 |
|
|
// OBSOLETE /* Contents of trailing part of insn. */
|
1403 |
|
|
// OBSOLETE UINT word_1;
|
1404 |
|
|
// OBSOLETE
|
1405 |
|
|
// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2);
|
1406 |
|
|
// OBSOLETE f_i20_16 = (0|(EXTRACT_MSB0_UINT (word_1, 16, 0, 16) << 0));
|
1407 |
|
|
// OBSOLETE f_i20_4 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1408 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1409 |
|
|
// OBSOLETE {
|
1410 |
|
|
// OBSOLETE f_i20 = ((((f_i20_4) << (16))) | (f_i20_16));
|
1411 |
|
|
// OBSOLETE }
|
1412 |
|
|
// OBSOLETE
|
1413 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1414 |
|
|
// OBSOLETE FLD (f_i20) = f_i20;
|
1415 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1416 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1417 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldi20", "f_i20 0x%x", 'x', f_i20, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1418 |
|
|
// OBSOLETE
|
1419 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1420 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1421 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1422 |
|
|
// OBSOLETE {
|
1423 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1424 |
|
|
// OBSOLETE }
|
1425 |
|
|
// OBSOLETE #endif
|
1426 |
|
|
// OBSOLETE #undef FLD
|
1427 |
|
|
// OBSOLETE return idesc;
|
1428 |
|
|
// OBSOLETE }
|
1429 |
|
|
// OBSOLETE
|
1430 |
|
|
// OBSOLETE extract_sfmt_ldi32:
|
1431 |
|
|
// OBSOLETE {
|
1432 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1433 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1434 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldi32.f
|
1435 |
|
|
// OBSOLETE UINT f_i32;
|
1436 |
|
|
// OBSOLETE UINT f_Ri;
|
1437 |
|
|
// OBSOLETE /* Contents of trailing part of insn. */
|
1438 |
|
|
// OBSOLETE UINT word_1;
|
1439 |
|
|
// OBSOLETE UINT word_2;
|
1440 |
|
|
// OBSOLETE
|
1441 |
|
|
// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2);
|
1442 |
|
|
// OBSOLETE word_2 = GETIMEMUHI (current_cpu, pc + 4);
|
1443 |
|
|
// OBSOLETE f_i32 = (0|(EXTRACT_MSB0_UINT (word_2, 16, 0, 16) << 0)|(EXTRACT_MSB0_UINT (word_1, 16, 0, 16) << 16));
|
1444 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1445 |
|
|
// OBSOLETE
|
1446 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1447 |
|
|
// OBSOLETE FLD (f_i32) = f_i32;
|
1448 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1449 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1450 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldi32", "f_i32 0x%x", 'x', f_i32, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1451 |
|
|
// OBSOLETE
|
1452 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1453 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1454 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1455 |
|
|
// OBSOLETE {
|
1456 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1457 |
|
|
// OBSOLETE }
|
1458 |
|
|
// OBSOLETE #endif
|
1459 |
|
|
// OBSOLETE #undef FLD
|
1460 |
|
|
// OBSOLETE return idesc;
|
1461 |
|
|
// OBSOLETE }
|
1462 |
|
|
// OBSOLETE
|
1463 |
|
|
// OBSOLETE extract_sfmt_ld:
|
1464 |
|
|
// OBSOLETE {
|
1465 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1466 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1467 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
1468 |
|
|
// OBSOLETE UINT f_Rj;
|
1469 |
|
|
// OBSOLETE UINT f_Ri;
|
1470 |
|
|
// OBSOLETE
|
1471 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1472 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1473 |
|
|
// OBSOLETE
|
1474 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1475 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1476 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1477 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1478 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1479 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ld", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1480 |
|
|
// OBSOLETE
|
1481 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1482 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1483 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1484 |
|
|
// OBSOLETE {
|
1485 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1486 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1487 |
|
|
// OBSOLETE }
|
1488 |
|
|
// OBSOLETE #endif
|
1489 |
|
|
// OBSOLETE #undef FLD
|
1490 |
|
|
// OBSOLETE return idesc;
|
1491 |
|
|
// OBSOLETE }
|
1492 |
|
|
// OBSOLETE
|
1493 |
|
|
// OBSOLETE extract_sfmt_lduh:
|
1494 |
|
|
// OBSOLETE {
|
1495 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1496 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1497 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
1498 |
|
|
// OBSOLETE UINT f_Rj;
|
1499 |
|
|
// OBSOLETE UINT f_Ri;
|
1500 |
|
|
// OBSOLETE
|
1501 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1502 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1503 |
|
|
// OBSOLETE
|
1504 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1505 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1506 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1507 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1508 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1509 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lduh", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1510 |
|
|
// OBSOLETE
|
1511 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1512 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1513 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1514 |
|
|
// OBSOLETE {
|
1515 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1516 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1517 |
|
|
// OBSOLETE }
|
1518 |
|
|
// OBSOLETE #endif
|
1519 |
|
|
// OBSOLETE #undef FLD
|
1520 |
|
|
// OBSOLETE return idesc;
|
1521 |
|
|
// OBSOLETE }
|
1522 |
|
|
// OBSOLETE
|
1523 |
|
|
// OBSOLETE extract_sfmt_ldub:
|
1524 |
|
|
// OBSOLETE {
|
1525 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1526 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1527 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
1528 |
|
|
// OBSOLETE UINT f_Rj;
|
1529 |
|
|
// OBSOLETE UINT f_Ri;
|
1530 |
|
|
// OBSOLETE
|
1531 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1532 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1533 |
|
|
// OBSOLETE
|
1534 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1535 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1536 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1537 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1538 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1539 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldub", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1540 |
|
|
// OBSOLETE
|
1541 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1542 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1543 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1544 |
|
|
// OBSOLETE {
|
1545 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1546 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1547 |
|
|
// OBSOLETE }
|
1548 |
|
|
// OBSOLETE #endif
|
1549 |
|
|
// OBSOLETE #undef FLD
|
1550 |
|
|
// OBSOLETE return idesc;
|
1551 |
|
|
// OBSOLETE }
|
1552 |
|
|
// OBSOLETE
|
1553 |
|
|
// OBSOLETE extract_sfmt_ldr13:
|
1554 |
|
|
// OBSOLETE {
|
1555 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1556 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1557 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
1558 |
|
|
// OBSOLETE UINT f_Rj;
|
1559 |
|
|
// OBSOLETE UINT f_Ri;
|
1560 |
|
|
// OBSOLETE
|
1561 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1562 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1563 |
|
|
// OBSOLETE
|
1564 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1565 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1566 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1567 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1568 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1569 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr13", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1570 |
|
|
// OBSOLETE
|
1571 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1572 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1573 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1574 |
|
|
// OBSOLETE {
|
1575 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1576 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
1577 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1578 |
|
|
// OBSOLETE }
|
1579 |
|
|
// OBSOLETE #endif
|
1580 |
|
|
// OBSOLETE #undef FLD
|
1581 |
|
|
// OBSOLETE return idesc;
|
1582 |
|
|
// OBSOLETE }
|
1583 |
|
|
// OBSOLETE
|
1584 |
|
|
// OBSOLETE extract_sfmt_ldr13uh:
|
1585 |
|
|
// OBSOLETE {
|
1586 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1587 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1588 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
1589 |
|
|
// OBSOLETE UINT f_Rj;
|
1590 |
|
|
// OBSOLETE UINT f_Ri;
|
1591 |
|
|
// OBSOLETE
|
1592 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1593 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1594 |
|
|
// OBSOLETE
|
1595 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1596 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1597 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1598 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1599 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1600 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr13uh", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1601 |
|
|
// OBSOLETE
|
1602 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1603 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1604 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1605 |
|
|
// OBSOLETE {
|
1606 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1607 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
1608 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1609 |
|
|
// OBSOLETE }
|
1610 |
|
|
// OBSOLETE #endif
|
1611 |
|
|
// OBSOLETE #undef FLD
|
1612 |
|
|
// OBSOLETE return idesc;
|
1613 |
|
|
// OBSOLETE }
|
1614 |
|
|
// OBSOLETE
|
1615 |
|
|
// OBSOLETE extract_sfmt_ldr13ub:
|
1616 |
|
|
// OBSOLETE {
|
1617 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1618 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1619 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
1620 |
|
|
// OBSOLETE UINT f_Rj;
|
1621 |
|
|
// OBSOLETE UINT f_Ri;
|
1622 |
|
|
// OBSOLETE
|
1623 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1624 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1625 |
|
|
// OBSOLETE
|
1626 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1627 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1628 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1629 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1630 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1631 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr13ub", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1632 |
|
|
// OBSOLETE
|
1633 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1634 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1635 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1636 |
|
|
// OBSOLETE {
|
1637 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1638 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
1639 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1640 |
|
|
// OBSOLETE }
|
1641 |
|
|
// OBSOLETE #endif
|
1642 |
|
|
// OBSOLETE #undef FLD
|
1643 |
|
|
// OBSOLETE return idesc;
|
1644 |
|
|
// OBSOLETE }
|
1645 |
|
|
// OBSOLETE
|
1646 |
|
|
// OBSOLETE extract_sfmt_ldr14:
|
1647 |
|
|
// OBSOLETE {
|
1648 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1649 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1650 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14.f
|
1651 |
|
|
// OBSOLETE SI f_disp10;
|
1652 |
|
|
// OBSOLETE UINT f_Ri;
|
1653 |
|
|
// OBSOLETE
|
1654 |
|
|
// OBSOLETE f_disp10 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (2));
|
1655 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1656 |
|
|
// OBSOLETE
|
1657 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1658 |
|
|
// OBSOLETE FLD (f_disp10) = f_disp10;
|
1659 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1660 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1661 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr14", "f_disp10 0x%x", 'x', f_disp10, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1662 |
|
|
// OBSOLETE
|
1663 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1664 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1665 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1666 |
|
|
// OBSOLETE {
|
1667 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
1668 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1669 |
|
|
// OBSOLETE }
|
1670 |
|
|
// OBSOLETE #endif
|
1671 |
|
|
// OBSOLETE #undef FLD
|
1672 |
|
|
// OBSOLETE return idesc;
|
1673 |
|
|
// OBSOLETE }
|
1674 |
|
|
// OBSOLETE
|
1675 |
|
|
// OBSOLETE extract_sfmt_ldr14uh:
|
1676 |
|
|
// OBSOLETE {
|
1677 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1678 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1679 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14uh.f
|
1680 |
|
|
// OBSOLETE SI f_disp9;
|
1681 |
|
|
// OBSOLETE UINT f_Ri;
|
1682 |
|
|
// OBSOLETE
|
1683 |
|
|
// OBSOLETE f_disp9 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (1));
|
1684 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1685 |
|
|
// OBSOLETE
|
1686 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1687 |
|
|
// OBSOLETE FLD (f_disp9) = f_disp9;
|
1688 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1689 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1690 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr14uh", "f_disp9 0x%x", 'x', f_disp9, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1691 |
|
|
// OBSOLETE
|
1692 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1693 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1694 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1695 |
|
|
// OBSOLETE {
|
1696 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
1697 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1698 |
|
|
// OBSOLETE }
|
1699 |
|
|
// OBSOLETE #endif
|
1700 |
|
|
// OBSOLETE #undef FLD
|
1701 |
|
|
// OBSOLETE return idesc;
|
1702 |
|
|
// OBSOLETE }
|
1703 |
|
|
// OBSOLETE
|
1704 |
|
|
// OBSOLETE extract_sfmt_ldr14ub:
|
1705 |
|
|
// OBSOLETE {
|
1706 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1707 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1708 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr14ub.f
|
1709 |
|
|
// OBSOLETE INT f_disp8;
|
1710 |
|
|
// OBSOLETE UINT f_Ri;
|
1711 |
|
|
// OBSOLETE
|
1712 |
|
|
// OBSOLETE f_disp8 = EXTRACT_MSB0_INT (insn, 16, 4, 8);
|
1713 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1714 |
|
|
// OBSOLETE
|
1715 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1716 |
|
|
// OBSOLETE FLD (f_disp8) = f_disp8;
|
1717 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1718 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1719 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr14ub", "f_disp8 0x%x", 'x', f_disp8, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1720 |
|
|
// OBSOLETE
|
1721 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1722 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1723 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1724 |
|
|
// OBSOLETE {
|
1725 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
1726 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1727 |
|
|
// OBSOLETE }
|
1728 |
|
|
// OBSOLETE #endif
|
1729 |
|
|
// OBSOLETE #undef FLD
|
1730 |
|
|
// OBSOLETE return idesc;
|
1731 |
|
|
// OBSOLETE }
|
1732 |
|
|
// OBSOLETE
|
1733 |
|
|
// OBSOLETE extract_sfmt_ldr15:
|
1734 |
|
|
// OBSOLETE {
|
1735 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1736 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1737 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15.f
|
1738 |
|
|
// OBSOLETE USI f_udisp6;
|
1739 |
|
|
// OBSOLETE UINT f_Ri;
|
1740 |
|
|
// OBSOLETE
|
1741 |
|
|
// OBSOLETE f_udisp6 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) << (2));
|
1742 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1743 |
|
|
// OBSOLETE
|
1744 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1745 |
|
|
// OBSOLETE FLD (f_udisp6) = f_udisp6;
|
1746 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1747 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1748 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15", "f_udisp6 0x%x", 'x', f_udisp6, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1749 |
|
|
// OBSOLETE
|
1750 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1751 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1752 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1753 |
|
|
// OBSOLETE {
|
1754 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
1755 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1756 |
|
|
// OBSOLETE }
|
1757 |
|
|
// OBSOLETE #endif
|
1758 |
|
|
// OBSOLETE #undef FLD
|
1759 |
|
|
// OBSOLETE return idesc;
|
1760 |
|
|
// OBSOLETE }
|
1761 |
|
|
// OBSOLETE
|
1762 |
|
|
// OBSOLETE extract_sfmt_ldr15gr:
|
1763 |
|
|
// OBSOLETE {
|
1764 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1765 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1766 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15gr.f
|
1767 |
|
|
// OBSOLETE UINT f_Ri;
|
1768 |
|
|
// OBSOLETE
|
1769 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1770 |
|
|
// OBSOLETE
|
1771 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1772 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1773 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1774 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15gr", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
1775 |
|
|
// OBSOLETE
|
1776 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1777 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1778 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1779 |
|
|
// OBSOLETE {
|
1780 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
1781 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
1782 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
1783 |
|
|
// OBSOLETE }
|
1784 |
|
|
// OBSOLETE #endif
|
1785 |
|
|
// OBSOLETE #undef FLD
|
1786 |
|
|
// OBSOLETE return idesc;
|
1787 |
|
|
// OBSOLETE }
|
1788 |
|
|
// OBSOLETE
|
1789 |
|
|
// OBSOLETE extract_sfmt_ldr15dr:
|
1790 |
|
|
// OBSOLETE {
|
1791 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1792 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1793 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f
|
1794 |
|
|
// OBSOLETE UINT f_Rs2;
|
1795 |
|
|
// OBSOLETE
|
1796 |
|
|
// OBSOLETE f_Rs2 = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1797 |
|
|
// OBSOLETE
|
1798 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1799 |
|
|
// OBSOLETE FLD (f_Rs2) = f_Rs2;
|
1800 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15dr", "f_Rs2 0x%x", 'x', f_Rs2, (char *) 0));
|
1801 |
|
|
// OBSOLETE
|
1802 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1803 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1804 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1805 |
|
|
// OBSOLETE {
|
1806 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
1807 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
1808 |
|
|
// OBSOLETE }
|
1809 |
|
|
// OBSOLETE #endif
|
1810 |
|
|
// OBSOLETE #undef FLD
|
1811 |
|
|
// OBSOLETE return idesc;
|
1812 |
|
|
// OBSOLETE }
|
1813 |
|
|
// OBSOLETE
|
1814 |
|
|
// OBSOLETE extract_sfmt_ldr15ps:
|
1815 |
|
|
// OBSOLETE {
|
1816 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1817 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f
|
1818 |
|
|
// OBSOLETE
|
1819 |
|
|
// OBSOLETE
|
1820 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1821 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldr15ps", (char *) 0));
|
1822 |
|
|
// OBSOLETE
|
1823 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1824 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1825 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1826 |
|
|
// OBSOLETE {
|
1827 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
1828 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
1829 |
|
|
// OBSOLETE }
|
1830 |
|
|
// OBSOLETE #endif
|
1831 |
|
|
// OBSOLETE #undef FLD
|
1832 |
|
|
// OBSOLETE return idesc;
|
1833 |
|
|
// OBSOLETE }
|
1834 |
|
|
// OBSOLETE
|
1835 |
|
|
// OBSOLETE extract_sfmt_st:
|
1836 |
|
|
// OBSOLETE {
|
1837 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1838 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1839 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1840 |
|
|
// OBSOLETE UINT f_Rj;
|
1841 |
|
|
// OBSOLETE UINT f_Ri;
|
1842 |
|
|
// OBSOLETE
|
1843 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1844 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1845 |
|
|
// OBSOLETE
|
1846 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1847 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1848 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1849 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1850 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1851 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_st", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1852 |
|
|
// OBSOLETE
|
1853 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1854 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1855 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1856 |
|
|
// OBSOLETE {
|
1857 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1858 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1859 |
|
|
// OBSOLETE }
|
1860 |
|
|
// OBSOLETE #endif
|
1861 |
|
|
// OBSOLETE #undef FLD
|
1862 |
|
|
// OBSOLETE return idesc;
|
1863 |
|
|
// OBSOLETE }
|
1864 |
|
|
// OBSOLETE
|
1865 |
|
|
// OBSOLETE extract_sfmt_sth:
|
1866 |
|
|
// OBSOLETE {
|
1867 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1868 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1869 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1870 |
|
|
// OBSOLETE UINT f_Rj;
|
1871 |
|
|
// OBSOLETE UINT f_Ri;
|
1872 |
|
|
// OBSOLETE
|
1873 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1874 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1875 |
|
|
// OBSOLETE
|
1876 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1877 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1878 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1879 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1880 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1881 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_sth", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1882 |
|
|
// OBSOLETE
|
1883 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1884 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1885 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1886 |
|
|
// OBSOLETE {
|
1887 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1888 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1889 |
|
|
// OBSOLETE }
|
1890 |
|
|
// OBSOLETE #endif
|
1891 |
|
|
// OBSOLETE #undef FLD
|
1892 |
|
|
// OBSOLETE return idesc;
|
1893 |
|
|
// OBSOLETE }
|
1894 |
|
|
// OBSOLETE
|
1895 |
|
|
// OBSOLETE extract_sfmt_stb:
|
1896 |
|
|
// OBSOLETE {
|
1897 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1898 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1899 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1900 |
|
|
// OBSOLETE UINT f_Rj;
|
1901 |
|
|
// OBSOLETE UINT f_Ri;
|
1902 |
|
|
// OBSOLETE
|
1903 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1904 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1905 |
|
|
// OBSOLETE
|
1906 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1907 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1908 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1909 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1910 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1911 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stb", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1912 |
|
|
// OBSOLETE
|
1913 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1914 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1915 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1916 |
|
|
// OBSOLETE {
|
1917 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1918 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1919 |
|
|
// OBSOLETE }
|
1920 |
|
|
// OBSOLETE #endif
|
1921 |
|
|
// OBSOLETE #undef FLD
|
1922 |
|
|
// OBSOLETE return idesc;
|
1923 |
|
|
// OBSOLETE }
|
1924 |
|
|
// OBSOLETE
|
1925 |
|
|
// OBSOLETE extract_sfmt_str13:
|
1926 |
|
|
// OBSOLETE {
|
1927 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1928 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1929 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1930 |
|
|
// OBSOLETE UINT f_Rj;
|
1931 |
|
|
// OBSOLETE UINT f_Ri;
|
1932 |
|
|
// OBSOLETE
|
1933 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1934 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1935 |
|
|
// OBSOLETE
|
1936 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1937 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1938 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1939 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1940 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1941 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str13", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1942 |
|
|
// OBSOLETE
|
1943 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1944 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1945 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1946 |
|
|
// OBSOLETE {
|
1947 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1948 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1949 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
1950 |
|
|
// OBSOLETE }
|
1951 |
|
|
// OBSOLETE #endif
|
1952 |
|
|
// OBSOLETE #undef FLD
|
1953 |
|
|
// OBSOLETE return idesc;
|
1954 |
|
|
// OBSOLETE }
|
1955 |
|
|
// OBSOLETE
|
1956 |
|
|
// OBSOLETE extract_sfmt_str13h:
|
1957 |
|
|
// OBSOLETE {
|
1958 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1959 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1960 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1961 |
|
|
// OBSOLETE UINT f_Rj;
|
1962 |
|
|
// OBSOLETE UINT f_Ri;
|
1963 |
|
|
// OBSOLETE
|
1964 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1965 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1966 |
|
|
// OBSOLETE
|
1967 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1968 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
1969 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
1970 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
1971 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
1972 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str13h", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
1973 |
|
|
// OBSOLETE
|
1974 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
1975 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
1976 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
1977 |
|
|
// OBSOLETE {
|
1978 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
1979 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
1980 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
1981 |
|
|
// OBSOLETE }
|
1982 |
|
|
// OBSOLETE #endif
|
1983 |
|
|
// OBSOLETE #undef FLD
|
1984 |
|
|
// OBSOLETE return idesc;
|
1985 |
|
|
// OBSOLETE }
|
1986 |
|
|
// OBSOLETE
|
1987 |
|
|
// OBSOLETE extract_sfmt_str13b:
|
1988 |
|
|
// OBSOLETE {
|
1989 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
1990 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
1991 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str13.f
|
1992 |
|
|
// OBSOLETE UINT f_Rj;
|
1993 |
|
|
// OBSOLETE UINT f_Ri;
|
1994 |
|
|
// OBSOLETE
|
1995 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
1996 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
1997 |
|
|
// OBSOLETE
|
1998 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
1999 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2000 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
2001 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2002 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
2003 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str13b", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
2004 |
|
|
// OBSOLETE
|
2005 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2006 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2007 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2008 |
|
|
// OBSOLETE {
|
2009 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2010 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
2011 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2012 |
|
|
// OBSOLETE }
|
2013 |
|
|
// OBSOLETE #endif
|
2014 |
|
|
// OBSOLETE #undef FLD
|
2015 |
|
|
// OBSOLETE return idesc;
|
2016 |
|
|
// OBSOLETE }
|
2017 |
|
|
// OBSOLETE
|
2018 |
|
|
// OBSOLETE extract_sfmt_str14:
|
2019 |
|
|
// OBSOLETE {
|
2020 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2021 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2022 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14.f
|
2023 |
|
|
// OBSOLETE SI f_disp10;
|
2024 |
|
|
// OBSOLETE UINT f_Ri;
|
2025 |
|
|
// OBSOLETE
|
2026 |
|
|
// OBSOLETE f_disp10 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (2));
|
2027 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2028 |
|
|
// OBSOLETE
|
2029 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2030 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2031 |
|
|
// OBSOLETE FLD (f_disp10) = f_disp10;
|
2032 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2033 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str14", "f_Ri 0x%x", 'x', f_Ri, "f_disp10 0x%x", 'x', f_disp10, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2034 |
|
|
// OBSOLETE
|
2035 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2036 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2037 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2038 |
|
|
// OBSOLETE {
|
2039 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2040 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
2041 |
|
|
// OBSOLETE }
|
2042 |
|
|
// OBSOLETE #endif
|
2043 |
|
|
// OBSOLETE #undef FLD
|
2044 |
|
|
// OBSOLETE return idesc;
|
2045 |
|
|
// OBSOLETE }
|
2046 |
|
|
// OBSOLETE
|
2047 |
|
|
// OBSOLETE extract_sfmt_str14h:
|
2048 |
|
|
// OBSOLETE {
|
2049 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2050 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2051 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14h.f
|
2052 |
|
|
// OBSOLETE SI f_disp9;
|
2053 |
|
|
// OBSOLETE UINT f_Ri;
|
2054 |
|
|
// OBSOLETE
|
2055 |
|
|
// OBSOLETE f_disp9 = ((EXTRACT_MSB0_INT (insn, 16, 4, 8)) << (1));
|
2056 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2057 |
|
|
// OBSOLETE
|
2058 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2059 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2060 |
|
|
// OBSOLETE FLD (f_disp9) = f_disp9;
|
2061 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2062 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str14h", "f_Ri 0x%x", 'x', f_Ri, "f_disp9 0x%x", 'x', f_disp9, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2063 |
|
|
// OBSOLETE
|
2064 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2065 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2066 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2067 |
|
|
// OBSOLETE {
|
2068 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2069 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
2070 |
|
|
// OBSOLETE }
|
2071 |
|
|
// OBSOLETE #endif
|
2072 |
|
|
// OBSOLETE #undef FLD
|
2073 |
|
|
// OBSOLETE return idesc;
|
2074 |
|
|
// OBSOLETE }
|
2075 |
|
|
// OBSOLETE
|
2076 |
|
|
// OBSOLETE extract_sfmt_str14b:
|
2077 |
|
|
// OBSOLETE {
|
2078 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2079 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2080 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str14b.f
|
2081 |
|
|
// OBSOLETE INT f_disp8;
|
2082 |
|
|
// OBSOLETE UINT f_Ri;
|
2083 |
|
|
// OBSOLETE
|
2084 |
|
|
// OBSOLETE f_disp8 = EXTRACT_MSB0_INT (insn, 16, 4, 8);
|
2085 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2086 |
|
|
// OBSOLETE
|
2087 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2088 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2089 |
|
|
// OBSOLETE FLD (f_disp8) = f_disp8;
|
2090 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2091 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str14b", "f_Ri 0x%x", 'x', f_Ri, "f_disp8 0x%x", 'x', f_disp8, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2092 |
|
|
// OBSOLETE
|
2093 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2094 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2095 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2096 |
|
|
// OBSOLETE {
|
2097 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2098 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
2099 |
|
|
// OBSOLETE }
|
2100 |
|
|
// OBSOLETE #endif
|
2101 |
|
|
// OBSOLETE #undef FLD
|
2102 |
|
|
// OBSOLETE return idesc;
|
2103 |
|
|
// OBSOLETE }
|
2104 |
|
|
// OBSOLETE
|
2105 |
|
|
// OBSOLETE extract_sfmt_str15:
|
2106 |
|
|
// OBSOLETE {
|
2107 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2108 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2109 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15.f
|
2110 |
|
|
// OBSOLETE USI f_udisp6;
|
2111 |
|
|
// OBSOLETE UINT f_Ri;
|
2112 |
|
|
// OBSOLETE
|
2113 |
|
|
// OBSOLETE f_udisp6 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 4)) << (2));
|
2114 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2115 |
|
|
// OBSOLETE
|
2116 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2117 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2118 |
|
|
// OBSOLETE FLD (f_udisp6) = f_udisp6;
|
2119 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2120 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15", "f_Ri 0x%x", 'x', f_Ri, "f_udisp6 0x%x", 'x', f_udisp6, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2121 |
|
|
// OBSOLETE
|
2122 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2123 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2124 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2125 |
|
|
// OBSOLETE {
|
2126 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2127 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
2128 |
|
|
// OBSOLETE }
|
2129 |
|
|
// OBSOLETE #endif
|
2130 |
|
|
// OBSOLETE #undef FLD
|
2131 |
|
|
// OBSOLETE return idesc;
|
2132 |
|
|
// OBSOLETE }
|
2133 |
|
|
// OBSOLETE
|
2134 |
|
|
// OBSOLETE extract_sfmt_str15gr:
|
2135 |
|
|
// OBSOLETE {
|
2136 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2137 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2138 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_str15gr.f
|
2139 |
|
|
// OBSOLETE UINT f_Ri;
|
2140 |
|
|
// OBSOLETE
|
2141 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2142 |
|
|
// OBSOLETE
|
2143 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2144 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2145 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2146 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15gr", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2147 |
|
|
// OBSOLETE
|
2148 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2149 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2150 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2151 |
|
|
// OBSOLETE {
|
2152 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2153 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
2154 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
2155 |
|
|
// OBSOLETE }
|
2156 |
|
|
// OBSOLETE #endif
|
2157 |
|
|
// OBSOLETE #undef FLD
|
2158 |
|
|
// OBSOLETE return idesc;
|
2159 |
|
|
// OBSOLETE }
|
2160 |
|
|
// OBSOLETE
|
2161 |
|
|
// OBSOLETE extract_sfmt_str15dr:
|
2162 |
|
|
// OBSOLETE {
|
2163 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2164 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2165 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr15dr.f
|
2166 |
|
|
// OBSOLETE UINT f_Rs2;
|
2167 |
|
|
// OBSOLETE
|
2168 |
|
|
// OBSOLETE f_Rs2 = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2169 |
|
|
// OBSOLETE
|
2170 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2171 |
|
|
// OBSOLETE FLD (f_Rs2) = f_Rs2;
|
2172 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15dr", "f_Rs2 0x%x", 'x', f_Rs2, (char *) 0));
|
2173 |
|
|
// OBSOLETE
|
2174 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2175 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2176 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2177 |
|
|
// OBSOLETE {
|
2178 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
2179 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
2180 |
|
|
// OBSOLETE }
|
2181 |
|
|
// OBSOLETE #endif
|
2182 |
|
|
// OBSOLETE #undef FLD
|
2183 |
|
|
// OBSOLETE return idesc;
|
2184 |
|
|
// OBSOLETE }
|
2185 |
|
|
// OBSOLETE
|
2186 |
|
|
// OBSOLETE extract_sfmt_str15ps:
|
2187 |
|
|
// OBSOLETE {
|
2188 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2189 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f
|
2190 |
|
|
// OBSOLETE
|
2191 |
|
|
// OBSOLETE
|
2192 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2193 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_str15ps", (char *) 0));
|
2194 |
|
|
// OBSOLETE
|
2195 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2196 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2197 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2198 |
|
|
// OBSOLETE {
|
2199 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
2200 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
2201 |
|
|
// OBSOLETE }
|
2202 |
|
|
// OBSOLETE #endif
|
2203 |
|
|
// OBSOLETE #undef FLD
|
2204 |
|
|
// OBSOLETE return idesc;
|
2205 |
|
|
// OBSOLETE }
|
2206 |
|
|
// OBSOLETE
|
2207 |
|
|
// OBSOLETE extract_sfmt_mov:
|
2208 |
|
|
// OBSOLETE {
|
2209 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2210 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2211 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldr13.f
|
2212 |
|
|
// OBSOLETE UINT f_Rj;
|
2213 |
|
|
// OBSOLETE UINT f_Ri;
|
2214 |
|
|
// OBSOLETE
|
2215 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
2216 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2217 |
|
|
// OBSOLETE
|
2218 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2219 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
2220 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2221 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
2222 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2223 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mov", "f_Rj 0x%x", 'x', f_Rj, "f_Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2224 |
|
|
// OBSOLETE
|
2225 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2226 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2227 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2228 |
|
|
// OBSOLETE {
|
2229 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
2230 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
2231 |
|
|
// OBSOLETE }
|
2232 |
|
|
// OBSOLETE #endif
|
2233 |
|
|
// OBSOLETE #undef FLD
|
2234 |
|
|
// OBSOLETE return idesc;
|
2235 |
|
|
// OBSOLETE }
|
2236 |
|
|
// OBSOLETE
|
2237 |
|
|
// OBSOLETE extract_sfmt_movdr:
|
2238 |
|
|
// OBSOLETE {
|
2239 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2240 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2241 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f
|
2242 |
|
|
// OBSOLETE UINT f_Rs1;
|
2243 |
|
|
// OBSOLETE UINT f_Ri;
|
2244 |
|
|
// OBSOLETE
|
2245 |
|
|
// OBSOLETE f_Rs1 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
2246 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2247 |
|
|
// OBSOLETE
|
2248 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2249 |
|
|
// OBSOLETE FLD (f_Rs1) = f_Rs1;
|
2250 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2251 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2252 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movdr", "f_Rs1 0x%x", 'x', f_Rs1, "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2253 |
|
|
// OBSOLETE
|
2254 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2255 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2256 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2257 |
|
|
// OBSOLETE {
|
2258 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
2259 |
|
|
// OBSOLETE }
|
2260 |
|
|
// OBSOLETE #endif
|
2261 |
|
|
// OBSOLETE #undef FLD
|
2262 |
|
|
// OBSOLETE return idesc;
|
2263 |
|
|
// OBSOLETE }
|
2264 |
|
|
// OBSOLETE
|
2265 |
|
|
// OBSOLETE extract_sfmt_movps:
|
2266 |
|
|
// OBSOLETE {
|
2267 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2268 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2269 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_movdr.f
|
2270 |
|
|
// OBSOLETE UINT f_Ri;
|
2271 |
|
|
// OBSOLETE
|
2272 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2273 |
|
|
// OBSOLETE
|
2274 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2275 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2276 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2277 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movps", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2278 |
|
|
// OBSOLETE
|
2279 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2280 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2281 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2282 |
|
|
// OBSOLETE {
|
2283 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
2284 |
|
|
// OBSOLETE }
|
2285 |
|
|
// OBSOLETE #endif
|
2286 |
|
|
// OBSOLETE #undef FLD
|
2287 |
|
|
// OBSOLETE return idesc;
|
2288 |
|
|
// OBSOLETE }
|
2289 |
|
|
// OBSOLETE
|
2290 |
|
|
// OBSOLETE extract_sfmt_mov2dr:
|
2291 |
|
|
// OBSOLETE {
|
2292 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2293 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2294 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
2295 |
|
|
// OBSOLETE UINT f_Rs1;
|
2296 |
|
|
// OBSOLETE UINT f_Ri;
|
2297 |
|
|
// OBSOLETE
|
2298 |
|
|
// OBSOLETE f_Rs1 = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
2299 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2300 |
|
|
// OBSOLETE
|
2301 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2302 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2303 |
|
|
// OBSOLETE FLD (f_Rs1) = f_Rs1;
|
2304 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2305 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mov2dr", "f_Ri 0x%x", 'x', f_Ri, "f_Rs1 0x%x", 'x', f_Rs1, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2306 |
|
|
// OBSOLETE
|
2307 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2308 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2309 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2310 |
|
|
// OBSOLETE {
|
2311 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2312 |
|
|
// OBSOLETE }
|
2313 |
|
|
// OBSOLETE #endif
|
2314 |
|
|
// OBSOLETE #undef FLD
|
2315 |
|
|
// OBSOLETE return idesc;
|
2316 |
|
|
// OBSOLETE }
|
2317 |
|
|
// OBSOLETE
|
2318 |
|
|
// OBSOLETE extract_sfmt_mov2ps:
|
2319 |
|
|
// OBSOLETE {
|
2320 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2321 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2322 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
2323 |
|
|
// OBSOLETE UINT f_Ri;
|
2324 |
|
|
// OBSOLETE
|
2325 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2326 |
|
|
// OBSOLETE
|
2327 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2328 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2329 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2330 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mov2ps", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2331 |
|
|
// OBSOLETE
|
2332 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2333 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2334 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2335 |
|
|
// OBSOLETE {
|
2336 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2337 |
|
|
// OBSOLETE }
|
2338 |
|
|
// OBSOLETE #endif
|
2339 |
|
|
// OBSOLETE #undef FLD
|
2340 |
|
|
// OBSOLETE return idesc;
|
2341 |
|
|
// OBSOLETE }
|
2342 |
|
|
// OBSOLETE
|
2343 |
|
|
// OBSOLETE extract_sfmt_jmp:
|
2344 |
|
|
// OBSOLETE {
|
2345 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2346 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2347 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
2348 |
|
|
// OBSOLETE UINT f_Ri;
|
2349 |
|
|
// OBSOLETE
|
2350 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2351 |
|
|
// OBSOLETE
|
2352 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2353 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2354 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2355 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_jmp", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2356 |
|
|
// OBSOLETE
|
2357 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2358 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2359 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2360 |
|
|
// OBSOLETE {
|
2361 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2362 |
|
|
// OBSOLETE }
|
2363 |
|
|
// OBSOLETE #endif
|
2364 |
|
|
// OBSOLETE #undef FLD
|
2365 |
|
|
// OBSOLETE return idesc;
|
2366 |
|
|
// OBSOLETE }
|
2367 |
|
|
// OBSOLETE
|
2368 |
|
|
// OBSOLETE extract_sfmt_callr:
|
2369 |
|
|
// OBSOLETE {
|
2370 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2371 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2372 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_mov2dr.f
|
2373 |
|
|
// OBSOLETE UINT f_Ri;
|
2374 |
|
|
// OBSOLETE
|
2375 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
2376 |
|
|
// OBSOLETE
|
2377 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2378 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
2379 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
2380 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_callr", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
2381 |
|
|
// OBSOLETE
|
2382 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2383 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2384 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2385 |
|
|
// OBSOLETE {
|
2386 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
2387 |
|
|
// OBSOLETE }
|
2388 |
|
|
// OBSOLETE #endif
|
2389 |
|
|
// OBSOLETE #undef FLD
|
2390 |
|
|
// OBSOLETE return idesc;
|
2391 |
|
|
// OBSOLETE }
|
2392 |
|
|
// OBSOLETE
|
2393 |
|
|
// OBSOLETE extract_sfmt_call:
|
2394 |
|
|
// OBSOLETE {
|
2395 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2396 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2397 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_call.f
|
2398 |
|
|
// OBSOLETE SI f_rel12;
|
2399 |
|
|
// OBSOLETE
|
2400 |
|
|
// OBSOLETE f_rel12 = ((((EXTRACT_MSB0_INT (insn, 16, 5, 11)) << (1))) + (((pc) + (2))));
|
2401 |
|
|
// OBSOLETE
|
2402 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2403 |
|
|
// OBSOLETE FLD (i_label12) = f_rel12;
|
2404 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_call", "label12 0x%x", 'x', f_rel12, (char *) 0));
|
2405 |
|
|
// OBSOLETE
|
2406 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2407 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2408 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2409 |
|
|
// OBSOLETE {
|
2410 |
|
|
// OBSOLETE }
|
2411 |
|
|
// OBSOLETE #endif
|
2412 |
|
|
// OBSOLETE #undef FLD
|
2413 |
|
|
// OBSOLETE return idesc;
|
2414 |
|
|
// OBSOLETE }
|
2415 |
|
|
// OBSOLETE
|
2416 |
|
|
// OBSOLETE extract_sfmt_ret:
|
2417 |
|
|
// OBSOLETE {
|
2418 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2419 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
2420 |
|
|
// OBSOLETE
|
2421 |
|
|
// OBSOLETE
|
2422 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2423 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ret", (char *) 0));
|
2424 |
|
|
// OBSOLETE
|
2425 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2426 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2427 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2428 |
|
|
// OBSOLETE {
|
2429 |
|
|
// OBSOLETE }
|
2430 |
|
|
// OBSOLETE #endif
|
2431 |
|
|
// OBSOLETE #undef FLD
|
2432 |
|
|
// OBSOLETE return idesc;
|
2433 |
|
|
// OBSOLETE }
|
2434 |
|
|
// OBSOLETE
|
2435 |
|
|
// OBSOLETE extract_sfmt_int:
|
2436 |
|
|
// OBSOLETE {
|
2437 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2438 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2439 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f
|
2440 |
|
|
// OBSOLETE UINT f_u8;
|
2441 |
|
|
// OBSOLETE
|
2442 |
|
|
// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
2443 |
|
|
// OBSOLETE
|
2444 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2445 |
|
|
// OBSOLETE FLD (f_u8) = f_u8;
|
2446 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_int", "f_u8 0x%x", 'x', f_u8, (char *) 0));
|
2447 |
|
|
// OBSOLETE
|
2448 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2449 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2450 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2451 |
|
|
// OBSOLETE {
|
2452 |
|
|
// OBSOLETE }
|
2453 |
|
|
// OBSOLETE #endif
|
2454 |
|
|
// OBSOLETE #undef FLD
|
2455 |
|
|
// OBSOLETE return idesc;
|
2456 |
|
|
// OBSOLETE }
|
2457 |
|
|
// OBSOLETE
|
2458 |
|
|
// OBSOLETE extract_sfmt_inte:
|
2459 |
|
|
// OBSOLETE {
|
2460 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2461 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
2462 |
|
|
// OBSOLETE
|
2463 |
|
|
// OBSOLETE
|
2464 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2465 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_inte", (char *) 0));
|
2466 |
|
|
// OBSOLETE
|
2467 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2468 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2469 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2470 |
|
|
// OBSOLETE {
|
2471 |
|
|
// OBSOLETE }
|
2472 |
|
|
// OBSOLETE #endif
|
2473 |
|
|
// OBSOLETE #undef FLD
|
2474 |
|
|
// OBSOLETE return idesc;
|
2475 |
|
|
// OBSOLETE }
|
2476 |
|
|
// OBSOLETE
|
2477 |
|
|
// OBSOLETE extract_sfmt_reti:
|
2478 |
|
|
// OBSOLETE {
|
2479 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2480 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
2481 |
|
|
// OBSOLETE
|
2482 |
|
|
// OBSOLETE
|
2483 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2484 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_reti", (char *) 0));
|
2485 |
|
|
// OBSOLETE
|
2486 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2487 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2488 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2489 |
|
|
// OBSOLETE {
|
2490 |
|
|
// OBSOLETE }
|
2491 |
|
|
// OBSOLETE #endif
|
2492 |
|
|
// OBSOLETE #undef FLD
|
2493 |
|
|
// OBSOLETE return idesc;
|
2494 |
|
|
// OBSOLETE }
|
2495 |
|
|
// OBSOLETE
|
2496 |
|
|
// OBSOLETE extract_sfmt_brad:
|
2497 |
|
|
// OBSOLETE {
|
2498 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2499 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2500 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2501 |
|
|
// OBSOLETE SI f_rel9;
|
2502 |
|
|
// OBSOLETE
|
2503 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2504 |
|
|
// OBSOLETE
|
2505 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2506 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2507 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_brad", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2508 |
|
|
// OBSOLETE
|
2509 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2510 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2511 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2512 |
|
|
// OBSOLETE {
|
2513 |
|
|
// OBSOLETE }
|
2514 |
|
|
// OBSOLETE #endif
|
2515 |
|
|
// OBSOLETE #undef FLD
|
2516 |
|
|
// OBSOLETE return idesc;
|
2517 |
|
|
// OBSOLETE }
|
2518 |
|
|
// OBSOLETE
|
2519 |
|
|
// OBSOLETE extract_sfmt_bnod:
|
2520 |
|
|
// OBSOLETE {
|
2521 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2522 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
2523 |
|
|
// OBSOLETE
|
2524 |
|
|
// OBSOLETE
|
2525 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2526 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bnod", (char *) 0));
|
2527 |
|
|
// OBSOLETE
|
2528 |
|
|
// OBSOLETE #undef FLD
|
2529 |
|
|
// OBSOLETE return idesc;
|
2530 |
|
|
// OBSOLETE }
|
2531 |
|
|
// OBSOLETE
|
2532 |
|
|
// OBSOLETE extract_sfmt_beqd:
|
2533 |
|
|
// OBSOLETE {
|
2534 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2535 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2536 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2537 |
|
|
// OBSOLETE SI f_rel9;
|
2538 |
|
|
// OBSOLETE
|
2539 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2540 |
|
|
// OBSOLETE
|
2541 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2542 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2543 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_beqd", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2544 |
|
|
// OBSOLETE
|
2545 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2546 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2547 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2548 |
|
|
// OBSOLETE {
|
2549 |
|
|
// OBSOLETE }
|
2550 |
|
|
// OBSOLETE #endif
|
2551 |
|
|
// OBSOLETE #undef FLD
|
2552 |
|
|
// OBSOLETE return idesc;
|
2553 |
|
|
// OBSOLETE }
|
2554 |
|
|
// OBSOLETE
|
2555 |
|
|
// OBSOLETE extract_sfmt_bcd:
|
2556 |
|
|
// OBSOLETE {
|
2557 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2558 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2559 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2560 |
|
|
// OBSOLETE SI f_rel9;
|
2561 |
|
|
// OBSOLETE
|
2562 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2563 |
|
|
// OBSOLETE
|
2564 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2565 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2566 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bcd", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2567 |
|
|
// OBSOLETE
|
2568 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2569 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2570 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2571 |
|
|
// OBSOLETE {
|
2572 |
|
|
// OBSOLETE }
|
2573 |
|
|
// OBSOLETE #endif
|
2574 |
|
|
// OBSOLETE #undef FLD
|
2575 |
|
|
// OBSOLETE return idesc;
|
2576 |
|
|
// OBSOLETE }
|
2577 |
|
|
// OBSOLETE
|
2578 |
|
|
// OBSOLETE extract_sfmt_bnd:
|
2579 |
|
|
// OBSOLETE {
|
2580 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2581 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2582 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2583 |
|
|
// OBSOLETE SI f_rel9;
|
2584 |
|
|
// OBSOLETE
|
2585 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2586 |
|
|
// OBSOLETE
|
2587 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2588 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2589 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bnd", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2590 |
|
|
// OBSOLETE
|
2591 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2592 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2593 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2594 |
|
|
// OBSOLETE {
|
2595 |
|
|
// OBSOLETE }
|
2596 |
|
|
// OBSOLETE #endif
|
2597 |
|
|
// OBSOLETE #undef FLD
|
2598 |
|
|
// OBSOLETE return idesc;
|
2599 |
|
|
// OBSOLETE }
|
2600 |
|
|
// OBSOLETE
|
2601 |
|
|
// OBSOLETE extract_sfmt_bvd:
|
2602 |
|
|
// OBSOLETE {
|
2603 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2604 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2605 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2606 |
|
|
// OBSOLETE SI f_rel9;
|
2607 |
|
|
// OBSOLETE
|
2608 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2609 |
|
|
// OBSOLETE
|
2610 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2611 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2612 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bvd", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2613 |
|
|
// OBSOLETE
|
2614 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2615 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2616 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2617 |
|
|
// OBSOLETE {
|
2618 |
|
|
// OBSOLETE }
|
2619 |
|
|
// OBSOLETE #endif
|
2620 |
|
|
// OBSOLETE #undef FLD
|
2621 |
|
|
// OBSOLETE return idesc;
|
2622 |
|
|
// OBSOLETE }
|
2623 |
|
|
// OBSOLETE
|
2624 |
|
|
// OBSOLETE extract_sfmt_bltd:
|
2625 |
|
|
// OBSOLETE {
|
2626 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2627 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2628 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2629 |
|
|
// OBSOLETE SI f_rel9;
|
2630 |
|
|
// OBSOLETE
|
2631 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2632 |
|
|
// OBSOLETE
|
2633 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2634 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2635 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bltd", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2636 |
|
|
// OBSOLETE
|
2637 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2638 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2639 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2640 |
|
|
// OBSOLETE {
|
2641 |
|
|
// OBSOLETE }
|
2642 |
|
|
// OBSOLETE #endif
|
2643 |
|
|
// OBSOLETE #undef FLD
|
2644 |
|
|
// OBSOLETE return idesc;
|
2645 |
|
|
// OBSOLETE }
|
2646 |
|
|
// OBSOLETE
|
2647 |
|
|
// OBSOLETE extract_sfmt_bled:
|
2648 |
|
|
// OBSOLETE {
|
2649 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2650 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2651 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2652 |
|
|
// OBSOLETE SI f_rel9;
|
2653 |
|
|
// OBSOLETE
|
2654 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2655 |
|
|
// OBSOLETE
|
2656 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2657 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2658 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bled", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2659 |
|
|
// OBSOLETE
|
2660 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2661 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2662 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2663 |
|
|
// OBSOLETE {
|
2664 |
|
|
// OBSOLETE }
|
2665 |
|
|
// OBSOLETE #endif
|
2666 |
|
|
// OBSOLETE #undef FLD
|
2667 |
|
|
// OBSOLETE return idesc;
|
2668 |
|
|
// OBSOLETE }
|
2669 |
|
|
// OBSOLETE
|
2670 |
|
|
// OBSOLETE extract_sfmt_blsd:
|
2671 |
|
|
// OBSOLETE {
|
2672 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2673 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2674 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_brad.f
|
2675 |
|
|
// OBSOLETE SI f_rel9;
|
2676 |
|
|
// OBSOLETE
|
2677 |
|
|
// OBSOLETE f_rel9 = ((((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (1))) + (((pc) + (2))));
|
2678 |
|
|
// OBSOLETE
|
2679 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2680 |
|
|
// OBSOLETE FLD (i_label9) = f_rel9;
|
2681 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_blsd", "label9 0x%x", 'x', f_rel9, (char *) 0));
|
2682 |
|
|
// OBSOLETE
|
2683 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2684 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2685 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2686 |
|
|
// OBSOLETE {
|
2687 |
|
|
// OBSOLETE }
|
2688 |
|
|
// OBSOLETE #endif
|
2689 |
|
|
// OBSOLETE #undef FLD
|
2690 |
|
|
// OBSOLETE return idesc;
|
2691 |
|
|
// OBSOLETE }
|
2692 |
|
|
// OBSOLETE
|
2693 |
|
|
// OBSOLETE extract_sfmt_dmovr13:
|
2694 |
|
|
// OBSOLETE {
|
2695 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2696 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2697 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
|
2698 |
|
|
// OBSOLETE USI f_dir10;
|
2699 |
|
|
// OBSOLETE
|
2700 |
|
|
// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
2701 |
|
|
// OBSOLETE
|
2702 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2703 |
|
|
// OBSOLETE FLD (f_dir10) = f_dir10;
|
2704 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13", "f_dir10 0x%x", 'x', f_dir10, (char *) 0));
|
2705 |
|
|
// OBSOLETE
|
2706 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2707 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2708 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2709 |
|
|
// OBSOLETE {
|
2710 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2711 |
|
|
// OBSOLETE }
|
2712 |
|
|
// OBSOLETE #endif
|
2713 |
|
|
// OBSOLETE #undef FLD
|
2714 |
|
|
// OBSOLETE return idesc;
|
2715 |
|
|
// OBSOLETE }
|
2716 |
|
|
// OBSOLETE
|
2717 |
|
|
// OBSOLETE extract_sfmt_dmovr13h:
|
2718 |
|
|
// OBSOLETE {
|
2719 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2720 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2721 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
|
2722 |
|
|
// OBSOLETE USI f_dir9;
|
2723 |
|
|
// OBSOLETE
|
2724 |
|
|
// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1));
|
2725 |
|
|
// OBSOLETE
|
2726 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2727 |
|
|
// OBSOLETE FLD (f_dir9) = f_dir9;
|
2728 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13h", "f_dir9 0x%x", 'x', f_dir9, (char *) 0));
|
2729 |
|
|
// OBSOLETE
|
2730 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2731 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2732 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2733 |
|
|
// OBSOLETE {
|
2734 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2735 |
|
|
// OBSOLETE }
|
2736 |
|
|
// OBSOLETE #endif
|
2737 |
|
|
// OBSOLETE #undef FLD
|
2738 |
|
|
// OBSOLETE return idesc;
|
2739 |
|
|
// OBSOLETE }
|
2740 |
|
|
// OBSOLETE
|
2741 |
|
|
// OBSOLETE extract_sfmt_dmovr13b:
|
2742 |
|
|
// OBSOLETE {
|
2743 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2744 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2745 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
|
2746 |
|
|
// OBSOLETE UINT f_dir8;
|
2747 |
|
|
// OBSOLETE
|
2748 |
|
|
// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
2749 |
|
|
// OBSOLETE
|
2750 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2751 |
|
|
// OBSOLETE FLD (f_dir8) = f_dir8;
|
2752 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13b", "f_dir8 0x%x", 'x', f_dir8, (char *) 0));
|
2753 |
|
|
// OBSOLETE
|
2754 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2755 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2756 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2757 |
|
|
// OBSOLETE {
|
2758 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2759 |
|
|
// OBSOLETE }
|
2760 |
|
|
// OBSOLETE #endif
|
2761 |
|
|
// OBSOLETE #undef FLD
|
2762 |
|
|
// OBSOLETE return idesc;
|
2763 |
|
|
// OBSOLETE }
|
2764 |
|
|
// OBSOLETE
|
2765 |
|
|
// OBSOLETE extract_sfmt_dmovr13pi:
|
2766 |
|
|
// OBSOLETE {
|
2767 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2768 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2769 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
|
2770 |
|
|
// OBSOLETE USI f_dir10;
|
2771 |
|
|
// OBSOLETE
|
2772 |
|
|
// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
2773 |
|
|
// OBSOLETE
|
2774 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2775 |
|
|
// OBSOLETE FLD (f_dir10) = f_dir10;
|
2776 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13pi", "f_dir10 0x%x", 'x', f_dir10, (char *) 0));
|
2777 |
|
|
// OBSOLETE
|
2778 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2779 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2780 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2781 |
|
|
// OBSOLETE {
|
2782 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2783 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2784 |
|
|
// OBSOLETE }
|
2785 |
|
|
// OBSOLETE #endif
|
2786 |
|
|
// OBSOLETE #undef FLD
|
2787 |
|
|
// OBSOLETE return idesc;
|
2788 |
|
|
// OBSOLETE }
|
2789 |
|
|
// OBSOLETE
|
2790 |
|
|
// OBSOLETE extract_sfmt_dmovr13pih:
|
2791 |
|
|
// OBSOLETE {
|
2792 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2793 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2794 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
|
2795 |
|
|
// OBSOLETE USI f_dir9;
|
2796 |
|
|
// OBSOLETE
|
2797 |
|
|
// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1));
|
2798 |
|
|
// OBSOLETE
|
2799 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2800 |
|
|
// OBSOLETE FLD (f_dir9) = f_dir9;
|
2801 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13pih", "f_dir9 0x%x", 'x', f_dir9, (char *) 0));
|
2802 |
|
|
// OBSOLETE
|
2803 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2804 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2805 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2806 |
|
|
// OBSOLETE {
|
2807 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2808 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2809 |
|
|
// OBSOLETE }
|
2810 |
|
|
// OBSOLETE #endif
|
2811 |
|
|
// OBSOLETE #undef FLD
|
2812 |
|
|
// OBSOLETE return idesc;
|
2813 |
|
|
// OBSOLETE }
|
2814 |
|
|
// OBSOLETE
|
2815 |
|
|
// OBSOLETE extract_sfmt_dmovr13pib:
|
2816 |
|
|
// OBSOLETE {
|
2817 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2818 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2819 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
|
2820 |
|
|
// OBSOLETE UINT f_dir8;
|
2821 |
|
|
// OBSOLETE
|
2822 |
|
|
// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
2823 |
|
|
// OBSOLETE
|
2824 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2825 |
|
|
// OBSOLETE FLD (f_dir8) = f_dir8;
|
2826 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr13pib", "f_dir8 0x%x", 'x', f_dir8, (char *) 0));
|
2827 |
|
|
// OBSOLETE
|
2828 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2829 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2830 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2831 |
|
|
// OBSOLETE {
|
2832 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2833 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2834 |
|
|
// OBSOLETE }
|
2835 |
|
|
// OBSOLETE #endif
|
2836 |
|
|
// OBSOLETE #undef FLD
|
2837 |
|
|
// OBSOLETE return idesc;
|
2838 |
|
|
// OBSOLETE }
|
2839 |
|
|
// OBSOLETE
|
2840 |
|
|
// OBSOLETE extract_sfmt_dmovr15pi:
|
2841 |
|
|
// OBSOLETE {
|
2842 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2843 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2844 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f
|
2845 |
|
|
// OBSOLETE USI f_dir10;
|
2846 |
|
|
// OBSOLETE
|
2847 |
|
|
// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
2848 |
|
|
// OBSOLETE
|
2849 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2850 |
|
|
// OBSOLETE FLD (f_dir10) = f_dir10;
|
2851 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmovr15pi", "f_dir10 0x%x", 'x', f_dir10, (char *) 0));
|
2852 |
|
|
// OBSOLETE
|
2853 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2854 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2855 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2856 |
|
|
// OBSOLETE {
|
2857 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
2858 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
2859 |
|
|
// OBSOLETE }
|
2860 |
|
|
// OBSOLETE #endif
|
2861 |
|
|
// OBSOLETE #undef FLD
|
2862 |
|
|
// OBSOLETE return idesc;
|
2863 |
|
|
// OBSOLETE }
|
2864 |
|
|
// OBSOLETE
|
2865 |
|
|
// OBSOLETE extract_sfmt_dmov2r13:
|
2866 |
|
|
// OBSOLETE {
|
2867 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2868 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2869 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
|
2870 |
|
|
// OBSOLETE USI f_dir10;
|
2871 |
|
|
// OBSOLETE
|
2872 |
|
|
// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
2873 |
|
|
// OBSOLETE
|
2874 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2875 |
|
|
// OBSOLETE FLD (f_dir10) = f_dir10;
|
2876 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13", "f_dir10 0x%x", 'x', f_dir10, (char *) 0));
|
2877 |
|
|
// OBSOLETE
|
2878 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2879 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2880 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2881 |
|
|
// OBSOLETE {
|
2882 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2883 |
|
|
// OBSOLETE }
|
2884 |
|
|
// OBSOLETE #endif
|
2885 |
|
|
// OBSOLETE #undef FLD
|
2886 |
|
|
// OBSOLETE return idesc;
|
2887 |
|
|
// OBSOLETE }
|
2888 |
|
|
// OBSOLETE
|
2889 |
|
|
// OBSOLETE extract_sfmt_dmov2r13h:
|
2890 |
|
|
// OBSOLETE {
|
2891 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2892 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2893 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
|
2894 |
|
|
// OBSOLETE USI f_dir9;
|
2895 |
|
|
// OBSOLETE
|
2896 |
|
|
// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1));
|
2897 |
|
|
// OBSOLETE
|
2898 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2899 |
|
|
// OBSOLETE FLD (f_dir9) = f_dir9;
|
2900 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13h", "f_dir9 0x%x", 'x', f_dir9, (char *) 0));
|
2901 |
|
|
// OBSOLETE
|
2902 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2903 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2904 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2905 |
|
|
// OBSOLETE {
|
2906 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2907 |
|
|
// OBSOLETE }
|
2908 |
|
|
// OBSOLETE #endif
|
2909 |
|
|
// OBSOLETE #undef FLD
|
2910 |
|
|
// OBSOLETE return idesc;
|
2911 |
|
|
// OBSOLETE }
|
2912 |
|
|
// OBSOLETE
|
2913 |
|
|
// OBSOLETE extract_sfmt_dmov2r13b:
|
2914 |
|
|
// OBSOLETE {
|
2915 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2916 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2917 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
|
2918 |
|
|
// OBSOLETE UINT f_dir8;
|
2919 |
|
|
// OBSOLETE
|
2920 |
|
|
// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
2921 |
|
|
// OBSOLETE
|
2922 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2923 |
|
|
// OBSOLETE FLD (f_dir8) = f_dir8;
|
2924 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13b", "f_dir8 0x%x", 'x', f_dir8, (char *) 0));
|
2925 |
|
|
// OBSOLETE
|
2926 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2927 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2928 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2929 |
|
|
// OBSOLETE {
|
2930 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2931 |
|
|
// OBSOLETE }
|
2932 |
|
|
// OBSOLETE #endif
|
2933 |
|
|
// OBSOLETE #undef FLD
|
2934 |
|
|
// OBSOLETE return idesc;
|
2935 |
|
|
// OBSOLETE }
|
2936 |
|
|
// OBSOLETE
|
2937 |
|
|
// OBSOLETE extract_sfmt_dmov2r13pi:
|
2938 |
|
|
// OBSOLETE {
|
2939 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2940 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2941 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pi.f
|
2942 |
|
|
// OBSOLETE USI f_dir10;
|
2943 |
|
|
// OBSOLETE
|
2944 |
|
|
// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
2945 |
|
|
// OBSOLETE
|
2946 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2947 |
|
|
// OBSOLETE FLD (f_dir10) = f_dir10;
|
2948 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13pi", "f_dir10 0x%x", 'x', f_dir10, (char *) 0));
|
2949 |
|
|
// OBSOLETE
|
2950 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2951 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2952 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2953 |
|
|
// OBSOLETE {
|
2954 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2955 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2956 |
|
|
// OBSOLETE }
|
2957 |
|
|
// OBSOLETE #endif
|
2958 |
|
|
// OBSOLETE #undef FLD
|
2959 |
|
|
// OBSOLETE return idesc;
|
2960 |
|
|
// OBSOLETE }
|
2961 |
|
|
// OBSOLETE
|
2962 |
|
|
// OBSOLETE extract_sfmt_dmov2r13pih:
|
2963 |
|
|
// OBSOLETE {
|
2964 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2965 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2966 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pih.f
|
2967 |
|
|
// OBSOLETE USI f_dir9;
|
2968 |
|
|
// OBSOLETE
|
2969 |
|
|
// OBSOLETE f_dir9 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (1));
|
2970 |
|
|
// OBSOLETE
|
2971 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2972 |
|
|
// OBSOLETE FLD (f_dir9) = f_dir9;
|
2973 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13pih", "f_dir9 0x%x", 'x', f_dir9, (char *) 0));
|
2974 |
|
|
// OBSOLETE
|
2975 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
2976 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
2977 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
2978 |
|
|
// OBSOLETE {
|
2979 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
2980 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
2981 |
|
|
// OBSOLETE }
|
2982 |
|
|
// OBSOLETE #endif
|
2983 |
|
|
// OBSOLETE #undef FLD
|
2984 |
|
|
// OBSOLETE return idesc;
|
2985 |
|
|
// OBSOLETE }
|
2986 |
|
|
// OBSOLETE
|
2987 |
|
|
// OBSOLETE extract_sfmt_dmov2r13pib:
|
2988 |
|
|
// OBSOLETE {
|
2989 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
2990 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
2991 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr13pib.f
|
2992 |
|
|
// OBSOLETE UINT f_dir8;
|
2993 |
|
|
// OBSOLETE
|
2994 |
|
|
// OBSOLETE f_dir8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
2995 |
|
|
// OBSOLETE
|
2996 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
2997 |
|
|
// OBSOLETE FLD (f_dir8) = f_dir8;
|
2998 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r13pib", "f_dir8 0x%x", 'x', f_dir8, (char *) 0));
|
2999 |
|
|
// OBSOLETE
|
3000 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3001 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3002 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3003 |
|
|
// OBSOLETE {
|
3004 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
3005 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
3006 |
|
|
// OBSOLETE }
|
3007 |
|
|
// OBSOLETE #endif
|
3008 |
|
|
// OBSOLETE #undef FLD
|
3009 |
|
|
// OBSOLETE return idesc;
|
3010 |
|
|
// OBSOLETE }
|
3011 |
|
|
// OBSOLETE
|
3012 |
|
|
// OBSOLETE extract_sfmt_dmov2r15pd:
|
3013 |
|
|
// OBSOLETE {
|
3014 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3015 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3016 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_dmovr15pi.f
|
3017 |
|
|
// OBSOLETE USI f_dir10;
|
3018 |
|
|
// OBSOLETE
|
3019 |
|
|
// OBSOLETE f_dir10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
3020 |
|
|
// OBSOLETE
|
3021 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3022 |
|
|
// OBSOLETE FLD (f_dir10) = f_dir10;
|
3023 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_dmov2r15pd", "f_dir10 0x%x", 'x', f_dir10, (char *) 0));
|
3024 |
|
|
// OBSOLETE
|
3025 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3026 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3027 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3028 |
|
|
// OBSOLETE {
|
3029 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3030 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3031 |
|
|
// OBSOLETE }
|
3032 |
|
|
// OBSOLETE #endif
|
3033 |
|
|
// OBSOLETE #undef FLD
|
3034 |
|
|
// OBSOLETE return idesc;
|
3035 |
|
|
// OBSOLETE }
|
3036 |
|
|
// OBSOLETE
|
3037 |
|
|
// OBSOLETE extract_sfmt_ldres:
|
3038 |
|
|
// OBSOLETE {
|
3039 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3040 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3041 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
3042 |
|
|
// OBSOLETE UINT f_Ri;
|
3043 |
|
|
// OBSOLETE
|
3044 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
3045 |
|
|
// OBSOLETE
|
3046 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3047 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
3048 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
3049 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldres", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
3050 |
|
|
// OBSOLETE
|
3051 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3052 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3053 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3054 |
|
|
// OBSOLETE {
|
3055 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
3056 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
3057 |
|
|
// OBSOLETE }
|
3058 |
|
|
// OBSOLETE #endif
|
3059 |
|
|
// OBSOLETE #undef FLD
|
3060 |
|
|
// OBSOLETE return idesc;
|
3061 |
|
|
// OBSOLETE }
|
3062 |
|
|
// OBSOLETE
|
3063 |
|
|
// OBSOLETE extract_sfmt_copop:
|
3064 |
|
|
// OBSOLETE {
|
3065 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3066 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.fmt_empty.f
|
3067 |
|
|
// OBSOLETE /* Contents of trailing part of insn. */
|
3068 |
|
|
// OBSOLETE UINT word_1;
|
3069 |
|
|
// OBSOLETE
|
3070 |
|
|
// OBSOLETE word_1 = GETIMEMUHI (current_cpu, pc + 2);
|
3071 |
|
|
// OBSOLETE
|
3072 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3073 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_copop", (char *) 0));
|
3074 |
|
|
// OBSOLETE
|
3075 |
|
|
// OBSOLETE #undef FLD
|
3076 |
|
|
// OBSOLETE return idesc;
|
3077 |
|
|
// OBSOLETE }
|
3078 |
|
|
// OBSOLETE
|
3079 |
|
|
// OBSOLETE extract_sfmt_andccr:
|
3080 |
|
|
// OBSOLETE {
|
3081 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3082 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3083 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f
|
3084 |
|
|
// OBSOLETE UINT f_u8;
|
3085 |
|
|
// OBSOLETE
|
3086 |
|
|
// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
3087 |
|
|
// OBSOLETE
|
3088 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3089 |
|
|
// OBSOLETE FLD (f_u8) = f_u8;
|
3090 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andccr", "f_u8 0x%x", 'x', f_u8, (char *) 0));
|
3091 |
|
|
// OBSOLETE
|
3092 |
|
|
// OBSOLETE #undef FLD
|
3093 |
|
|
// OBSOLETE return idesc;
|
3094 |
|
|
// OBSOLETE }
|
3095 |
|
|
// OBSOLETE
|
3096 |
|
|
// OBSOLETE extract_sfmt_stilm:
|
3097 |
|
|
// OBSOLETE {
|
3098 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3099 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3100 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_int.f
|
3101 |
|
|
// OBSOLETE UINT f_u8;
|
3102 |
|
|
// OBSOLETE
|
3103 |
|
|
// OBSOLETE f_u8 = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
3104 |
|
|
// OBSOLETE
|
3105 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3106 |
|
|
// OBSOLETE FLD (f_u8) = f_u8;
|
3107 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stilm", "f_u8 0x%x", 'x', f_u8, (char *) 0));
|
3108 |
|
|
// OBSOLETE
|
3109 |
|
|
// OBSOLETE #undef FLD
|
3110 |
|
|
// OBSOLETE return idesc;
|
3111 |
|
|
// OBSOLETE }
|
3112 |
|
|
// OBSOLETE
|
3113 |
|
|
// OBSOLETE extract_sfmt_addsp:
|
3114 |
|
|
// OBSOLETE {
|
3115 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3116 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3117 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_addsp.f
|
3118 |
|
|
// OBSOLETE SI f_s10;
|
3119 |
|
|
// OBSOLETE
|
3120 |
|
|
// OBSOLETE f_s10 = ((EXTRACT_MSB0_INT (insn, 16, 8, 8)) << (2));
|
3121 |
|
|
// OBSOLETE
|
3122 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3123 |
|
|
// OBSOLETE FLD (f_s10) = f_s10;
|
3124 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addsp", "f_s10 0x%x", 'x', f_s10, (char *) 0));
|
3125 |
|
|
// OBSOLETE
|
3126 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3127 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3128 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3129 |
|
|
// OBSOLETE {
|
3130 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3131 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3132 |
|
|
// OBSOLETE }
|
3133 |
|
|
// OBSOLETE #endif
|
3134 |
|
|
// OBSOLETE #undef FLD
|
3135 |
|
|
// OBSOLETE return idesc;
|
3136 |
|
|
// OBSOLETE }
|
3137 |
|
|
// OBSOLETE
|
3138 |
|
|
// OBSOLETE extract_sfmt_extsb:
|
3139 |
|
|
// OBSOLETE {
|
3140 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3141 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3142 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
3143 |
|
|
// OBSOLETE UINT f_Ri;
|
3144 |
|
|
// OBSOLETE
|
3145 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
3146 |
|
|
// OBSOLETE
|
3147 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3148 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
3149 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
3150 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extsb", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
3151 |
|
|
// OBSOLETE
|
3152 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3153 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3154 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3155 |
|
|
// OBSOLETE {
|
3156 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
3157 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
3158 |
|
|
// OBSOLETE }
|
3159 |
|
|
// OBSOLETE #endif
|
3160 |
|
|
// OBSOLETE #undef FLD
|
3161 |
|
|
// OBSOLETE return idesc;
|
3162 |
|
|
// OBSOLETE }
|
3163 |
|
|
// OBSOLETE
|
3164 |
|
|
// OBSOLETE extract_sfmt_extub:
|
3165 |
|
|
// OBSOLETE {
|
3166 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3167 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3168 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
3169 |
|
|
// OBSOLETE UINT f_Ri;
|
3170 |
|
|
// OBSOLETE
|
3171 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
3172 |
|
|
// OBSOLETE
|
3173 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3174 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
3175 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
3176 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extub", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
3177 |
|
|
// OBSOLETE
|
3178 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3179 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3180 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3181 |
|
|
// OBSOLETE {
|
3182 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
3183 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
3184 |
|
|
// OBSOLETE }
|
3185 |
|
|
// OBSOLETE #endif
|
3186 |
|
|
// OBSOLETE #undef FLD
|
3187 |
|
|
// OBSOLETE return idesc;
|
3188 |
|
|
// OBSOLETE }
|
3189 |
|
|
// OBSOLETE
|
3190 |
|
|
// OBSOLETE extract_sfmt_extsh:
|
3191 |
|
|
// OBSOLETE {
|
3192 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3193 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3194 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
3195 |
|
|
// OBSOLETE UINT f_Ri;
|
3196 |
|
|
// OBSOLETE
|
3197 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
3198 |
|
|
// OBSOLETE
|
3199 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3200 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
3201 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
3202 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extsh", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
3203 |
|
|
// OBSOLETE
|
3204 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3205 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3206 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3207 |
|
|
// OBSOLETE {
|
3208 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
3209 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
3210 |
|
|
// OBSOLETE }
|
3211 |
|
|
// OBSOLETE #endif
|
3212 |
|
|
// OBSOLETE #undef FLD
|
3213 |
|
|
// OBSOLETE return idesc;
|
3214 |
|
|
// OBSOLETE }
|
3215 |
|
|
// OBSOLETE
|
3216 |
|
|
// OBSOLETE extract_sfmt_extuh:
|
3217 |
|
|
// OBSOLETE {
|
3218 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3219 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3220 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add2.f
|
3221 |
|
|
// OBSOLETE UINT f_Ri;
|
3222 |
|
|
// OBSOLETE
|
3223 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
3224 |
|
|
// OBSOLETE
|
3225 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3226 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
3227 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
3228 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_extuh", "f_Ri 0x%x", 'x', f_Ri, "Ri 0x%x", 'x', f_Ri, (char *) 0));
|
3229 |
|
|
// OBSOLETE
|
3230 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3231 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3232 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3233 |
|
|
// OBSOLETE {
|
3234 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
3235 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
3236 |
|
|
// OBSOLETE }
|
3237 |
|
|
// OBSOLETE #endif
|
3238 |
|
|
// OBSOLETE #undef FLD
|
3239 |
|
|
// OBSOLETE return idesc;
|
3240 |
|
|
// OBSOLETE }
|
3241 |
|
|
// OBSOLETE
|
3242 |
|
|
// OBSOLETE extract_sfmt_ldm0:
|
3243 |
|
|
// OBSOLETE {
|
3244 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3245 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3246 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm0.f
|
3247 |
|
|
// OBSOLETE UINT f_reglist_low_ld;
|
3248 |
|
|
// OBSOLETE
|
3249 |
|
|
// OBSOLETE f_reglist_low_ld = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
3250 |
|
|
// OBSOLETE
|
3251 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3252 |
|
|
// OBSOLETE FLD (f_reglist_low_ld) = f_reglist_low_ld;
|
3253 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldm0", "f_reglist_low_ld 0x%x", 'x', f_reglist_low_ld, (char *) 0));
|
3254 |
|
|
// OBSOLETE
|
3255 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3256 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3257 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3258 |
|
|
// OBSOLETE {
|
3259 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3260 |
|
|
// OBSOLETE FLD (out_h_gr_SI_0) = 0;
|
3261 |
|
|
// OBSOLETE FLD (out_h_gr_SI_1) = 1;
|
3262 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3263 |
|
|
// OBSOLETE FLD (out_h_gr_SI_2) = 2;
|
3264 |
|
|
// OBSOLETE FLD (out_h_gr_SI_3) = 3;
|
3265 |
|
|
// OBSOLETE FLD (out_h_gr_SI_4) = 4;
|
3266 |
|
|
// OBSOLETE FLD (out_h_gr_SI_5) = 5;
|
3267 |
|
|
// OBSOLETE FLD (out_h_gr_SI_6) = 6;
|
3268 |
|
|
// OBSOLETE FLD (out_h_gr_SI_7) = 7;
|
3269 |
|
|
// OBSOLETE }
|
3270 |
|
|
// OBSOLETE #endif
|
3271 |
|
|
// OBSOLETE #undef FLD
|
3272 |
|
|
// OBSOLETE return idesc;
|
3273 |
|
|
// OBSOLETE }
|
3274 |
|
|
// OBSOLETE
|
3275 |
|
|
// OBSOLETE extract_sfmt_ldm1:
|
3276 |
|
|
// OBSOLETE {
|
3277 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3278 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3279 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_ldm1.f
|
3280 |
|
|
// OBSOLETE UINT f_reglist_hi_ld;
|
3281 |
|
|
// OBSOLETE
|
3282 |
|
|
// OBSOLETE f_reglist_hi_ld = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
3283 |
|
|
// OBSOLETE
|
3284 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3285 |
|
|
// OBSOLETE FLD (f_reglist_hi_ld) = f_reglist_hi_ld;
|
3286 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldm1", "f_reglist_hi_ld 0x%x", 'x', f_reglist_hi_ld, (char *) 0));
|
3287 |
|
|
// OBSOLETE
|
3288 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3289 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3290 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3291 |
|
|
// OBSOLETE {
|
3292 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3293 |
|
|
// OBSOLETE FLD (out_h_gr_SI_10) = 10;
|
3294 |
|
|
// OBSOLETE FLD (out_h_gr_SI_11) = 11;
|
3295 |
|
|
// OBSOLETE FLD (out_h_gr_SI_12) = 12;
|
3296 |
|
|
// OBSOLETE FLD (out_h_gr_SI_13) = 13;
|
3297 |
|
|
// OBSOLETE FLD (out_h_gr_SI_14) = 14;
|
3298 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3299 |
|
|
// OBSOLETE FLD (out_h_gr_SI_8) = 8;
|
3300 |
|
|
// OBSOLETE FLD (out_h_gr_SI_9) = 9;
|
3301 |
|
|
// OBSOLETE }
|
3302 |
|
|
// OBSOLETE #endif
|
3303 |
|
|
// OBSOLETE #undef FLD
|
3304 |
|
|
// OBSOLETE return idesc;
|
3305 |
|
|
// OBSOLETE }
|
3306 |
|
|
// OBSOLETE
|
3307 |
|
|
// OBSOLETE extract_sfmt_stm0:
|
3308 |
|
|
// OBSOLETE {
|
3309 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3310 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3311 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm0.f
|
3312 |
|
|
// OBSOLETE UINT f_reglist_low_st;
|
3313 |
|
|
// OBSOLETE
|
3314 |
|
|
// OBSOLETE f_reglist_low_st = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
3315 |
|
|
// OBSOLETE
|
3316 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3317 |
|
|
// OBSOLETE FLD (f_reglist_low_st) = f_reglist_low_st;
|
3318 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stm0", "f_reglist_low_st 0x%x", 'x', f_reglist_low_st, (char *) 0));
|
3319 |
|
|
// OBSOLETE
|
3320 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3321 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3322 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3323 |
|
|
// OBSOLETE {
|
3324 |
|
|
// OBSOLETE FLD (in_h_gr_SI_0) = 0;
|
3325 |
|
|
// OBSOLETE FLD (in_h_gr_SI_1) = 1;
|
3326 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3327 |
|
|
// OBSOLETE FLD (in_h_gr_SI_2) = 2;
|
3328 |
|
|
// OBSOLETE FLD (in_h_gr_SI_3) = 3;
|
3329 |
|
|
// OBSOLETE FLD (in_h_gr_SI_4) = 4;
|
3330 |
|
|
// OBSOLETE FLD (in_h_gr_SI_5) = 5;
|
3331 |
|
|
// OBSOLETE FLD (in_h_gr_SI_6) = 6;
|
3332 |
|
|
// OBSOLETE FLD (in_h_gr_SI_7) = 7;
|
3333 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3334 |
|
|
// OBSOLETE }
|
3335 |
|
|
// OBSOLETE #endif
|
3336 |
|
|
// OBSOLETE #undef FLD
|
3337 |
|
|
// OBSOLETE return idesc;
|
3338 |
|
|
// OBSOLETE }
|
3339 |
|
|
// OBSOLETE
|
3340 |
|
|
// OBSOLETE extract_sfmt_stm1:
|
3341 |
|
|
// OBSOLETE {
|
3342 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3343 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3344 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_stm1.f
|
3345 |
|
|
// OBSOLETE UINT f_reglist_hi_st;
|
3346 |
|
|
// OBSOLETE
|
3347 |
|
|
// OBSOLETE f_reglist_hi_st = EXTRACT_MSB0_UINT (insn, 16, 8, 8);
|
3348 |
|
|
// OBSOLETE
|
3349 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3350 |
|
|
// OBSOLETE FLD (f_reglist_hi_st) = f_reglist_hi_st;
|
3351 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stm1", "f_reglist_hi_st 0x%x", 'x', f_reglist_hi_st, (char *) 0));
|
3352 |
|
|
// OBSOLETE
|
3353 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3354 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3355 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3356 |
|
|
// OBSOLETE {
|
3357 |
|
|
// OBSOLETE FLD (in_h_gr_SI_10) = 10;
|
3358 |
|
|
// OBSOLETE FLD (in_h_gr_SI_11) = 11;
|
3359 |
|
|
// OBSOLETE FLD (in_h_gr_SI_12) = 12;
|
3360 |
|
|
// OBSOLETE FLD (in_h_gr_SI_13) = 13;
|
3361 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
3362 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3363 |
|
|
// OBSOLETE FLD (in_h_gr_SI_8) = 8;
|
3364 |
|
|
// OBSOLETE FLD (in_h_gr_SI_9) = 9;
|
3365 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3366 |
|
|
// OBSOLETE }
|
3367 |
|
|
// OBSOLETE #endif
|
3368 |
|
|
// OBSOLETE #undef FLD
|
3369 |
|
|
// OBSOLETE return idesc;
|
3370 |
|
|
// OBSOLETE }
|
3371 |
|
|
// OBSOLETE
|
3372 |
|
|
// OBSOLETE extract_sfmt_enter:
|
3373 |
|
|
// OBSOLETE {
|
3374 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3375 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3376 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f
|
3377 |
|
|
// OBSOLETE USI f_u10;
|
3378 |
|
|
// OBSOLETE
|
3379 |
|
|
// OBSOLETE f_u10 = ((EXTRACT_MSB0_UINT (insn, 16, 8, 8)) << (2));
|
3380 |
|
|
// OBSOLETE
|
3381 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3382 |
|
|
// OBSOLETE FLD (f_u10) = f_u10;
|
3383 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_enter", "f_u10 0x%x", 'x', f_u10, (char *) 0));
|
3384 |
|
|
// OBSOLETE
|
3385 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3386 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3387 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3388 |
|
|
// OBSOLETE {
|
3389 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
3390 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3391 |
|
|
// OBSOLETE FLD (out_h_gr_SI_14) = 14;
|
3392 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3393 |
|
|
// OBSOLETE }
|
3394 |
|
|
// OBSOLETE #endif
|
3395 |
|
|
// OBSOLETE #undef FLD
|
3396 |
|
|
// OBSOLETE return idesc;
|
3397 |
|
|
// OBSOLETE }
|
3398 |
|
|
// OBSOLETE
|
3399 |
|
|
// OBSOLETE extract_sfmt_leave:
|
3400 |
|
|
// OBSOLETE {
|
3401 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3402 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_enter.f
|
3403 |
|
|
// OBSOLETE
|
3404 |
|
|
// OBSOLETE
|
3405 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3406 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_leave", (char *) 0));
|
3407 |
|
|
// OBSOLETE
|
3408 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3409 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3410 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3411 |
|
|
// OBSOLETE {
|
3412 |
|
|
// OBSOLETE FLD (in_h_gr_SI_14) = 14;
|
3413 |
|
|
// OBSOLETE FLD (in_h_gr_SI_15) = 15;
|
3414 |
|
|
// OBSOLETE FLD (out_h_gr_SI_14) = 14;
|
3415 |
|
|
// OBSOLETE FLD (out_h_gr_SI_15) = 15;
|
3416 |
|
|
// OBSOLETE }
|
3417 |
|
|
// OBSOLETE #endif
|
3418 |
|
|
// OBSOLETE #undef FLD
|
3419 |
|
|
// OBSOLETE return idesc;
|
3420 |
|
|
// OBSOLETE }
|
3421 |
|
|
// OBSOLETE
|
3422 |
|
|
// OBSOLETE extract_sfmt_xchb:
|
3423 |
|
|
// OBSOLETE {
|
3424 |
|
|
// OBSOLETE const IDESC *idesc = &fr30bf_insn_data[itype];
|
3425 |
|
|
// OBSOLETE CGEN_INSN_INT insn = base_insn;
|
3426 |
|
|
// OBSOLETE #define FLD(f) abuf->fields.sfmt_add.f
|
3427 |
|
|
// OBSOLETE UINT f_Rj;
|
3428 |
|
|
// OBSOLETE UINT f_Ri;
|
3429 |
|
|
// OBSOLETE
|
3430 |
|
|
// OBSOLETE f_Rj = EXTRACT_MSB0_UINT (insn, 16, 8, 4);
|
3431 |
|
|
// OBSOLETE f_Ri = EXTRACT_MSB0_UINT (insn, 16, 12, 4);
|
3432 |
|
|
// OBSOLETE
|
3433 |
|
|
// OBSOLETE /* Record the fields for the semantic handler. */
|
3434 |
|
|
// OBSOLETE FLD (f_Ri) = f_Ri;
|
3435 |
|
|
// OBSOLETE FLD (f_Rj) = f_Rj;
|
3436 |
|
|
// OBSOLETE FLD (i_Ri) = & CPU (h_gr)[f_Ri];
|
3437 |
|
|
// OBSOLETE FLD (i_Rj) = & CPU (h_gr)[f_Rj];
|
3438 |
|
|
// OBSOLETE TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_xchb", "f_Ri 0x%x", 'x', f_Ri, "f_Rj 0x%x", 'x', f_Rj, "Ri 0x%x", 'x', f_Ri, "Rj 0x%x", 'x', f_Rj, (char *) 0));
|
3439 |
|
|
// OBSOLETE
|
3440 |
|
|
// OBSOLETE #if WITH_PROFILE_MODEL_P
|
3441 |
|
|
// OBSOLETE /* Record the fields for profiling. */
|
3442 |
|
|
// OBSOLETE if (PROFILE_MODEL_P (current_cpu))
|
3443 |
|
|
// OBSOLETE {
|
3444 |
|
|
// OBSOLETE FLD (in_Ri) = f_Ri;
|
3445 |
|
|
// OBSOLETE FLD (in_Rj) = f_Rj;
|
3446 |
|
|
// OBSOLETE FLD (out_Ri) = f_Ri;
|
3447 |
|
|
// OBSOLETE }
|
3448 |
|
|
// OBSOLETE #endif
|
3449 |
|
|
// OBSOLETE #undef FLD
|
3450 |
|
|
// OBSOLETE return idesc;
|
3451 |
|
|
// OBSOLETE }
|
3452 |
|
|
// OBSOLETE
|
3453 |
|
|
// OBSOLETE }
|