1 |
330 |
jeremybenn |
/* Simulator instruction decoder for frvbf.
|
2 |
|
|
|
3 |
|
|
THIS FILE IS MACHINE GENERATED WITH CGEN.
|
4 |
|
|
|
5 |
|
|
Copyright 1996-2010 Free Software Foundation, Inc.
|
6 |
|
|
|
7 |
|
|
This file is part of the GNU simulators.
|
8 |
|
|
|
9 |
|
|
This file is free software; you can redistribute it and/or modify
|
10 |
|
|
it under the terms of the GNU General Public License as published by
|
11 |
|
|
the Free Software Foundation; either version 3, or (at your option)
|
12 |
|
|
any later version.
|
13 |
|
|
|
14 |
|
|
It is distributed in the hope that it will be useful, but WITHOUT
|
15 |
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
16 |
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
17 |
|
|
License for more details.
|
18 |
|
|
|
19 |
|
|
You should have received a copy of the GNU General Public License along
|
20 |
|
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
21 |
|
|
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
22 |
|
|
|
23 |
|
|
*/
|
24 |
|
|
|
25 |
|
|
#define WANT_CPU frvbf
|
26 |
|
|
#define WANT_CPU_FRVBF
|
27 |
|
|
|
28 |
|
|
#include "sim-main.h"
|
29 |
|
|
#include "sim-assert.h"
|
30 |
|
|
|
31 |
|
|
/* The instruction descriptor array.
|
32 |
|
|
This is computed at runtime. Space for it is not malloc'd to save a
|
33 |
|
|
teensy bit of cpu in the decoder. Moving it to malloc space is trivial
|
34 |
|
|
but won't be done until necessary (we don't currently support the runtime
|
35 |
|
|
addition of instructions nor an SMP machine with different cpus). */
|
36 |
|
|
static IDESC frvbf_insn_data[FRVBF_INSN__MAX];
|
37 |
|
|
|
38 |
|
|
/* Commas between elements are contained in the macros.
|
39 |
|
|
Some of these are conditionally compiled out. */
|
40 |
|
|
|
41 |
|
|
static const struct insn_sem frvbf_insn_sem[] =
|
42 |
|
|
{
|
43 |
|
|
{ VIRTUAL_INSN_X_INVALID, FRVBF_INSN_X_INVALID, FRVBF_SFMT_EMPTY },
|
44 |
|
|
{ VIRTUAL_INSN_X_AFTER, FRVBF_INSN_X_AFTER, FRVBF_SFMT_EMPTY },
|
45 |
|
|
{ VIRTUAL_INSN_X_BEFORE, FRVBF_INSN_X_BEFORE, FRVBF_SFMT_EMPTY },
|
46 |
|
|
{ VIRTUAL_INSN_X_CTI_CHAIN, FRVBF_INSN_X_CTI_CHAIN, FRVBF_SFMT_EMPTY },
|
47 |
|
|
{ VIRTUAL_INSN_X_CHAIN, FRVBF_INSN_X_CHAIN, FRVBF_SFMT_EMPTY },
|
48 |
|
|
{ VIRTUAL_INSN_X_BEGIN, FRVBF_INSN_X_BEGIN, FRVBF_SFMT_EMPTY },
|
49 |
|
|
{ FRV_INSN_ADD, FRVBF_INSN_ADD, FRVBF_SFMT_ADD },
|
50 |
|
|
{ FRV_INSN_SUB, FRVBF_INSN_SUB, FRVBF_SFMT_ADD },
|
51 |
|
|
{ FRV_INSN_AND, FRVBF_INSN_AND, FRVBF_SFMT_ADD },
|
52 |
|
|
{ FRV_INSN_OR, FRVBF_INSN_OR, FRVBF_SFMT_ADD },
|
53 |
|
|
{ FRV_INSN_XOR, FRVBF_INSN_XOR, FRVBF_SFMT_ADD },
|
54 |
|
|
{ FRV_INSN_NOT, FRVBF_INSN_NOT, FRVBF_SFMT_NOT },
|
55 |
|
|
{ FRV_INSN_SDIV, FRVBF_INSN_SDIV, FRVBF_SFMT_SDIV },
|
56 |
|
|
{ FRV_INSN_NSDIV, FRVBF_INSN_NSDIV, FRVBF_SFMT_SDIV },
|
57 |
|
|
{ FRV_INSN_UDIV, FRVBF_INSN_UDIV, FRVBF_SFMT_SDIV },
|
58 |
|
|
{ FRV_INSN_NUDIV, FRVBF_INSN_NUDIV, FRVBF_SFMT_SDIV },
|
59 |
|
|
{ FRV_INSN_SMUL, FRVBF_INSN_SMUL, FRVBF_SFMT_SMUL },
|
60 |
|
|
{ FRV_INSN_UMUL, FRVBF_INSN_UMUL, FRVBF_SFMT_SMUL },
|
61 |
|
|
{ FRV_INSN_SMU, FRVBF_INSN_SMU, FRVBF_SFMT_SMU },
|
62 |
|
|
{ FRV_INSN_SMASS, FRVBF_INSN_SMASS, FRVBF_SFMT_SMASS },
|
63 |
|
|
{ FRV_INSN_SMSSS, FRVBF_INSN_SMSSS, FRVBF_SFMT_SMASS },
|
64 |
|
|
{ FRV_INSN_SLL, FRVBF_INSN_SLL, FRVBF_SFMT_ADD },
|
65 |
|
|
{ FRV_INSN_SRL, FRVBF_INSN_SRL, FRVBF_SFMT_ADD },
|
66 |
|
|
{ FRV_INSN_SRA, FRVBF_INSN_SRA, FRVBF_SFMT_ADD },
|
67 |
|
|
{ FRV_INSN_SLASS, FRVBF_INSN_SLASS, FRVBF_SFMT_SLASS },
|
68 |
|
|
{ FRV_INSN_SCUTSS, FRVBF_INSN_SCUTSS, FRVBF_SFMT_SCUTSS },
|
69 |
|
|
{ FRV_INSN_SCAN, FRVBF_INSN_SCAN, FRVBF_SFMT_ADD },
|
70 |
|
|
{ FRV_INSN_CADD, FRVBF_INSN_CADD, FRVBF_SFMT_CADD },
|
71 |
|
|
{ FRV_INSN_CSUB, FRVBF_INSN_CSUB, FRVBF_SFMT_CADD },
|
72 |
|
|
{ FRV_INSN_CAND, FRVBF_INSN_CAND, FRVBF_SFMT_CADD },
|
73 |
|
|
{ FRV_INSN_COR, FRVBF_INSN_COR, FRVBF_SFMT_CADD },
|
74 |
|
|
{ FRV_INSN_CXOR, FRVBF_INSN_CXOR, FRVBF_SFMT_CADD },
|
75 |
|
|
{ FRV_INSN_CNOT, FRVBF_INSN_CNOT, FRVBF_SFMT_CNOT },
|
76 |
|
|
{ FRV_INSN_CSMUL, FRVBF_INSN_CSMUL, FRVBF_SFMT_CSMUL },
|
77 |
|
|
{ FRV_INSN_CSDIV, FRVBF_INSN_CSDIV, FRVBF_SFMT_CSDIV },
|
78 |
|
|
{ FRV_INSN_CUDIV, FRVBF_INSN_CUDIV, FRVBF_SFMT_CSDIV },
|
79 |
|
|
{ FRV_INSN_CSLL, FRVBF_INSN_CSLL, FRVBF_SFMT_CADD },
|
80 |
|
|
{ FRV_INSN_CSRL, FRVBF_INSN_CSRL, FRVBF_SFMT_CADD },
|
81 |
|
|
{ FRV_INSN_CSRA, FRVBF_INSN_CSRA, FRVBF_SFMT_CADD },
|
82 |
|
|
{ FRV_INSN_CSCAN, FRVBF_INSN_CSCAN, FRVBF_SFMT_CADD },
|
83 |
|
|
{ FRV_INSN_ADDCC, FRVBF_INSN_ADDCC, FRVBF_SFMT_ADDCC },
|
84 |
|
|
{ FRV_INSN_SUBCC, FRVBF_INSN_SUBCC, FRVBF_SFMT_ADDCC },
|
85 |
|
|
{ FRV_INSN_ANDCC, FRVBF_INSN_ANDCC, FRVBF_SFMT_ANDCC },
|
86 |
|
|
{ FRV_INSN_ORCC, FRVBF_INSN_ORCC, FRVBF_SFMT_ANDCC },
|
87 |
|
|
{ FRV_INSN_XORCC, FRVBF_INSN_XORCC, FRVBF_SFMT_ANDCC },
|
88 |
|
|
{ FRV_INSN_SLLCC, FRVBF_INSN_SLLCC, FRVBF_SFMT_ADDCC },
|
89 |
|
|
{ FRV_INSN_SRLCC, FRVBF_INSN_SRLCC, FRVBF_SFMT_ADDCC },
|
90 |
|
|
{ FRV_INSN_SRACC, FRVBF_INSN_SRACC, FRVBF_SFMT_ADDCC },
|
91 |
|
|
{ FRV_INSN_SMULCC, FRVBF_INSN_SMULCC, FRVBF_SFMT_SMULCC },
|
92 |
|
|
{ FRV_INSN_UMULCC, FRVBF_INSN_UMULCC, FRVBF_SFMT_SMULCC },
|
93 |
|
|
{ FRV_INSN_CADDCC, FRVBF_INSN_CADDCC, FRVBF_SFMT_CADDCC },
|
94 |
|
|
{ FRV_INSN_CSUBCC, FRVBF_INSN_CSUBCC, FRVBF_SFMT_CADDCC },
|
95 |
|
|
{ FRV_INSN_CSMULCC, FRVBF_INSN_CSMULCC, FRVBF_SFMT_CSMULCC },
|
96 |
|
|
{ FRV_INSN_CANDCC, FRVBF_INSN_CANDCC, FRVBF_SFMT_CADDCC },
|
97 |
|
|
{ FRV_INSN_CORCC, FRVBF_INSN_CORCC, FRVBF_SFMT_CADDCC },
|
98 |
|
|
{ FRV_INSN_CXORCC, FRVBF_INSN_CXORCC, FRVBF_SFMT_CADDCC },
|
99 |
|
|
{ FRV_INSN_CSLLCC, FRVBF_INSN_CSLLCC, FRVBF_SFMT_CADDCC },
|
100 |
|
|
{ FRV_INSN_CSRLCC, FRVBF_INSN_CSRLCC, FRVBF_SFMT_CADDCC },
|
101 |
|
|
{ FRV_INSN_CSRACC, FRVBF_INSN_CSRACC, FRVBF_SFMT_CADDCC },
|
102 |
|
|
{ FRV_INSN_ADDX, FRVBF_INSN_ADDX, FRVBF_SFMT_ADDX },
|
103 |
|
|
{ FRV_INSN_SUBX, FRVBF_INSN_SUBX, FRVBF_SFMT_ADDX },
|
104 |
|
|
{ FRV_INSN_ADDXCC, FRVBF_INSN_ADDXCC, FRVBF_SFMT_ADDCC },
|
105 |
|
|
{ FRV_INSN_SUBXCC, FRVBF_INSN_SUBXCC, FRVBF_SFMT_ADDCC },
|
106 |
|
|
{ FRV_INSN_ADDSS, FRVBF_INSN_ADDSS, FRVBF_SFMT_SLASS },
|
107 |
|
|
{ FRV_INSN_SUBSS, FRVBF_INSN_SUBSS, FRVBF_SFMT_SLASS },
|
108 |
|
|
{ FRV_INSN_ADDI, FRVBF_INSN_ADDI, FRVBF_SFMT_ADDI },
|
109 |
|
|
{ FRV_INSN_SUBI, FRVBF_INSN_SUBI, FRVBF_SFMT_ADDI },
|
110 |
|
|
{ FRV_INSN_ANDI, FRVBF_INSN_ANDI, FRVBF_SFMT_ADDI },
|
111 |
|
|
{ FRV_INSN_ORI, FRVBF_INSN_ORI, FRVBF_SFMT_ADDI },
|
112 |
|
|
{ FRV_INSN_XORI, FRVBF_INSN_XORI, FRVBF_SFMT_ADDI },
|
113 |
|
|
{ FRV_INSN_SDIVI, FRVBF_INSN_SDIVI, FRVBF_SFMT_SDIVI },
|
114 |
|
|
{ FRV_INSN_NSDIVI, FRVBF_INSN_NSDIVI, FRVBF_SFMT_SDIVI },
|
115 |
|
|
{ FRV_INSN_UDIVI, FRVBF_INSN_UDIVI, FRVBF_SFMT_SDIVI },
|
116 |
|
|
{ FRV_INSN_NUDIVI, FRVBF_INSN_NUDIVI, FRVBF_SFMT_SDIVI },
|
117 |
|
|
{ FRV_INSN_SMULI, FRVBF_INSN_SMULI, FRVBF_SFMT_SMULI },
|
118 |
|
|
{ FRV_INSN_UMULI, FRVBF_INSN_UMULI, FRVBF_SFMT_SMULI },
|
119 |
|
|
{ FRV_INSN_SLLI, FRVBF_INSN_SLLI, FRVBF_SFMT_ADDI },
|
120 |
|
|
{ FRV_INSN_SRLI, FRVBF_INSN_SRLI, FRVBF_SFMT_ADDI },
|
121 |
|
|
{ FRV_INSN_SRAI, FRVBF_INSN_SRAI, FRVBF_SFMT_ADDI },
|
122 |
|
|
{ FRV_INSN_SCANI, FRVBF_INSN_SCANI, FRVBF_SFMT_ADDI },
|
123 |
|
|
{ FRV_INSN_ADDICC, FRVBF_INSN_ADDICC, FRVBF_SFMT_ADDICC },
|
124 |
|
|
{ FRV_INSN_SUBICC, FRVBF_INSN_SUBICC, FRVBF_SFMT_ADDICC },
|
125 |
|
|
{ FRV_INSN_ANDICC, FRVBF_INSN_ANDICC, FRVBF_SFMT_ANDICC },
|
126 |
|
|
{ FRV_INSN_ORICC, FRVBF_INSN_ORICC, FRVBF_SFMT_ANDICC },
|
127 |
|
|
{ FRV_INSN_XORICC, FRVBF_INSN_XORICC, FRVBF_SFMT_ANDICC },
|
128 |
|
|
{ FRV_INSN_SMULICC, FRVBF_INSN_SMULICC, FRVBF_SFMT_SMULICC },
|
129 |
|
|
{ FRV_INSN_UMULICC, FRVBF_INSN_UMULICC, FRVBF_SFMT_SMULICC },
|
130 |
|
|
{ FRV_INSN_SLLICC, FRVBF_INSN_SLLICC, FRVBF_SFMT_ADDICC },
|
131 |
|
|
{ FRV_INSN_SRLICC, FRVBF_INSN_SRLICC, FRVBF_SFMT_ADDICC },
|
132 |
|
|
{ FRV_INSN_SRAICC, FRVBF_INSN_SRAICC, FRVBF_SFMT_ADDICC },
|
133 |
|
|
{ FRV_INSN_ADDXI, FRVBF_INSN_ADDXI, FRVBF_SFMT_ADDXI },
|
134 |
|
|
{ FRV_INSN_SUBXI, FRVBF_INSN_SUBXI, FRVBF_SFMT_ADDXI },
|
135 |
|
|
{ FRV_INSN_ADDXICC, FRVBF_INSN_ADDXICC, FRVBF_SFMT_ADDICC },
|
136 |
|
|
{ FRV_INSN_SUBXICC, FRVBF_INSN_SUBXICC, FRVBF_SFMT_ADDICC },
|
137 |
|
|
{ FRV_INSN_CMPB, FRVBF_INSN_CMPB, FRVBF_SFMT_CMPB },
|
138 |
|
|
{ FRV_INSN_CMPBA, FRVBF_INSN_CMPBA, FRVBF_SFMT_CMPB },
|
139 |
|
|
{ FRV_INSN_SETLO, FRVBF_INSN_SETLO, FRVBF_SFMT_SETLO },
|
140 |
|
|
{ FRV_INSN_SETHI, FRVBF_INSN_SETHI, FRVBF_SFMT_SETHI },
|
141 |
|
|
{ FRV_INSN_SETLOS, FRVBF_INSN_SETLOS, FRVBF_SFMT_SETLOS },
|
142 |
|
|
{ FRV_INSN_LDSB, FRVBF_INSN_LDSB, FRVBF_SFMT_LDSB },
|
143 |
|
|
{ FRV_INSN_LDUB, FRVBF_INSN_LDUB, FRVBF_SFMT_LDSB },
|
144 |
|
|
{ FRV_INSN_LDSH, FRVBF_INSN_LDSH, FRVBF_SFMT_LDSB },
|
145 |
|
|
{ FRV_INSN_LDUH, FRVBF_INSN_LDUH, FRVBF_SFMT_LDSB },
|
146 |
|
|
{ FRV_INSN_LD, FRVBF_INSN_LD, FRVBF_SFMT_LDSB },
|
147 |
|
|
{ FRV_INSN_LDBF, FRVBF_INSN_LDBF, FRVBF_SFMT_LDBF },
|
148 |
|
|
{ FRV_INSN_LDHF, FRVBF_INSN_LDHF, FRVBF_SFMT_LDBF },
|
149 |
|
|
{ FRV_INSN_LDF, FRVBF_INSN_LDF, FRVBF_SFMT_LDBF },
|
150 |
|
|
{ FRV_INSN_LDC, FRVBF_INSN_LDC, FRVBF_SFMT_LDC },
|
151 |
|
|
{ FRV_INSN_NLDSB, FRVBF_INSN_NLDSB, FRVBF_SFMT_NLDSB },
|
152 |
|
|
{ FRV_INSN_NLDUB, FRVBF_INSN_NLDUB, FRVBF_SFMT_NLDSB },
|
153 |
|
|
{ FRV_INSN_NLDSH, FRVBF_INSN_NLDSH, FRVBF_SFMT_NLDSB },
|
154 |
|
|
{ FRV_INSN_NLDUH, FRVBF_INSN_NLDUH, FRVBF_SFMT_NLDSB },
|
155 |
|
|
{ FRV_INSN_NLD, FRVBF_INSN_NLD, FRVBF_SFMT_NLDSB },
|
156 |
|
|
{ FRV_INSN_NLDBF, FRVBF_INSN_NLDBF, FRVBF_SFMT_NLDBF },
|
157 |
|
|
{ FRV_INSN_NLDHF, FRVBF_INSN_NLDHF, FRVBF_SFMT_NLDBF },
|
158 |
|
|
{ FRV_INSN_NLDF, FRVBF_INSN_NLDF, FRVBF_SFMT_NLDBF },
|
159 |
|
|
{ FRV_INSN_LDD, FRVBF_INSN_LDD, FRVBF_SFMT_LDD },
|
160 |
|
|
{ FRV_INSN_LDDF, FRVBF_INSN_LDDF, FRVBF_SFMT_LDDF },
|
161 |
|
|
{ FRV_INSN_LDDC, FRVBF_INSN_LDDC, FRVBF_SFMT_LDDC },
|
162 |
|
|
{ FRV_INSN_NLDD, FRVBF_INSN_NLDD, FRVBF_SFMT_NLDD },
|
163 |
|
|
{ FRV_INSN_NLDDF, FRVBF_INSN_NLDDF, FRVBF_SFMT_NLDDF },
|
164 |
|
|
{ FRV_INSN_LDQ, FRVBF_INSN_LDQ, FRVBF_SFMT_LDQ },
|
165 |
|
|
{ FRV_INSN_LDQF, FRVBF_INSN_LDQF, FRVBF_SFMT_LDQF },
|
166 |
|
|
{ FRV_INSN_LDQC, FRVBF_INSN_LDQC, FRVBF_SFMT_LDQC },
|
167 |
|
|
{ FRV_INSN_NLDQ, FRVBF_INSN_NLDQ, FRVBF_SFMT_NLDQ },
|
168 |
|
|
{ FRV_INSN_NLDQF, FRVBF_INSN_NLDQF, FRVBF_SFMT_NLDQF },
|
169 |
|
|
{ FRV_INSN_LDSBU, FRVBF_INSN_LDSBU, FRVBF_SFMT_LDSBU },
|
170 |
|
|
{ FRV_INSN_LDUBU, FRVBF_INSN_LDUBU, FRVBF_SFMT_LDSBU },
|
171 |
|
|
{ FRV_INSN_LDSHU, FRVBF_INSN_LDSHU, FRVBF_SFMT_LDSBU },
|
172 |
|
|
{ FRV_INSN_LDUHU, FRVBF_INSN_LDUHU, FRVBF_SFMT_LDSBU },
|
173 |
|
|
{ FRV_INSN_LDU, FRVBF_INSN_LDU, FRVBF_SFMT_LDSBU },
|
174 |
|
|
{ FRV_INSN_NLDSBU, FRVBF_INSN_NLDSBU, FRVBF_SFMT_NLDSBU },
|
175 |
|
|
{ FRV_INSN_NLDUBU, FRVBF_INSN_NLDUBU, FRVBF_SFMT_NLDSBU },
|
176 |
|
|
{ FRV_INSN_NLDSHU, FRVBF_INSN_NLDSHU, FRVBF_SFMT_NLDSBU },
|
177 |
|
|
{ FRV_INSN_NLDUHU, FRVBF_INSN_NLDUHU, FRVBF_SFMT_NLDSBU },
|
178 |
|
|
{ FRV_INSN_NLDU, FRVBF_INSN_NLDU, FRVBF_SFMT_NLDSBU },
|
179 |
|
|
{ FRV_INSN_LDBFU, FRVBF_INSN_LDBFU, FRVBF_SFMT_LDBFU },
|
180 |
|
|
{ FRV_INSN_LDHFU, FRVBF_INSN_LDHFU, FRVBF_SFMT_LDBFU },
|
181 |
|
|
{ FRV_INSN_LDFU, FRVBF_INSN_LDFU, FRVBF_SFMT_LDBFU },
|
182 |
|
|
{ FRV_INSN_LDCU, FRVBF_INSN_LDCU, FRVBF_SFMT_LDCU },
|
183 |
|
|
{ FRV_INSN_NLDBFU, FRVBF_INSN_NLDBFU, FRVBF_SFMT_NLDBFU },
|
184 |
|
|
{ FRV_INSN_NLDHFU, FRVBF_INSN_NLDHFU, FRVBF_SFMT_NLDBFU },
|
185 |
|
|
{ FRV_INSN_NLDFU, FRVBF_INSN_NLDFU, FRVBF_SFMT_NLDBFU },
|
186 |
|
|
{ FRV_INSN_LDDU, FRVBF_INSN_LDDU, FRVBF_SFMT_LDDU },
|
187 |
|
|
{ FRV_INSN_NLDDU, FRVBF_INSN_NLDDU, FRVBF_SFMT_NLDDU },
|
188 |
|
|
{ FRV_INSN_LDDFU, FRVBF_INSN_LDDFU, FRVBF_SFMT_LDDFU },
|
189 |
|
|
{ FRV_INSN_LDDCU, FRVBF_INSN_LDDCU, FRVBF_SFMT_LDDCU },
|
190 |
|
|
{ FRV_INSN_NLDDFU, FRVBF_INSN_NLDDFU, FRVBF_SFMT_NLDDFU },
|
191 |
|
|
{ FRV_INSN_LDQU, FRVBF_INSN_LDQU, FRVBF_SFMT_LDQU },
|
192 |
|
|
{ FRV_INSN_NLDQU, FRVBF_INSN_NLDQU, FRVBF_SFMT_NLDQU },
|
193 |
|
|
{ FRV_INSN_LDQFU, FRVBF_INSN_LDQFU, FRVBF_SFMT_LDQFU },
|
194 |
|
|
{ FRV_INSN_LDQCU, FRVBF_INSN_LDQCU, FRVBF_SFMT_LDQCU },
|
195 |
|
|
{ FRV_INSN_NLDQFU, FRVBF_INSN_NLDQFU, FRVBF_SFMT_NLDQFU },
|
196 |
|
|
{ FRV_INSN_LDSBI, FRVBF_INSN_LDSBI, FRVBF_SFMT_LDSBI },
|
197 |
|
|
{ FRV_INSN_LDSHI, FRVBF_INSN_LDSHI, FRVBF_SFMT_LDSBI },
|
198 |
|
|
{ FRV_INSN_LDI, FRVBF_INSN_LDI, FRVBF_SFMT_LDSBI },
|
199 |
|
|
{ FRV_INSN_LDUBI, FRVBF_INSN_LDUBI, FRVBF_SFMT_LDSBI },
|
200 |
|
|
{ FRV_INSN_LDUHI, FRVBF_INSN_LDUHI, FRVBF_SFMT_LDSBI },
|
201 |
|
|
{ FRV_INSN_LDBFI, FRVBF_INSN_LDBFI, FRVBF_SFMT_LDBFI },
|
202 |
|
|
{ FRV_INSN_LDHFI, FRVBF_INSN_LDHFI, FRVBF_SFMT_LDBFI },
|
203 |
|
|
{ FRV_INSN_LDFI, FRVBF_INSN_LDFI, FRVBF_SFMT_LDBFI },
|
204 |
|
|
{ FRV_INSN_NLDSBI, FRVBF_INSN_NLDSBI, FRVBF_SFMT_NLDSBI },
|
205 |
|
|
{ FRV_INSN_NLDUBI, FRVBF_INSN_NLDUBI, FRVBF_SFMT_NLDSBI },
|
206 |
|
|
{ FRV_INSN_NLDSHI, FRVBF_INSN_NLDSHI, FRVBF_SFMT_NLDSBI },
|
207 |
|
|
{ FRV_INSN_NLDUHI, FRVBF_INSN_NLDUHI, FRVBF_SFMT_NLDSBI },
|
208 |
|
|
{ FRV_INSN_NLDI, FRVBF_INSN_NLDI, FRVBF_SFMT_NLDSBI },
|
209 |
|
|
{ FRV_INSN_NLDBFI, FRVBF_INSN_NLDBFI, FRVBF_SFMT_NLDBFI },
|
210 |
|
|
{ FRV_INSN_NLDHFI, FRVBF_INSN_NLDHFI, FRVBF_SFMT_NLDBFI },
|
211 |
|
|
{ FRV_INSN_NLDFI, FRVBF_INSN_NLDFI, FRVBF_SFMT_NLDBFI },
|
212 |
|
|
{ FRV_INSN_LDDI, FRVBF_INSN_LDDI, FRVBF_SFMT_LDDI },
|
213 |
|
|
{ FRV_INSN_LDDFI, FRVBF_INSN_LDDFI, FRVBF_SFMT_LDDFI },
|
214 |
|
|
{ FRV_INSN_NLDDI, FRVBF_INSN_NLDDI, FRVBF_SFMT_NLDDI },
|
215 |
|
|
{ FRV_INSN_NLDDFI, FRVBF_INSN_NLDDFI, FRVBF_SFMT_NLDDFI },
|
216 |
|
|
{ FRV_INSN_LDQI, FRVBF_INSN_LDQI, FRVBF_SFMT_LDQI },
|
217 |
|
|
{ FRV_INSN_LDQFI, FRVBF_INSN_LDQFI, FRVBF_SFMT_LDQFI },
|
218 |
|
|
{ FRV_INSN_NLDQFI, FRVBF_INSN_NLDQFI, FRVBF_SFMT_NLDQFI },
|
219 |
|
|
{ FRV_INSN_STB, FRVBF_INSN_STB, FRVBF_SFMT_STB },
|
220 |
|
|
{ FRV_INSN_STH, FRVBF_INSN_STH, FRVBF_SFMT_STB },
|
221 |
|
|
{ FRV_INSN_ST, FRVBF_INSN_ST, FRVBF_SFMT_STB },
|
222 |
|
|
{ FRV_INSN_STBF, FRVBF_INSN_STBF, FRVBF_SFMT_STBF },
|
223 |
|
|
{ FRV_INSN_STHF, FRVBF_INSN_STHF, FRVBF_SFMT_STBF },
|
224 |
|
|
{ FRV_INSN_STF, FRVBF_INSN_STF, FRVBF_SFMT_STBF },
|
225 |
|
|
{ FRV_INSN_STC, FRVBF_INSN_STC, FRVBF_SFMT_STC },
|
226 |
|
|
{ FRV_INSN_STD, FRVBF_INSN_STD, FRVBF_SFMT_STD },
|
227 |
|
|
{ FRV_INSN_STDF, FRVBF_INSN_STDF, FRVBF_SFMT_STDF },
|
228 |
|
|
{ FRV_INSN_STDC, FRVBF_INSN_STDC, FRVBF_SFMT_STDC },
|
229 |
|
|
{ FRV_INSN_STQ, FRVBF_INSN_STQ, FRVBF_SFMT_LDQ },
|
230 |
|
|
{ FRV_INSN_STQF, FRVBF_INSN_STQF, FRVBF_SFMT_LDQF },
|
231 |
|
|
{ FRV_INSN_STQC, FRVBF_INSN_STQC, FRVBF_SFMT_LDQC },
|
232 |
|
|
{ FRV_INSN_STBU, FRVBF_INSN_STBU, FRVBF_SFMT_STBU },
|
233 |
|
|
{ FRV_INSN_STHU, FRVBF_INSN_STHU, FRVBF_SFMT_STBU },
|
234 |
|
|
{ FRV_INSN_STU, FRVBF_INSN_STU, FRVBF_SFMT_STBU },
|
235 |
|
|
{ FRV_INSN_STBFU, FRVBF_INSN_STBFU, FRVBF_SFMT_STBFU },
|
236 |
|
|
{ FRV_INSN_STHFU, FRVBF_INSN_STHFU, FRVBF_SFMT_STBFU },
|
237 |
|
|
{ FRV_INSN_STFU, FRVBF_INSN_STFU, FRVBF_SFMT_STBFU },
|
238 |
|
|
{ FRV_INSN_STCU, FRVBF_INSN_STCU, FRVBF_SFMT_STCU },
|
239 |
|
|
{ FRV_INSN_STDU, FRVBF_INSN_STDU, FRVBF_SFMT_STDU },
|
240 |
|
|
{ FRV_INSN_STDFU, FRVBF_INSN_STDFU, FRVBF_SFMT_STDFU },
|
241 |
|
|
{ FRV_INSN_STDCU, FRVBF_INSN_STDCU, FRVBF_SFMT_STDCU },
|
242 |
|
|
{ FRV_INSN_STQU, FRVBF_INSN_STQU, FRVBF_SFMT_STQU },
|
243 |
|
|
{ FRV_INSN_STQFU, FRVBF_INSN_STQFU, FRVBF_SFMT_LDQFU },
|
244 |
|
|
{ FRV_INSN_STQCU, FRVBF_INSN_STQCU, FRVBF_SFMT_LDQCU },
|
245 |
|
|
{ FRV_INSN_CLDSB, FRVBF_INSN_CLDSB, FRVBF_SFMT_CLDSB },
|
246 |
|
|
{ FRV_INSN_CLDUB, FRVBF_INSN_CLDUB, FRVBF_SFMT_CLDSB },
|
247 |
|
|
{ FRV_INSN_CLDSH, FRVBF_INSN_CLDSH, FRVBF_SFMT_CLDSB },
|
248 |
|
|
{ FRV_INSN_CLDUH, FRVBF_INSN_CLDUH, FRVBF_SFMT_CLDSB },
|
249 |
|
|
{ FRV_INSN_CLD, FRVBF_INSN_CLD, FRVBF_SFMT_CLDSB },
|
250 |
|
|
{ FRV_INSN_CLDBF, FRVBF_INSN_CLDBF, FRVBF_SFMT_CLDBF },
|
251 |
|
|
{ FRV_INSN_CLDHF, FRVBF_INSN_CLDHF, FRVBF_SFMT_CLDBF },
|
252 |
|
|
{ FRV_INSN_CLDF, FRVBF_INSN_CLDF, FRVBF_SFMT_CLDBF },
|
253 |
|
|
{ FRV_INSN_CLDD, FRVBF_INSN_CLDD, FRVBF_SFMT_CLDD },
|
254 |
|
|
{ FRV_INSN_CLDDF, FRVBF_INSN_CLDDF, FRVBF_SFMT_CLDDF },
|
255 |
|
|
{ FRV_INSN_CLDQ, FRVBF_INSN_CLDQ, FRVBF_SFMT_CLDQ },
|
256 |
|
|
{ FRV_INSN_CLDSBU, FRVBF_INSN_CLDSBU, FRVBF_SFMT_CLDSBU },
|
257 |
|
|
{ FRV_INSN_CLDUBU, FRVBF_INSN_CLDUBU, FRVBF_SFMT_CLDSBU },
|
258 |
|
|
{ FRV_INSN_CLDSHU, FRVBF_INSN_CLDSHU, FRVBF_SFMT_CLDSBU },
|
259 |
|
|
{ FRV_INSN_CLDUHU, FRVBF_INSN_CLDUHU, FRVBF_SFMT_CLDSBU },
|
260 |
|
|
{ FRV_INSN_CLDU, FRVBF_INSN_CLDU, FRVBF_SFMT_CLDSBU },
|
261 |
|
|
{ FRV_INSN_CLDBFU, FRVBF_INSN_CLDBFU, FRVBF_SFMT_CLDBFU },
|
262 |
|
|
{ FRV_INSN_CLDHFU, FRVBF_INSN_CLDHFU, FRVBF_SFMT_CLDBFU },
|
263 |
|
|
{ FRV_INSN_CLDFU, FRVBF_INSN_CLDFU, FRVBF_SFMT_CLDBFU },
|
264 |
|
|
{ FRV_INSN_CLDDU, FRVBF_INSN_CLDDU, FRVBF_SFMT_CLDDU },
|
265 |
|
|
{ FRV_INSN_CLDDFU, FRVBF_INSN_CLDDFU, FRVBF_SFMT_CLDDFU },
|
266 |
|
|
{ FRV_INSN_CLDQU, FRVBF_INSN_CLDQU, FRVBF_SFMT_CLDQU },
|
267 |
|
|
{ FRV_INSN_CSTB, FRVBF_INSN_CSTB, FRVBF_SFMT_CSTB },
|
268 |
|
|
{ FRV_INSN_CSTH, FRVBF_INSN_CSTH, FRVBF_SFMT_CSTB },
|
269 |
|
|
{ FRV_INSN_CST, FRVBF_INSN_CST, FRVBF_SFMT_CSTB },
|
270 |
|
|
{ FRV_INSN_CSTBF, FRVBF_INSN_CSTBF, FRVBF_SFMT_CSTBF },
|
271 |
|
|
{ FRV_INSN_CSTHF, FRVBF_INSN_CSTHF, FRVBF_SFMT_CSTBF },
|
272 |
|
|
{ FRV_INSN_CSTF, FRVBF_INSN_CSTF, FRVBF_SFMT_CSTBF },
|
273 |
|
|
{ FRV_INSN_CSTD, FRVBF_INSN_CSTD, FRVBF_SFMT_CSTD },
|
274 |
|
|
{ FRV_INSN_CSTDF, FRVBF_INSN_CSTDF, FRVBF_SFMT_CSTDF },
|
275 |
|
|
{ FRV_INSN_CSTQ, FRVBF_INSN_CSTQ, FRVBF_SFMT_CLDQ },
|
276 |
|
|
{ FRV_INSN_CSTBU, FRVBF_INSN_CSTBU, FRVBF_SFMT_CSTBU },
|
277 |
|
|
{ FRV_INSN_CSTHU, FRVBF_INSN_CSTHU, FRVBF_SFMT_CSTBU },
|
278 |
|
|
{ FRV_INSN_CSTU, FRVBF_INSN_CSTU, FRVBF_SFMT_CSTBU },
|
279 |
|
|
{ FRV_INSN_CSTBFU, FRVBF_INSN_CSTBFU, FRVBF_SFMT_CSTBFU },
|
280 |
|
|
{ FRV_INSN_CSTHFU, FRVBF_INSN_CSTHFU, FRVBF_SFMT_CSTBFU },
|
281 |
|
|
{ FRV_INSN_CSTFU, FRVBF_INSN_CSTFU, FRVBF_SFMT_CSTBFU },
|
282 |
|
|
{ FRV_INSN_CSTDU, FRVBF_INSN_CSTDU, FRVBF_SFMT_CSTDU },
|
283 |
|
|
{ FRV_INSN_CSTDFU, FRVBF_INSN_CSTDFU, FRVBF_SFMT_CSTDFU },
|
284 |
|
|
{ FRV_INSN_STBI, FRVBF_INSN_STBI, FRVBF_SFMT_STBI },
|
285 |
|
|
{ FRV_INSN_STHI, FRVBF_INSN_STHI, FRVBF_SFMT_STBI },
|
286 |
|
|
{ FRV_INSN_STI, FRVBF_INSN_STI, FRVBF_SFMT_STBI },
|
287 |
|
|
{ FRV_INSN_STBFI, FRVBF_INSN_STBFI, FRVBF_SFMT_STBFI },
|
288 |
|
|
{ FRV_INSN_STHFI, FRVBF_INSN_STHFI, FRVBF_SFMT_STBFI },
|
289 |
|
|
{ FRV_INSN_STFI, FRVBF_INSN_STFI, FRVBF_SFMT_STBFI },
|
290 |
|
|
{ FRV_INSN_STDI, FRVBF_INSN_STDI, FRVBF_SFMT_STDI },
|
291 |
|
|
{ FRV_INSN_STDFI, FRVBF_INSN_STDFI, FRVBF_SFMT_STDFI },
|
292 |
|
|
{ FRV_INSN_STQI, FRVBF_INSN_STQI, FRVBF_SFMT_LDQI },
|
293 |
|
|
{ FRV_INSN_STQFI, FRVBF_INSN_STQFI, FRVBF_SFMT_LDQFI },
|
294 |
|
|
{ FRV_INSN_SWAP, FRVBF_INSN_SWAP, FRVBF_SFMT_SWAP },
|
295 |
|
|
{ FRV_INSN_SWAPI, FRVBF_INSN_SWAPI, FRVBF_SFMT_SWAPI },
|
296 |
|
|
{ FRV_INSN_CSWAP, FRVBF_INSN_CSWAP, FRVBF_SFMT_CSWAP },
|
297 |
|
|
{ FRV_INSN_MOVGF, FRVBF_INSN_MOVGF, FRVBF_SFMT_MOVGF },
|
298 |
|
|
{ FRV_INSN_MOVFG, FRVBF_INSN_MOVFG, FRVBF_SFMT_MOVFG },
|
299 |
|
|
{ FRV_INSN_MOVGFD, FRVBF_INSN_MOVGFD, FRVBF_SFMT_MOVGFD },
|
300 |
|
|
{ FRV_INSN_MOVFGD, FRVBF_INSN_MOVFGD, FRVBF_SFMT_MOVFGD },
|
301 |
|
|
{ FRV_INSN_MOVGFQ, FRVBF_INSN_MOVGFQ, FRVBF_SFMT_MOVGFQ },
|
302 |
|
|
{ FRV_INSN_MOVFGQ, FRVBF_INSN_MOVFGQ, FRVBF_SFMT_MOVFGQ },
|
303 |
|
|
{ FRV_INSN_CMOVGF, FRVBF_INSN_CMOVGF, FRVBF_SFMT_CMOVGF },
|
304 |
|
|
{ FRV_INSN_CMOVFG, FRVBF_INSN_CMOVFG, FRVBF_SFMT_CMOVFG },
|
305 |
|
|
{ FRV_INSN_CMOVGFD, FRVBF_INSN_CMOVGFD, FRVBF_SFMT_CMOVGFD },
|
306 |
|
|
{ FRV_INSN_CMOVFGD, FRVBF_INSN_CMOVFGD, FRVBF_SFMT_CMOVFGD },
|
307 |
|
|
{ FRV_INSN_MOVGS, FRVBF_INSN_MOVGS, FRVBF_SFMT_MOVGS },
|
308 |
|
|
{ FRV_INSN_MOVSG, FRVBF_INSN_MOVSG, FRVBF_SFMT_MOVSG },
|
309 |
|
|
{ FRV_INSN_BRA, FRVBF_INSN_BRA, FRVBF_SFMT_BRA },
|
310 |
|
|
{ FRV_INSN_BNO, FRVBF_INSN_BNO, FRVBF_SFMT_BNO },
|
311 |
|
|
{ FRV_INSN_BEQ, FRVBF_INSN_BEQ, FRVBF_SFMT_BEQ },
|
312 |
|
|
{ FRV_INSN_BNE, FRVBF_INSN_BNE, FRVBF_SFMT_BEQ },
|
313 |
|
|
{ FRV_INSN_BLE, FRVBF_INSN_BLE, FRVBF_SFMT_BEQ },
|
314 |
|
|
{ FRV_INSN_BGT, FRVBF_INSN_BGT, FRVBF_SFMT_BEQ },
|
315 |
|
|
{ FRV_INSN_BLT, FRVBF_INSN_BLT, FRVBF_SFMT_BEQ },
|
316 |
|
|
{ FRV_INSN_BGE, FRVBF_INSN_BGE, FRVBF_SFMT_BEQ },
|
317 |
|
|
{ FRV_INSN_BLS, FRVBF_INSN_BLS, FRVBF_SFMT_BEQ },
|
318 |
|
|
{ FRV_INSN_BHI, FRVBF_INSN_BHI, FRVBF_SFMT_BEQ },
|
319 |
|
|
{ FRV_INSN_BC, FRVBF_INSN_BC, FRVBF_SFMT_BEQ },
|
320 |
|
|
{ FRV_INSN_BNC, FRVBF_INSN_BNC, FRVBF_SFMT_BEQ },
|
321 |
|
|
{ FRV_INSN_BN, FRVBF_INSN_BN, FRVBF_SFMT_BEQ },
|
322 |
|
|
{ FRV_INSN_BP, FRVBF_INSN_BP, FRVBF_SFMT_BEQ },
|
323 |
|
|
{ FRV_INSN_BV, FRVBF_INSN_BV, FRVBF_SFMT_BEQ },
|
324 |
|
|
{ FRV_INSN_BNV, FRVBF_INSN_BNV, FRVBF_SFMT_BEQ },
|
325 |
|
|
{ FRV_INSN_FBRA, FRVBF_INSN_FBRA, FRVBF_SFMT_FBRA },
|
326 |
|
|
{ FRV_INSN_FBNO, FRVBF_INSN_FBNO, FRVBF_SFMT_FBNO },
|
327 |
|
|
{ FRV_INSN_FBNE, FRVBF_INSN_FBNE, FRVBF_SFMT_FBNE },
|
328 |
|
|
{ FRV_INSN_FBEQ, FRVBF_INSN_FBEQ, FRVBF_SFMT_FBNE },
|
329 |
|
|
{ FRV_INSN_FBLG, FRVBF_INSN_FBLG, FRVBF_SFMT_FBNE },
|
330 |
|
|
{ FRV_INSN_FBUE, FRVBF_INSN_FBUE, FRVBF_SFMT_FBNE },
|
331 |
|
|
{ FRV_INSN_FBUL, FRVBF_INSN_FBUL, FRVBF_SFMT_FBNE },
|
332 |
|
|
{ FRV_INSN_FBGE, FRVBF_INSN_FBGE, FRVBF_SFMT_FBNE },
|
333 |
|
|
{ FRV_INSN_FBLT, FRVBF_INSN_FBLT, FRVBF_SFMT_FBNE },
|
334 |
|
|
{ FRV_INSN_FBUGE, FRVBF_INSN_FBUGE, FRVBF_SFMT_FBNE },
|
335 |
|
|
{ FRV_INSN_FBUG, FRVBF_INSN_FBUG, FRVBF_SFMT_FBNE },
|
336 |
|
|
{ FRV_INSN_FBLE, FRVBF_INSN_FBLE, FRVBF_SFMT_FBNE },
|
337 |
|
|
{ FRV_INSN_FBGT, FRVBF_INSN_FBGT, FRVBF_SFMT_FBNE },
|
338 |
|
|
{ FRV_INSN_FBULE, FRVBF_INSN_FBULE, FRVBF_SFMT_FBNE },
|
339 |
|
|
{ FRV_INSN_FBU, FRVBF_INSN_FBU, FRVBF_SFMT_FBNE },
|
340 |
|
|
{ FRV_INSN_FBO, FRVBF_INSN_FBO, FRVBF_SFMT_FBNE },
|
341 |
|
|
{ FRV_INSN_BCTRLR, FRVBF_INSN_BCTRLR, FRVBF_SFMT_BCTRLR },
|
342 |
|
|
{ FRV_INSN_BRALR, FRVBF_INSN_BRALR, FRVBF_SFMT_BRALR },
|
343 |
|
|
{ FRV_INSN_BNOLR, FRVBF_INSN_BNOLR, FRVBF_SFMT_BNOLR },
|
344 |
|
|
{ FRV_INSN_BEQLR, FRVBF_INSN_BEQLR, FRVBF_SFMT_BEQLR },
|
345 |
|
|
{ FRV_INSN_BNELR, FRVBF_INSN_BNELR, FRVBF_SFMT_BEQLR },
|
346 |
|
|
{ FRV_INSN_BLELR, FRVBF_INSN_BLELR, FRVBF_SFMT_BEQLR },
|
347 |
|
|
{ FRV_INSN_BGTLR, FRVBF_INSN_BGTLR, FRVBF_SFMT_BEQLR },
|
348 |
|
|
{ FRV_INSN_BLTLR, FRVBF_INSN_BLTLR, FRVBF_SFMT_BEQLR },
|
349 |
|
|
{ FRV_INSN_BGELR, FRVBF_INSN_BGELR, FRVBF_SFMT_BEQLR },
|
350 |
|
|
{ FRV_INSN_BLSLR, FRVBF_INSN_BLSLR, FRVBF_SFMT_BEQLR },
|
351 |
|
|
{ FRV_INSN_BHILR, FRVBF_INSN_BHILR, FRVBF_SFMT_BEQLR },
|
352 |
|
|
{ FRV_INSN_BCLR, FRVBF_INSN_BCLR, FRVBF_SFMT_BEQLR },
|
353 |
|
|
{ FRV_INSN_BNCLR, FRVBF_INSN_BNCLR, FRVBF_SFMT_BEQLR },
|
354 |
|
|
{ FRV_INSN_BNLR, FRVBF_INSN_BNLR, FRVBF_SFMT_BEQLR },
|
355 |
|
|
{ FRV_INSN_BPLR, FRVBF_INSN_BPLR, FRVBF_SFMT_BEQLR },
|
356 |
|
|
{ FRV_INSN_BVLR, FRVBF_INSN_BVLR, FRVBF_SFMT_BEQLR },
|
357 |
|
|
{ FRV_INSN_BNVLR, FRVBF_INSN_BNVLR, FRVBF_SFMT_BEQLR },
|
358 |
|
|
{ FRV_INSN_FBRALR, FRVBF_INSN_FBRALR, FRVBF_SFMT_FBRALR },
|
359 |
|
|
{ FRV_INSN_FBNOLR, FRVBF_INSN_FBNOLR, FRVBF_SFMT_FBNOLR },
|
360 |
|
|
{ FRV_INSN_FBEQLR, FRVBF_INSN_FBEQLR, FRVBF_SFMT_FBEQLR },
|
361 |
|
|
{ FRV_INSN_FBNELR, FRVBF_INSN_FBNELR, FRVBF_SFMT_FBEQLR },
|
362 |
|
|
{ FRV_INSN_FBLGLR, FRVBF_INSN_FBLGLR, FRVBF_SFMT_FBEQLR },
|
363 |
|
|
{ FRV_INSN_FBUELR, FRVBF_INSN_FBUELR, FRVBF_SFMT_FBEQLR },
|
364 |
|
|
{ FRV_INSN_FBULLR, FRVBF_INSN_FBULLR, FRVBF_SFMT_FBEQLR },
|
365 |
|
|
{ FRV_INSN_FBGELR, FRVBF_INSN_FBGELR, FRVBF_SFMT_FBEQLR },
|
366 |
|
|
{ FRV_INSN_FBLTLR, FRVBF_INSN_FBLTLR, FRVBF_SFMT_FBEQLR },
|
367 |
|
|
{ FRV_INSN_FBUGELR, FRVBF_INSN_FBUGELR, FRVBF_SFMT_FBEQLR },
|
368 |
|
|
{ FRV_INSN_FBUGLR, FRVBF_INSN_FBUGLR, FRVBF_SFMT_FBEQLR },
|
369 |
|
|
{ FRV_INSN_FBLELR, FRVBF_INSN_FBLELR, FRVBF_SFMT_FBEQLR },
|
370 |
|
|
{ FRV_INSN_FBGTLR, FRVBF_INSN_FBGTLR, FRVBF_SFMT_FBEQLR },
|
371 |
|
|
{ FRV_INSN_FBULELR, FRVBF_INSN_FBULELR, FRVBF_SFMT_FBEQLR },
|
372 |
|
|
{ FRV_INSN_FBULR, FRVBF_INSN_FBULR, FRVBF_SFMT_FBEQLR },
|
373 |
|
|
{ FRV_INSN_FBOLR, FRVBF_INSN_FBOLR, FRVBF_SFMT_FBEQLR },
|
374 |
|
|
{ FRV_INSN_BCRALR, FRVBF_INSN_BCRALR, FRVBF_SFMT_BCRALR },
|
375 |
|
|
{ FRV_INSN_BCNOLR, FRVBF_INSN_BCNOLR, FRVBF_SFMT_BCNOLR },
|
376 |
|
|
{ FRV_INSN_BCEQLR, FRVBF_INSN_BCEQLR, FRVBF_SFMT_BCEQLR },
|
377 |
|
|
{ FRV_INSN_BCNELR, FRVBF_INSN_BCNELR, FRVBF_SFMT_BCEQLR },
|
378 |
|
|
{ FRV_INSN_BCLELR, FRVBF_INSN_BCLELR, FRVBF_SFMT_BCEQLR },
|
379 |
|
|
{ FRV_INSN_BCGTLR, FRVBF_INSN_BCGTLR, FRVBF_SFMT_BCEQLR },
|
380 |
|
|
{ FRV_INSN_BCLTLR, FRVBF_INSN_BCLTLR, FRVBF_SFMT_BCEQLR },
|
381 |
|
|
{ FRV_INSN_BCGELR, FRVBF_INSN_BCGELR, FRVBF_SFMT_BCEQLR },
|
382 |
|
|
{ FRV_INSN_BCLSLR, FRVBF_INSN_BCLSLR, FRVBF_SFMT_BCEQLR },
|
383 |
|
|
{ FRV_INSN_BCHILR, FRVBF_INSN_BCHILR, FRVBF_SFMT_BCEQLR },
|
384 |
|
|
{ FRV_INSN_BCCLR, FRVBF_INSN_BCCLR, FRVBF_SFMT_BCEQLR },
|
385 |
|
|
{ FRV_INSN_BCNCLR, FRVBF_INSN_BCNCLR, FRVBF_SFMT_BCEQLR },
|
386 |
|
|
{ FRV_INSN_BCNLR, FRVBF_INSN_BCNLR, FRVBF_SFMT_BCEQLR },
|
387 |
|
|
{ FRV_INSN_BCPLR, FRVBF_INSN_BCPLR, FRVBF_SFMT_BCEQLR },
|
388 |
|
|
{ FRV_INSN_BCVLR, FRVBF_INSN_BCVLR, FRVBF_SFMT_BCEQLR },
|
389 |
|
|
{ FRV_INSN_BCNVLR, FRVBF_INSN_BCNVLR, FRVBF_SFMT_BCEQLR },
|
390 |
|
|
{ FRV_INSN_FCBRALR, FRVBF_INSN_FCBRALR, FRVBF_SFMT_FCBRALR },
|
391 |
|
|
{ FRV_INSN_FCBNOLR, FRVBF_INSN_FCBNOLR, FRVBF_SFMT_FCBNOLR },
|
392 |
|
|
{ FRV_INSN_FCBEQLR, FRVBF_INSN_FCBEQLR, FRVBF_SFMT_FCBEQLR },
|
393 |
|
|
{ FRV_INSN_FCBNELR, FRVBF_INSN_FCBNELR, FRVBF_SFMT_FCBEQLR },
|
394 |
|
|
{ FRV_INSN_FCBLGLR, FRVBF_INSN_FCBLGLR, FRVBF_SFMT_FCBEQLR },
|
395 |
|
|
{ FRV_INSN_FCBUELR, FRVBF_INSN_FCBUELR, FRVBF_SFMT_FCBEQLR },
|
396 |
|
|
{ FRV_INSN_FCBULLR, FRVBF_INSN_FCBULLR, FRVBF_SFMT_FCBEQLR },
|
397 |
|
|
{ FRV_INSN_FCBGELR, FRVBF_INSN_FCBGELR, FRVBF_SFMT_FCBEQLR },
|
398 |
|
|
{ FRV_INSN_FCBLTLR, FRVBF_INSN_FCBLTLR, FRVBF_SFMT_FCBEQLR },
|
399 |
|
|
{ FRV_INSN_FCBUGELR, FRVBF_INSN_FCBUGELR, FRVBF_SFMT_FCBEQLR },
|
400 |
|
|
{ FRV_INSN_FCBUGLR, FRVBF_INSN_FCBUGLR, FRVBF_SFMT_FCBEQLR },
|
401 |
|
|
{ FRV_INSN_FCBLELR, FRVBF_INSN_FCBLELR, FRVBF_SFMT_FCBEQLR },
|
402 |
|
|
{ FRV_INSN_FCBGTLR, FRVBF_INSN_FCBGTLR, FRVBF_SFMT_FCBEQLR },
|
403 |
|
|
{ FRV_INSN_FCBULELR, FRVBF_INSN_FCBULELR, FRVBF_SFMT_FCBEQLR },
|
404 |
|
|
{ FRV_INSN_FCBULR, FRVBF_INSN_FCBULR, FRVBF_SFMT_FCBEQLR },
|
405 |
|
|
{ FRV_INSN_FCBOLR, FRVBF_INSN_FCBOLR, FRVBF_SFMT_FCBEQLR },
|
406 |
|
|
{ FRV_INSN_JMPL, FRVBF_INSN_JMPL, FRVBF_SFMT_JMPL },
|
407 |
|
|
{ FRV_INSN_CALLL, FRVBF_INSN_CALLL, FRVBF_SFMT_CALLL },
|
408 |
|
|
{ FRV_INSN_JMPIL, FRVBF_INSN_JMPIL, FRVBF_SFMT_JMPIL },
|
409 |
|
|
{ FRV_INSN_CALLIL, FRVBF_INSN_CALLIL, FRVBF_SFMT_CALLIL },
|
410 |
|
|
{ FRV_INSN_CALL, FRVBF_INSN_CALL, FRVBF_SFMT_CALL },
|
411 |
|
|
{ FRV_INSN_RETT, FRVBF_INSN_RETT, FRVBF_SFMT_RETT },
|
412 |
|
|
{ FRV_INSN_REI, FRVBF_INSN_REI, FRVBF_SFMT_REI },
|
413 |
|
|
{ FRV_INSN_TRA, FRVBF_INSN_TRA, FRVBF_SFMT_TRA },
|
414 |
|
|
{ FRV_INSN_TNO, FRVBF_INSN_TNO, FRVBF_SFMT_REI },
|
415 |
|
|
{ FRV_INSN_TEQ, FRVBF_INSN_TEQ, FRVBF_SFMT_TEQ },
|
416 |
|
|
{ FRV_INSN_TNE, FRVBF_INSN_TNE, FRVBF_SFMT_TEQ },
|
417 |
|
|
{ FRV_INSN_TLE, FRVBF_INSN_TLE, FRVBF_SFMT_TEQ },
|
418 |
|
|
{ FRV_INSN_TGT, FRVBF_INSN_TGT, FRVBF_SFMT_TEQ },
|
419 |
|
|
{ FRV_INSN_TLT, FRVBF_INSN_TLT, FRVBF_SFMT_TEQ },
|
420 |
|
|
{ FRV_INSN_TGE, FRVBF_INSN_TGE, FRVBF_SFMT_TEQ },
|
421 |
|
|
{ FRV_INSN_TLS, FRVBF_INSN_TLS, FRVBF_SFMT_TEQ },
|
422 |
|
|
{ FRV_INSN_THI, FRVBF_INSN_THI, FRVBF_SFMT_TEQ },
|
423 |
|
|
{ FRV_INSN_TC, FRVBF_INSN_TC, FRVBF_SFMT_TEQ },
|
424 |
|
|
{ FRV_INSN_TNC, FRVBF_INSN_TNC, FRVBF_SFMT_TEQ },
|
425 |
|
|
{ FRV_INSN_TN, FRVBF_INSN_TN, FRVBF_SFMT_TEQ },
|
426 |
|
|
{ FRV_INSN_TP, FRVBF_INSN_TP, FRVBF_SFMT_TEQ },
|
427 |
|
|
{ FRV_INSN_TV, FRVBF_INSN_TV, FRVBF_SFMT_TEQ },
|
428 |
|
|
{ FRV_INSN_TNV, FRVBF_INSN_TNV, FRVBF_SFMT_TEQ },
|
429 |
|
|
{ FRV_INSN_FTRA, FRVBF_INSN_FTRA, FRVBF_SFMT_FTRA },
|
430 |
|
|
{ FRV_INSN_FTNO, FRVBF_INSN_FTNO, FRVBF_SFMT_REI },
|
431 |
|
|
{ FRV_INSN_FTNE, FRVBF_INSN_FTNE, FRVBF_SFMT_FTNE },
|
432 |
|
|
{ FRV_INSN_FTEQ, FRVBF_INSN_FTEQ, FRVBF_SFMT_FTNE },
|
433 |
|
|
{ FRV_INSN_FTLG, FRVBF_INSN_FTLG, FRVBF_SFMT_FTNE },
|
434 |
|
|
{ FRV_INSN_FTUE, FRVBF_INSN_FTUE, FRVBF_SFMT_FTNE },
|
435 |
|
|
{ FRV_INSN_FTUL, FRVBF_INSN_FTUL, FRVBF_SFMT_FTNE },
|
436 |
|
|
{ FRV_INSN_FTGE, FRVBF_INSN_FTGE, FRVBF_SFMT_FTNE },
|
437 |
|
|
{ FRV_INSN_FTLT, FRVBF_INSN_FTLT, FRVBF_SFMT_FTNE },
|
438 |
|
|
{ FRV_INSN_FTUGE, FRVBF_INSN_FTUGE, FRVBF_SFMT_FTNE },
|
439 |
|
|
{ FRV_INSN_FTUG, FRVBF_INSN_FTUG, FRVBF_SFMT_FTNE },
|
440 |
|
|
{ FRV_INSN_FTLE, FRVBF_INSN_FTLE, FRVBF_SFMT_FTNE },
|
441 |
|
|
{ FRV_INSN_FTGT, FRVBF_INSN_FTGT, FRVBF_SFMT_FTNE },
|
442 |
|
|
{ FRV_INSN_FTULE, FRVBF_INSN_FTULE, FRVBF_SFMT_FTNE },
|
443 |
|
|
{ FRV_INSN_FTU, FRVBF_INSN_FTU, FRVBF_SFMT_FTNE },
|
444 |
|
|
{ FRV_INSN_FTO, FRVBF_INSN_FTO, FRVBF_SFMT_FTNE },
|
445 |
|
|
{ FRV_INSN_TIRA, FRVBF_INSN_TIRA, FRVBF_SFMT_TIRA },
|
446 |
|
|
{ FRV_INSN_TINO, FRVBF_INSN_TINO, FRVBF_SFMT_REI },
|
447 |
|
|
{ FRV_INSN_TIEQ, FRVBF_INSN_TIEQ, FRVBF_SFMT_TIEQ },
|
448 |
|
|
{ FRV_INSN_TINE, FRVBF_INSN_TINE, FRVBF_SFMT_TIEQ },
|
449 |
|
|
{ FRV_INSN_TILE, FRVBF_INSN_TILE, FRVBF_SFMT_TIEQ },
|
450 |
|
|
{ FRV_INSN_TIGT, FRVBF_INSN_TIGT, FRVBF_SFMT_TIEQ },
|
451 |
|
|
{ FRV_INSN_TILT, FRVBF_INSN_TILT, FRVBF_SFMT_TIEQ },
|
452 |
|
|
{ FRV_INSN_TIGE, FRVBF_INSN_TIGE, FRVBF_SFMT_TIEQ },
|
453 |
|
|
{ FRV_INSN_TILS, FRVBF_INSN_TILS, FRVBF_SFMT_TIEQ },
|
454 |
|
|
{ FRV_INSN_TIHI, FRVBF_INSN_TIHI, FRVBF_SFMT_TIEQ },
|
455 |
|
|
{ FRV_INSN_TIC, FRVBF_INSN_TIC, FRVBF_SFMT_TIEQ },
|
456 |
|
|
{ FRV_INSN_TINC, FRVBF_INSN_TINC, FRVBF_SFMT_TIEQ },
|
457 |
|
|
{ FRV_INSN_TIN, FRVBF_INSN_TIN, FRVBF_SFMT_TIEQ },
|
458 |
|
|
{ FRV_INSN_TIP, FRVBF_INSN_TIP, FRVBF_SFMT_TIEQ },
|
459 |
|
|
{ FRV_INSN_TIV, FRVBF_INSN_TIV, FRVBF_SFMT_TIEQ },
|
460 |
|
|
{ FRV_INSN_TINV, FRVBF_INSN_TINV, FRVBF_SFMT_TIEQ },
|
461 |
|
|
{ FRV_INSN_FTIRA, FRVBF_INSN_FTIRA, FRVBF_SFMT_FTIRA },
|
462 |
|
|
{ FRV_INSN_FTINO, FRVBF_INSN_FTINO, FRVBF_SFMT_REI },
|
463 |
|
|
{ FRV_INSN_FTINE, FRVBF_INSN_FTINE, FRVBF_SFMT_FTINE },
|
464 |
|
|
{ FRV_INSN_FTIEQ, FRVBF_INSN_FTIEQ, FRVBF_SFMT_FTINE },
|
465 |
|
|
{ FRV_INSN_FTILG, FRVBF_INSN_FTILG, FRVBF_SFMT_FTINE },
|
466 |
|
|
{ FRV_INSN_FTIUE, FRVBF_INSN_FTIUE, FRVBF_SFMT_FTINE },
|
467 |
|
|
{ FRV_INSN_FTIUL, FRVBF_INSN_FTIUL, FRVBF_SFMT_FTINE },
|
468 |
|
|
{ FRV_INSN_FTIGE, FRVBF_INSN_FTIGE, FRVBF_SFMT_FTINE },
|
469 |
|
|
{ FRV_INSN_FTILT, FRVBF_INSN_FTILT, FRVBF_SFMT_FTINE },
|
470 |
|
|
{ FRV_INSN_FTIUGE, FRVBF_INSN_FTIUGE, FRVBF_SFMT_FTINE },
|
471 |
|
|
{ FRV_INSN_FTIUG, FRVBF_INSN_FTIUG, FRVBF_SFMT_FTINE },
|
472 |
|
|
{ FRV_INSN_FTILE, FRVBF_INSN_FTILE, FRVBF_SFMT_FTINE },
|
473 |
|
|
{ FRV_INSN_FTIGT, FRVBF_INSN_FTIGT, FRVBF_SFMT_FTINE },
|
474 |
|
|
{ FRV_INSN_FTIULE, FRVBF_INSN_FTIULE, FRVBF_SFMT_FTINE },
|
475 |
|
|
{ FRV_INSN_FTIU, FRVBF_INSN_FTIU, FRVBF_SFMT_FTINE },
|
476 |
|
|
{ FRV_INSN_FTIO, FRVBF_INSN_FTIO, FRVBF_SFMT_FTINE },
|
477 |
|
|
{ FRV_INSN_BREAK, FRVBF_INSN_BREAK, FRVBF_SFMT_BREAK },
|
478 |
|
|
{ FRV_INSN_MTRAP, FRVBF_INSN_MTRAP, FRVBF_SFMT_REI },
|
479 |
|
|
{ FRV_INSN_ANDCR, FRVBF_INSN_ANDCR, FRVBF_SFMT_ANDCR },
|
480 |
|
|
{ FRV_INSN_ORCR, FRVBF_INSN_ORCR, FRVBF_SFMT_ANDCR },
|
481 |
|
|
{ FRV_INSN_XORCR, FRVBF_INSN_XORCR, FRVBF_SFMT_ANDCR },
|
482 |
|
|
{ FRV_INSN_NANDCR, FRVBF_INSN_NANDCR, FRVBF_SFMT_ANDCR },
|
483 |
|
|
{ FRV_INSN_NORCR, FRVBF_INSN_NORCR, FRVBF_SFMT_ANDCR },
|
484 |
|
|
{ FRV_INSN_ANDNCR, FRVBF_INSN_ANDNCR, FRVBF_SFMT_ANDCR },
|
485 |
|
|
{ FRV_INSN_ORNCR, FRVBF_INSN_ORNCR, FRVBF_SFMT_ANDCR },
|
486 |
|
|
{ FRV_INSN_NANDNCR, FRVBF_INSN_NANDNCR, FRVBF_SFMT_ANDCR },
|
487 |
|
|
{ FRV_INSN_NORNCR, FRVBF_INSN_NORNCR, FRVBF_SFMT_ANDCR },
|
488 |
|
|
{ FRV_INSN_NOTCR, FRVBF_INSN_NOTCR, FRVBF_SFMT_NOTCR },
|
489 |
|
|
{ FRV_INSN_CKRA, FRVBF_INSN_CKRA, FRVBF_SFMT_CKRA },
|
490 |
|
|
{ FRV_INSN_CKNO, FRVBF_INSN_CKNO, FRVBF_SFMT_CKRA },
|
491 |
|
|
{ FRV_INSN_CKEQ, FRVBF_INSN_CKEQ, FRVBF_SFMT_CKEQ },
|
492 |
|
|
{ FRV_INSN_CKNE, FRVBF_INSN_CKNE, FRVBF_SFMT_CKEQ },
|
493 |
|
|
{ FRV_INSN_CKLE, FRVBF_INSN_CKLE, FRVBF_SFMT_CKEQ },
|
494 |
|
|
{ FRV_INSN_CKGT, FRVBF_INSN_CKGT, FRVBF_SFMT_CKEQ },
|
495 |
|
|
{ FRV_INSN_CKLT, FRVBF_INSN_CKLT, FRVBF_SFMT_CKEQ },
|
496 |
|
|
{ FRV_INSN_CKGE, FRVBF_INSN_CKGE, FRVBF_SFMT_CKEQ },
|
497 |
|
|
{ FRV_INSN_CKLS, FRVBF_INSN_CKLS, FRVBF_SFMT_CKEQ },
|
498 |
|
|
{ FRV_INSN_CKHI, FRVBF_INSN_CKHI, FRVBF_SFMT_CKEQ },
|
499 |
|
|
{ FRV_INSN_CKC, FRVBF_INSN_CKC, FRVBF_SFMT_CKEQ },
|
500 |
|
|
{ FRV_INSN_CKNC, FRVBF_INSN_CKNC, FRVBF_SFMT_CKEQ },
|
501 |
|
|
{ FRV_INSN_CKN, FRVBF_INSN_CKN, FRVBF_SFMT_CKEQ },
|
502 |
|
|
{ FRV_INSN_CKP, FRVBF_INSN_CKP, FRVBF_SFMT_CKEQ },
|
503 |
|
|
{ FRV_INSN_CKV, FRVBF_INSN_CKV, FRVBF_SFMT_CKEQ },
|
504 |
|
|
{ FRV_INSN_CKNV, FRVBF_INSN_CKNV, FRVBF_SFMT_CKEQ },
|
505 |
|
|
{ FRV_INSN_FCKRA, FRVBF_INSN_FCKRA, FRVBF_SFMT_FCKRA },
|
506 |
|
|
{ FRV_INSN_FCKNO, FRVBF_INSN_FCKNO, FRVBF_SFMT_FCKRA },
|
507 |
|
|
{ FRV_INSN_FCKNE, FRVBF_INSN_FCKNE, FRVBF_SFMT_FCKNE },
|
508 |
|
|
{ FRV_INSN_FCKEQ, FRVBF_INSN_FCKEQ, FRVBF_SFMT_FCKNE },
|
509 |
|
|
{ FRV_INSN_FCKLG, FRVBF_INSN_FCKLG, FRVBF_SFMT_FCKNE },
|
510 |
|
|
{ FRV_INSN_FCKUE, FRVBF_INSN_FCKUE, FRVBF_SFMT_FCKNE },
|
511 |
|
|
{ FRV_INSN_FCKUL, FRVBF_INSN_FCKUL, FRVBF_SFMT_FCKNE },
|
512 |
|
|
{ FRV_INSN_FCKGE, FRVBF_INSN_FCKGE, FRVBF_SFMT_FCKNE },
|
513 |
|
|
{ FRV_INSN_FCKLT, FRVBF_INSN_FCKLT, FRVBF_SFMT_FCKNE },
|
514 |
|
|
{ FRV_INSN_FCKUGE, FRVBF_INSN_FCKUGE, FRVBF_SFMT_FCKNE },
|
515 |
|
|
{ FRV_INSN_FCKUG, FRVBF_INSN_FCKUG, FRVBF_SFMT_FCKNE },
|
516 |
|
|
{ FRV_INSN_FCKLE, FRVBF_INSN_FCKLE, FRVBF_SFMT_FCKNE },
|
517 |
|
|
{ FRV_INSN_FCKGT, FRVBF_INSN_FCKGT, FRVBF_SFMT_FCKNE },
|
518 |
|
|
{ FRV_INSN_FCKULE, FRVBF_INSN_FCKULE, FRVBF_SFMT_FCKNE },
|
519 |
|
|
{ FRV_INSN_FCKU, FRVBF_INSN_FCKU, FRVBF_SFMT_FCKNE },
|
520 |
|
|
{ FRV_INSN_FCKO, FRVBF_INSN_FCKO, FRVBF_SFMT_FCKNE },
|
521 |
|
|
{ FRV_INSN_CCKRA, FRVBF_INSN_CCKRA, FRVBF_SFMT_CCKRA },
|
522 |
|
|
{ FRV_INSN_CCKNO, FRVBF_INSN_CCKNO, FRVBF_SFMT_CCKRA },
|
523 |
|
|
{ FRV_INSN_CCKEQ, FRVBF_INSN_CCKEQ, FRVBF_SFMT_CCKEQ },
|
524 |
|
|
{ FRV_INSN_CCKNE, FRVBF_INSN_CCKNE, FRVBF_SFMT_CCKEQ },
|
525 |
|
|
{ FRV_INSN_CCKLE, FRVBF_INSN_CCKLE, FRVBF_SFMT_CCKEQ },
|
526 |
|
|
{ FRV_INSN_CCKGT, FRVBF_INSN_CCKGT, FRVBF_SFMT_CCKEQ },
|
527 |
|
|
{ FRV_INSN_CCKLT, FRVBF_INSN_CCKLT, FRVBF_SFMT_CCKEQ },
|
528 |
|
|
{ FRV_INSN_CCKGE, FRVBF_INSN_CCKGE, FRVBF_SFMT_CCKEQ },
|
529 |
|
|
{ FRV_INSN_CCKLS, FRVBF_INSN_CCKLS, FRVBF_SFMT_CCKEQ },
|
530 |
|
|
{ FRV_INSN_CCKHI, FRVBF_INSN_CCKHI, FRVBF_SFMT_CCKEQ },
|
531 |
|
|
{ FRV_INSN_CCKC, FRVBF_INSN_CCKC, FRVBF_SFMT_CCKEQ },
|
532 |
|
|
{ FRV_INSN_CCKNC, FRVBF_INSN_CCKNC, FRVBF_SFMT_CCKEQ },
|
533 |
|
|
{ FRV_INSN_CCKN, FRVBF_INSN_CCKN, FRVBF_SFMT_CCKEQ },
|
534 |
|
|
{ FRV_INSN_CCKP, FRVBF_INSN_CCKP, FRVBF_SFMT_CCKEQ },
|
535 |
|
|
{ FRV_INSN_CCKV, FRVBF_INSN_CCKV, FRVBF_SFMT_CCKEQ },
|
536 |
|
|
{ FRV_INSN_CCKNV, FRVBF_INSN_CCKNV, FRVBF_SFMT_CCKEQ },
|
537 |
|
|
{ FRV_INSN_CFCKRA, FRVBF_INSN_CFCKRA, FRVBF_SFMT_CFCKRA },
|
538 |
|
|
{ FRV_INSN_CFCKNO, FRVBF_INSN_CFCKNO, FRVBF_SFMT_CFCKRA },
|
539 |
|
|
{ FRV_INSN_CFCKNE, FRVBF_INSN_CFCKNE, FRVBF_SFMT_CFCKNE },
|
540 |
|
|
{ FRV_INSN_CFCKEQ, FRVBF_INSN_CFCKEQ, FRVBF_SFMT_CFCKNE },
|
541 |
|
|
{ FRV_INSN_CFCKLG, FRVBF_INSN_CFCKLG, FRVBF_SFMT_CFCKNE },
|
542 |
|
|
{ FRV_INSN_CFCKUE, FRVBF_INSN_CFCKUE, FRVBF_SFMT_CFCKNE },
|
543 |
|
|
{ FRV_INSN_CFCKUL, FRVBF_INSN_CFCKUL, FRVBF_SFMT_CFCKNE },
|
544 |
|
|
{ FRV_INSN_CFCKGE, FRVBF_INSN_CFCKGE, FRVBF_SFMT_CFCKNE },
|
545 |
|
|
{ FRV_INSN_CFCKLT, FRVBF_INSN_CFCKLT, FRVBF_SFMT_CFCKNE },
|
546 |
|
|
{ FRV_INSN_CFCKUGE, FRVBF_INSN_CFCKUGE, FRVBF_SFMT_CFCKNE },
|
547 |
|
|
{ FRV_INSN_CFCKUG, FRVBF_INSN_CFCKUG, FRVBF_SFMT_CFCKNE },
|
548 |
|
|
{ FRV_INSN_CFCKLE, FRVBF_INSN_CFCKLE, FRVBF_SFMT_CFCKNE },
|
549 |
|
|
{ FRV_INSN_CFCKGT, FRVBF_INSN_CFCKGT, FRVBF_SFMT_CFCKNE },
|
550 |
|
|
{ FRV_INSN_CFCKULE, FRVBF_INSN_CFCKULE, FRVBF_SFMT_CFCKNE },
|
551 |
|
|
{ FRV_INSN_CFCKU, FRVBF_INSN_CFCKU, FRVBF_SFMT_CFCKNE },
|
552 |
|
|
{ FRV_INSN_CFCKO, FRVBF_INSN_CFCKO, FRVBF_SFMT_CFCKNE },
|
553 |
|
|
{ FRV_INSN_CJMPL, FRVBF_INSN_CJMPL, FRVBF_SFMT_CJMPL },
|
554 |
|
|
{ FRV_INSN_CCALLL, FRVBF_INSN_CCALLL, FRVBF_SFMT_CCALLL },
|
555 |
|
|
{ FRV_INSN_ICI, FRVBF_INSN_ICI, FRVBF_SFMT_ICI },
|
556 |
|
|
{ FRV_INSN_DCI, FRVBF_INSN_DCI, FRVBF_SFMT_ICI },
|
557 |
|
|
{ FRV_INSN_ICEI, FRVBF_INSN_ICEI, FRVBF_SFMT_ICEI },
|
558 |
|
|
{ FRV_INSN_DCEI, FRVBF_INSN_DCEI, FRVBF_SFMT_ICEI },
|
559 |
|
|
{ FRV_INSN_DCF, FRVBF_INSN_DCF, FRVBF_SFMT_ICI },
|
560 |
|
|
{ FRV_INSN_DCEF, FRVBF_INSN_DCEF, FRVBF_SFMT_ICEI },
|
561 |
|
|
{ FRV_INSN_WITLB, FRVBF_INSN_WITLB, FRVBF_SFMT_REI },
|
562 |
|
|
{ FRV_INSN_WDTLB, FRVBF_INSN_WDTLB, FRVBF_SFMT_REI },
|
563 |
|
|
{ FRV_INSN_ITLBI, FRVBF_INSN_ITLBI, FRVBF_SFMT_REI },
|
564 |
|
|
{ FRV_INSN_DTLBI, FRVBF_INSN_DTLBI, FRVBF_SFMT_REI },
|
565 |
|
|
{ FRV_INSN_ICPL, FRVBF_INSN_ICPL, FRVBF_SFMT_ICPL },
|
566 |
|
|
{ FRV_INSN_DCPL, FRVBF_INSN_DCPL, FRVBF_SFMT_ICPL },
|
567 |
|
|
{ FRV_INSN_ICUL, FRVBF_INSN_ICUL, FRVBF_SFMT_ICUL },
|
568 |
|
|
{ FRV_INSN_DCUL, FRVBF_INSN_DCUL, FRVBF_SFMT_ICUL },
|
569 |
|
|
{ FRV_INSN_BAR, FRVBF_INSN_BAR, FRVBF_SFMT_REI },
|
570 |
|
|
{ FRV_INSN_MEMBAR, FRVBF_INSN_MEMBAR, FRVBF_SFMT_REI },
|
571 |
|
|
{ FRV_INSN_LRAI, FRVBF_INSN_LRAI, FRVBF_SFMT_REI },
|
572 |
|
|
{ FRV_INSN_LRAD, FRVBF_INSN_LRAD, FRVBF_SFMT_REI },
|
573 |
|
|
{ FRV_INSN_TLBPR, FRVBF_INSN_TLBPR, FRVBF_SFMT_REI },
|
574 |
|
|
{ FRV_INSN_COP1, FRVBF_INSN_COP1, FRVBF_SFMT_REI },
|
575 |
|
|
{ FRV_INSN_COP2, FRVBF_INSN_COP2, FRVBF_SFMT_REI },
|
576 |
|
|
{ FRV_INSN_CLRGR, FRVBF_INSN_CLRGR, FRVBF_SFMT_CLRGR },
|
577 |
|
|
{ FRV_INSN_CLRFR, FRVBF_INSN_CLRFR, FRVBF_SFMT_CLRFR },
|
578 |
|
|
{ FRV_INSN_CLRGA, FRVBF_INSN_CLRGA, FRVBF_SFMT_REI },
|
579 |
|
|
{ FRV_INSN_CLRFA, FRVBF_INSN_CLRFA, FRVBF_SFMT_REI },
|
580 |
|
|
{ FRV_INSN_COMMITGR, FRVBF_INSN_COMMITGR, FRVBF_SFMT_COMMITGR },
|
581 |
|
|
{ FRV_INSN_COMMITFR, FRVBF_INSN_COMMITFR, FRVBF_SFMT_COMMITFR },
|
582 |
|
|
{ FRV_INSN_COMMITGA, FRVBF_INSN_COMMITGA, FRVBF_SFMT_REI },
|
583 |
|
|
{ FRV_INSN_COMMITFA, FRVBF_INSN_COMMITFA, FRVBF_SFMT_REI },
|
584 |
|
|
{ FRV_INSN_FITOS, FRVBF_INSN_FITOS, FRVBF_SFMT_FITOS },
|
585 |
|
|
{ FRV_INSN_FSTOI, FRVBF_INSN_FSTOI, FRVBF_SFMT_FSTOI },
|
586 |
|
|
{ FRV_INSN_FITOD, FRVBF_INSN_FITOD, FRVBF_SFMT_FITOD },
|
587 |
|
|
{ FRV_INSN_FDTOI, FRVBF_INSN_FDTOI, FRVBF_SFMT_FDTOI },
|
588 |
|
|
{ FRV_INSN_FDITOS, FRVBF_INSN_FDITOS, FRVBF_SFMT_FDITOS },
|
589 |
|
|
{ FRV_INSN_FDSTOI, FRVBF_INSN_FDSTOI, FRVBF_SFMT_FDSTOI },
|
590 |
|
|
{ FRV_INSN_NFDITOS, FRVBF_INSN_NFDITOS, FRVBF_SFMT_FDITOS },
|
591 |
|
|
{ FRV_INSN_NFDSTOI, FRVBF_INSN_NFDSTOI, FRVBF_SFMT_FDSTOI },
|
592 |
|
|
{ FRV_INSN_CFITOS, FRVBF_INSN_CFITOS, FRVBF_SFMT_CFITOS },
|
593 |
|
|
{ FRV_INSN_CFSTOI, FRVBF_INSN_CFSTOI, FRVBF_SFMT_CFSTOI },
|
594 |
|
|
{ FRV_INSN_NFITOS, FRVBF_INSN_NFITOS, FRVBF_SFMT_NFITOS },
|
595 |
|
|
{ FRV_INSN_NFSTOI, FRVBF_INSN_NFSTOI, FRVBF_SFMT_NFSTOI },
|
596 |
|
|
{ FRV_INSN_FMOVS, FRVBF_INSN_FMOVS, FRVBF_SFMT_FMOVS },
|
597 |
|
|
{ FRV_INSN_FMOVD, FRVBF_INSN_FMOVD, FRVBF_SFMT_FMOVD },
|
598 |
|
|
{ FRV_INSN_FDMOVS, FRVBF_INSN_FDMOVS, FRVBF_SFMT_FDMOVS },
|
599 |
|
|
{ FRV_INSN_CFMOVS, FRVBF_INSN_CFMOVS, FRVBF_SFMT_CFMOVS },
|
600 |
|
|
{ FRV_INSN_FNEGS, FRVBF_INSN_FNEGS, FRVBF_SFMT_FMOVS },
|
601 |
|
|
{ FRV_INSN_FNEGD, FRVBF_INSN_FNEGD, FRVBF_SFMT_FMOVD },
|
602 |
|
|
{ FRV_INSN_FDNEGS, FRVBF_INSN_FDNEGS, FRVBF_SFMT_FDMOVS },
|
603 |
|
|
{ FRV_INSN_CFNEGS, FRVBF_INSN_CFNEGS, FRVBF_SFMT_CFMOVS },
|
604 |
|
|
{ FRV_INSN_FABSS, FRVBF_INSN_FABSS, FRVBF_SFMT_FMOVS },
|
605 |
|
|
{ FRV_INSN_FABSD, FRVBF_INSN_FABSD, FRVBF_SFMT_FMOVD },
|
606 |
|
|
{ FRV_INSN_FDABSS, FRVBF_INSN_FDABSS, FRVBF_SFMT_FDMOVS },
|
607 |
|
|
{ FRV_INSN_CFABSS, FRVBF_INSN_CFABSS, FRVBF_SFMT_CFMOVS },
|
608 |
|
|
{ FRV_INSN_FSQRTS, FRVBF_INSN_FSQRTS, FRVBF_SFMT_FMOVS },
|
609 |
|
|
{ FRV_INSN_FDSQRTS, FRVBF_INSN_FDSQRTS, FRVBF_SFMT_FDMOVS },
|
610 |
|
|
{ FRV_INSN_NFDSQRTS, FRVBF_INSN_NFDSQRTS, FRVBF_SFMT_FDMOVS },
|
611 |
|
|
{ FRV_INSN_FSQRTD, FRVBF_INSN_FSQRTD, FRVBF_SFMT_FMOVD },
|
612 |
|
|
{ FRV_INSN_CFSQRTS, FRVBF_INSN_CFSQRTS, FRVBF_SFMT_CFMOVS },
|
613 |
|
|
{ FRV_INSN_NFSQRTS, FRVBF_INSN_NFSQRTS, FRVBF_SFMT_NFSQRTS },
|
614 |
|
|
{ FRV_INSN_FADDS, FRVBF_INSN_FADDS, FRVBF_SFMT_FADDS },
|
615 |
|
|
{ FRV_INSN_FSUBS, FRVBF_INSN_FSUBS, FRVBF_SFMT_FADDS },
|
616 |
|
|
{ FRV_INSN_FMULS, FRVBF_INSN_FMULS, FRVBF_SFMT_FADDS },
|
617 |
|
|
{ FRV_INSN_FDIVS, FRVBF_INSN_FDIVS, FRVBF_SFMT_FADDS },
|
618 |
|
|
{ FRV_INSN_FADDD, FRVBF_INSN_FADDD, FRVBF_SFMT_FADDD },
|
619 |
|
|
{ FRV_INSN_FSUBD, FRVBF_INSN_FSUBD, FRVBF_SFMT_FADDD },
|
620 |
|
|
{ FRV_INSN_FMULD, FRVBF_INSN_FMULD, FRVBF_SFMT_FADDD },
|
621 |
|
|
{ FRV_INSN_FDIVD, FRVBF_INSN_FDIVD, FRVBF_SFMT_FADDD },
|
622 |
|
|
{ FRV_INSN_CFADDS, FRVBF_INSN_CFADDS, FRVBF_SFMT_CFADDS },
|
623 |
|
|
{ FRV_INSN_CFSUBS, FRVBF_INSN_CFSUBS, FRVBF_SFMT_CFADDS },
|
624 |
|
|
{ FRV_INSN_CFMULS, FRVBF_INSN_CFMULS, FRVBF_SFMT_CFADDS },
|
625 |
|
|
{ FRV_INSN_CFDIVS, FRVBF_INSN_CFDIVS, FRVBF_SFMT_CFADDS },
|
626 |
|
|
{ FRV_INSN_NFADDS, FRVBF_INSN_NFADDS, FRVBF_SFMT_NFADDS },
|
627 |
|
|
{ FRV_INSN_NFSUBS, FRVBF_INSN_NFSUBS, FRVBF_SFMT_NFADDS },
|
628 |
|
|
{ FRV_INSN_NFMULS, FRVBF_INSN_NFMULS, FRVBF_SFMT_NFADDS },
|
629 |
|
|
{ FRV_INSN_NFDIVS, FRVBF_INSN_NFDIVS, FRVBF_SFMT_NFADDS },
|
630 |
|
|
{ FRV_INSN_FCMPS, FRVBF_INSN_FCMPS, FRVBF_SFMT_FCMPS },
|
631 |
|
|
{ FRV_INSN_FCMPD, FRVBF_INSN_FCMPD, FRVBF_SFMT_FCMPD },
|
632 |
|
|
{ FRV_INSN_CFCMPS, FRVBF_INSN_CFCMPS, FRVBF_SFMT_CFCMPS },
|
633 |
|
|
{ FRV_INSN_FDCMPS, FRVBF_INSN_FDCMPS, FRVBF_SFMT_FDCMPS },
|
634 |
|
|
{ FRV_INSN_FMADDS, FRVBF_INSN_FMADDS, FRVBF_SFMT_FMADDS },
|
635 |
|
|
{ FRV_INSN_FMSUBS, FRVBF_INSN_FMSUBS, FRVBF_SFMT_FMADDS },
|
636 |
|
|
{ FRV_INSN_FMADDD, FRVBF_INSN_FMADDD, FRVBF_SFMT_FMADDD },
|
637 |
|
|
{ FRV_INSN_FMSUBD, FRVBF_INSN_FMSUBD, FRVBF_SFMT_FMADDD },
|
638 |
|
|
{ FRV_INSN_FDMADDS, FRVBF_INSN_FDMADDS, FRVBF_SFMT_FDMADDS },
|
639 |
|
|
{ FRV_INSN_NFDMADDS, FRVBF_INSN_NFDMADDS, FRVBF_SFMT_FDMADDS },
|
640 |
|
|
{ FRV_INSN_CFMADDS, FRVBF_INSN_CFMADDS, FRVBF_SFMT_CFMADDS },
|
641 |
|
|
{ FRV_INSN_CFMSUBS, FRVBF_INSN_CFMSUBS, FRVBF_SFMT_CFMADDS },
|
642 |
|
|
{ FRV_INSN_NFMADDS, FRVBF_INSN_NFMADDS, FRVBF_SFMT_NFMADDS },
|
643 |
|
|
{ FRV_INSN_NFMSUBS, FRVBF_INSN_NFMSUBS, FRVBF_SFMT_NFMADDS },
|
644 |
|
|
{ FRV_INSN_FMAS, FRVBF_INSN_FMAS, FRVBF_SFMT_FMAS },
|
645 |
|
|
{ FRV_INSN_FMSS, FRVBF_INSN_FMSS, FRVBF_SFMT_FMAS },
|
646 |
|
|
{ FRV_INSN_FDMAS, FRVBF_INSN_FDMAS, FRVBF_SFMT_FDMAS },
|
647 |
|
|
{ FRV_INSN_FDMSS, FRVBF_INSN_FDMSS, FRVBF_SFMT_FDMAS },
|
648 |
|
|
{ FRV_INSN_NFDMAS, FRVBF_INSN_NFDMAS, FRVBF_SFMT_FDMAS },
|
649 |
|
|
{ FRV_INSN_NFDMSS, FRVBF_INSN_NFDMSS, FRVBF_SFMT_FDMAS },
|
650 |
|
|
{ FRV_INSN_CFMAS, FRVBF_INSN_CFMAS, FRVBF_SFMT_CFMAS },
|
651 |
|
|
{ FRV_INSN_CFMSS, FRVBF_INSN_CFMSS, FRVBF_SFMT_CFMAS },
|
652 |
|
|
{ FRV_INSN_FMAD, FRVBF_INSN_FMAD, FRVBF_SFMT_FMAS },
|
653 |
|
|
{ FRV_INSN_FMSD, FRVBF_INSN_FMSD, FRVBF_SFMT_FMAS },
|
654 |
|
|
{ FRV_INSN_NFMAS, FRVBF_INSN_NFMAS, FRVBF_SFMT_FMAS },
|
655 |
|
|
{ FRV_INSN_NFMSS, FRVBF_INSN_NFMSS, FRVBF_SFMT_FMAS },
|
656 |
|
|
{ FRV_INSN_FDADDS, FRVBF_INSN_FDADDS, FRVBF_SFMT_FMAS },
|
657 |
|
|
{ FRV_INSN_FDSUBS, FRVBF_INSN_FDSUBS, FRVBF_SFMT_FMAS },
|
658 |
|
|
{ FRV_INSN_FDMULS, FRVBF_INSN_FDMULS, FRVBF_SFMT_FMAS },
|
659 |
|
|
{ FRV_INSN_FDDIVS, FRVBF_INSN_FDDIVS, FRVBF_SFMT_FMAS },
|
660 |
|
|
{ FRV_INSN_FDSADS, FRVBF_INSN_FDSADS, FRVBF_SFMT_FMAS },
|
661 |
|
|
{ FRV_INSN_FDMULCS, FRVBF_INSN_FDMULCS, FRVBF_SFMT_FMAS },
|
662 |
|
|
{ FRV_INSN_NFDMULCS, FRVBF_INSN_NFDMULCS, FRVBF_SFMT_FMAS },
|
663 |
|
|
{ FRV_INSN_NFDADDS, FRVBF_INSN_NFDADDS, FRVBF_SFMT_FMAS },
|
664 |
|
|
{ FRV_INSN_NFDSUBS, FRVBF_INSN_NFDSUBS, FRVBF_SFMT_FMAS },
|
665 |
|
|
{ FRV_INSN_NFDMULS, FRVBF_INSN_NFDMULS, FRVBF_SFMT_FMAS },
|
666 |
|
|
{ FRV_INSN_NFDDIVS, FRVBF_INSN_NFDDIVS, FRVBF_SFMT_FMAS },
|
667 |
|
|
{ FRV_INSN_NFDSADS, FRVBF_INSN_NFDSADS, FRVBF_SFMT_FMAS },
|
668 |
|
|
{ FRV_INSN_NFDCMPS, FRVBF_INSN_NFDCMPS, FRVBF_SFMT_NFDCMPS },
|
669 |
|
|
{ FRV_INSN_MHSETLOS, FRVBF_INSN_MHSETLOS, FRVBF_SFMT_MHSETLOS },
|
670 |
|
|
{ FRV_INSN_MHSETHIS, FRVBF_INSN_MHSETHIS, FRVBF_SFMT_MHSETHIS },
|
671 |
|
|
{ FRV_INSN_MHDSETS, FRVBF_INSN_MHDSETS, FRVBF_SFMT_MHDSETS },
|
672 |
|
|
{ FRV_INSN_MHSETLOH, FRVBF_INSN_MHSETLOH, FRVBF_SFMT_MHSETLOH },
|
673 |
|
|
{ FRV_INSN_MHSETHIH, FRVBF_INSN_MHSETHIH, FRVBF_SFMT_MHSETHIH },
|
674 |
|
|
{ FRV_INSN_MHDSETH, FRVBF_INSN_MHDSETH, FRVBF_SFMT_MHDSETH },
|
675 |
|
|
{ FRV_INSN_MAND, FRVBF_INSN_MAND, FRVBF_SFMT_MAND },
|
676 |
|
|
{ FRV_INSN_MOR, FRVBF_INSN_MOR, FRVBF_SFMT_MAND },
|
677 |
|
|
{ FRV_INSN_MXOR, FRVBF_INSN_MXOR, FRVBF_SFMT_MAND },
|
678 |
|
|
{ FRV_INSN_CMAND, FRVBF_INSN_CMAND, FRVBF_SFMT_CMAND },
|
679 |
|
|
{ FRV_INSN_CMOR, FRVBF_INSN_CMOR, FRVBF_SFMT_CMAND },
|
680 |
|
|
{ FRV_INSN_CMXOR, FRVBF_INSN_CMXOR, FRVBF_SFMT_CMAND },
|
681 |
|
|
{ FRV_INSN_MNOT, FRVBF_INSN_MNOT, FRVBF_SFMT_MNOT },
|
682 |
|
|
{ FRV_INSN_CMNOT, FRVBF_INSN_CMNOT, FRVBF_SFMT_CMNOT },
|
683 |
|
|
{ FRV_INSN_MROTLI, FRVBF_INSN_MROTLI, FRVBF_SFMT_MROTLI },
|
684 |
|
|
{ FRV_INSN_MROTRI, FRVBF_INSN_MROTRI, FRVBF_SFMT_MROTLI },
|
685 |
|
|
{ FRV_INSN_MWCUT, FRVBF_INSN_MWCUT, FRVBF_SFMT_MWCUT },
|
686 |
|
|
{ FRV_INSN_MWCUTI, FRVBF_INSN_MWCUTI, FRVBF_SFMT_MWCUTI },
|
687 |
|
|
{ FRV_INSN_MCUT, FRVBF_INSN_MCUT, FRVBF_SFMT_MCUT },
|
688 |
|
|
{ FRV_INSN_MCUTI, FRVBF_INSN_MCUTI, FRVBF_SFMT_MCUTI },
|
689 |
|
|
{ FRV_INSN_MCUTSS, FRVBF_INSN_MCUTSS, FRVBF_SFMT_MCUT },
|
690 |
|
|
{ FRV_INSN_MCUTSSI, FRVBF_INSN_MCUTSSI, FRVBF_SFMT_MCUTI },
|
691 |
|
|
{ FRV_INSN_MDCUTSSI, FRVBF_INSN_MDCUTSSI, FRVBF_SFMT_MDCUTSSI },
|
692 |
|
|
{ FRV_INSN_MAVEH, FRVBF_INSN_MAVEH, FRVBF_SFMT_MAND },
|
693 |
|
|
{ FRV_INSN_MSLLHI, FRVBF_INSN_MSLLHI, FRVBF_SFMT_MSLLHI },
|
694 |
|
|
{ FRV_INSN_MSRLHI, FRVBF_INSN_MSRLHI, FRVBF_SFMT_MSLLHI },
|
695 |
|
|
{ FRV_INSN_MSRAHI, FRVBF_INSN_MSRAHI, FRVBF_SFMT_MSLLHI },
|
696 |
|
|
{ FRV_INSN_MDROTLI, FRVBF_INSN_MDROTLI, FRVBF_SFMT_MDROTLI },
|
697 |
|
|
{ FRV_INSN_MCPLHI, FRVBF_INSN_MCPLHI, FRVBF_SFMT_MCPLHI },
|
698 |
|
|
{ FRV_INSN_MCPLI, FRVBF_INSN_MCPLI, FRVBF_SFMT_MCPLI },
|
699 |
|
|
{ FRV_INSN_MSATHS, FRVBF_INSN_MSATHS, FRVBF_SFMT_MSATHS },
|
700 |
|
|
{ FRV_INSN_MQSATHS, FRVBF_INSN_MQSATHS, FRVBF_SFMT_MQSATHS },
|
701 |
|
|
{ FRV_INSN_MSATHU, FRVBF_INSN_MSATHU, FRVBF_SFMT_MSATHS },
|
702 |
|
|
{ FRV_INSN_MCMPSH, FRVBF_INSN_MCMPSH, FRVBF_SFMT_MCMPSH },
|
703 |
|
|
{ FRV_INSN_MCMPUH, FRVBF_INSN_MCMPUH, FRVBF_SFMT_MCMPSH },
|
704 |
|
|
{ FRV_INSN_MABSHS, FRVBF_INSN_MABSHS, FRVBF_SFMT_MABSHS },
|
705 |
|
|
{ FRV_INSN_MADDHSS, FRVBF_INSN_MADDHSS, FRVBF_SFMT_MSATHS },
|
706 |
|
|
{ FRV_INSN_MADDHUS, FRVBF_INSN_MADDHUS, FRVBF_SFMT_MSATHS },
|
707 |
|
|
{ FRV_INSN_MSUBHSS, FRVBF_INSN_MSUBHSS, FRVBF_SFMT_MSATHS },
|
708 |
|
|
{ FRV_INSN_MSUBHUS, FRVBF_INSN_MSUBHUS, FRVBF_SFMT_MSATHS },
|
709 |
|
|
{ FRV_INSN_CMADDHSS, FRVBF_INSN_CMADDHSS, FRVBF_SFMT_CMADDHSS },
|
710 |
|
|
{ FRV_INSN_CMADDHUS, FRVBF_INSN_CMADDHUS, FRVBF_SFMT_CMADDHSS },
|
711 |
|
|
{ FRV_INSN_CMSUBHSS, FRVBF_INSN_CMSUBHSS, FRVBF_SFMT_CMADDHSS },
|
712 |
|
|
{ FRV_INSN_CMSUBHUS, FRVBF_INSN_CMSUBHUS, FRVBF_SFMT_CMADDHSS },
|
713 |
|
|
{ FRV_INSN_MQADDHSS, FRVBF_INSN_MQADDHSS, FRVBF_SFMT_MQSATHS },
|
714 |
|
|
{ FRV_INSN_MQADDHUS, FRVBF_INSN_MQADDHUS, FRVBF_SFMT_MQSATHS },
|
715 |
|
|
{ FRV_INSN_MQSUBHSS, FRVBF_INSN_MQSUBHSS, FRVBF_SFMT_MQSATHS },
|
716 |
|
|
{ FRV_INSN_MQSUBHUS, FRVBF_INSN_MQSUBHUS, FRVBF_SFMT_MQSATHS },
|
717 |
|
|
{ FRV_INSN_CMQADDHSS, FRVBF_INSN_CMQADDHSS, FRVBF_SFMT_CMQADDHSS },
|
718 |
|
|
{ FRV_INSN_CMQADDHUS, FRVBF_INSN_CMQADDHUS, FRVBF_SFMT_CMQADDHSS },
|
719 |
|
|
{ FRV_INSN_CMQSUBHSS, FRVBF_INSN_CMQSUBHSS, FRVBF_SFMT_CMQADDHSS },
|
720 |
|
|
{ FRV_INSN_CMQSUBHUS, FRVBF_INSN_CMQSUBHUS, FRVBF_SFMT_CMQADDHSS },
|
721 |
|
|
{ FRV_INSN_MQLCLRHS, FRVBF_INSN_MQLCLRHS, FRVBF_SFMT_MQSATHS },
|
722 |
|
|
{ FRV_INSN_MQLMTHS, FRVBF_INSN_MQLMTHS, FRVBF_SFMT_MQSATHS },
|
723 |
|
|
{ FRV_INSN_MQSLLHI, FRVBF_INSN_MQSLLHI, FRVBF_SFMT_MQSLLHI },
|
724 |
|
|
{ FRV_INSN_MQSRAHI, FRVBF_INSN_MQSRAHI, FRVBF_SFMT_MQSLLHI },
|
725 |
|
|
{ FRV_INSN_MADDACCS, FRVBF_INSN_MADDACCS, FRVBF_SFMT_MADDACCS },
|
726 |
|
|
{ FRV_INSN_MSUBACCS, FRVBF_INSN_MSUBACCS, FRVBF_SFMT_MADDACCS },
|
727 |
|
|
{ FRV_INSN_MDADDACCS, FRVBF_INSN_MDADDACCS, FRVBF_SFMT_MDADDACCS },
|
728 |
|
|
{ FRV_INSN_MDSUBACCS, FRVBF_INSN_MDSUBACCS, FRVBF_SFMT_MDADDACCS },
|
729 |
|
|
{ FRV_INSN_MASACCS, FRVBF_INSN_MASACCS, FRVBF_SFMT_MASACCS },
|
730 |
|
|
{ FRV_INSN_MDASACCS, FRVBF_INSN_MDASACCS, FRVBF_SFMT_MDASACCS },
|
731 |
|
|
{ FRV_INSN_MMULHS, FRVBF_INSN_MMULHS, FRVBF_SFMT_MMULHS },
|
732 |
|
|
{ FRV_INSN_MMULHU, FRVBF_INSN_MMULHU, FRVBF_SFMT_MMULHS },
|
733 |
|
|
{ FRV_INSN_MMULXHS, FRVBF_INSN_MMULXHS, FRVBF_SFMT_MMULHS },
|
734 |
|
|
{ FRV_INSN_MMULXHU, FRVBF_INSN_MMULXHU, FRVBF_SFMT_MMULHS },
|
735 |
|
|
{ FRV_INSN_CMMULHS, FRVBF_INSN_CMMULHS, FRVBF_SFMT_CMMULHS },
|
736 |
|
|
{ FRV_INSN_CMMULHU, FRVBF_INSN_CMMULHU, FRVBF_SFMT_CMMULHS },
|
737 |
|
|
{ FRV_INSN_MQMULHS, FRVBF_INSN_MQMULHS, FRVBF_SFMT_MQMULHS },
|
738 |
|
|
{ FRV_INSN_MQMULHU, FRVBF_INSN_MQMULHU, FRVBF_SFMT_MQMULHS },
|
739 |
|
|
{ FRV_INSN_MQMULXHS, FRVBF_INSN_MQMULXHS, FRVBF_SFMT_MQMULHS },
|
740 |
|
|
{ FRV_INSN_MQMULXHU, FRVBF_INSN_MQMULXHU, FRVBF_SFMT_MQMULHS },
|
741 |
|
|
{ FRV_INSN_CMQMULHS, FRVBF_INSN_CMQMULHS, FRVBF_SFMT_CMQMULHS },
|
742 |
|
|
{ FRV_INSN_CMQMULHU, FRVBF_INSN_CMQMULHU, FRVBF_SFMT_CMQMULHS },
|
743 |
|
|
{ FRV_INSN_MMACHS, FRVBF_INSN_MMACHS, FRVBF_SFMT_MMACHS },
|
744 |
|
|
{ FRV_INSN_MMACHU, FRVBF_INSN_MMACHU, FRVBF_SFMT_MMACHU },
|
745 |
|
|
{ FRV_INSN_MMRDHS, FRVBF_INSN_MMRDHS, FRVBF_SFMT_MMACHS },
|
746 |
|
|
{ FRV_INSN_MMRDHU, FRVBF_INSN_MMRDHU, FRVBF_SFMT_MMACHU },
|
747 |
|
|
{ FRV_INSN_CMMACHS, FRVBF_INSN_CMMACHS, FRVBF_SFMT_CMMACHS },
|
748 |
|
|
{ FRV_INSN_CMMACHU, FRVBF_INSN_CMMACHU, FRVBF_SFMT_CMMACHU },
|
749 |
|
|
{ FRV_INSN_MQMACHS, FRVBF_INSN_MQMACHS, FRVBF_SFMT_MQMACHS },
|
750 |
|
|
{ FRV_INSN_MQMACHU, FRVBF_INSN_MQMACHU, FRVBF_SFMT_MQMACHU },
|
751 |
|
|
{ FRV_INSN_CMQMACHS, FRVBF_INSN_CMQMACHS, FRVBF_SFMT_CMQMACHS },
|
752 |
|
|
{ FRV_INSN_CMQMACHU, FRVBF_INSN_CMQMACHU, FRVBF_SFMT_CMQMACHU },
|
753 |
|
|
{ FRV_INSN_MQXMACHS, FRVBF_INSN_MQXMACHS, FRVBF_SFMT_MQMACHS },
|
754 |
|
|
{ FRV_INSN_MQXMACXHS, FRVBF_INSN_MQXMACXHS, FRVBF_SFMT_MQMACHS },
|
755 |
|
|
{ FRV_INSN_MQMACXHS, FRVBF_INSN_MQMACXHS, FRVBF_SFMT_MQMACHS },
|
756 |
|
|
{ FRV_INSN_MCPXRS, FRVBF_INSN_MCPXRS, FRVBF_SFMT_MCPXRS },
|
757 |
|
|
{ FRV_INSN_MCPXRU, FRVBF_INSN_MCPXRU, FRVBF_SFMT_MCPXRS },
|
758 |
|
|
{ FRV_INSN_MCPXIS, FRVBF_INSN_MCPXIS, FRVBF_SFMT_MCPXRS },
|
759 |
|
|
{ FRV_INSN_MCPXIU, FRVBF_INSN_MCPXIU, FRVBF_SFMT_MCPXRS },
|
760 |
|
|
{ FRV_INSN_CMCPXRS, FRVBF_INSN_CMCPXRS, FRVBF_SFMT_CMCPXRS },
|
761 |
|
|
{ FRV_INSN_CMCPXRU, FRVBF_INSN_CMCPXRU, FRVBF_SFMT_CMCPXRS },
|
762 |
|
|
{ FRV_INSN_CMCPXIS, FRVBF_INSN_CMCPXIS, FRVBF_SFMT_CMCPXRS },
|
763 |
|
|
{ FRV_INSN_CMCPXIU, FRVBF_INSN_CMCPXIU, FRVBF_SFMT_CMCPXRS },
|
764 |
|
|
{ FRV_INSN_MQCPXRS, FRVBF_INSN_MQCPXRS, FRVBF_SFMT_MQCPXRS },
|
765 |
|
|
{ FRV_INSN_MQCPXRU, FRVBF_INSN_MQCPXRU, FRVBF_SFMT_MQCPXRS },
|
766 |
|
|
{ FRV_INSN_MQCPXIS, FRVBF_INSN_MQCPXIS, FRVBF_SFMT_MQCPXRS },
|
767 |
|
|
{ FRV_INSN_MQCPXIU, FRVBF_INSN_MQCPXIU, FRVBF_SFMT_MQCPXRS },
|
768 |
|
|
{ FRV_INSN_MEXPDHW, FRVBF_INSN_MEXPDHW, FRVBF_SFMT_MEXPDHW },
|
769 |
|
|
{ FRV_INSN_CMEXPDHW, FRVBF_INSN_CMEXPDHW, FRVBF_SFMT_CMEXPDHW },
|
770 |
|
|
{ FRV_INSN_MEXPDHD, FRVBF_INSN_MEXPDHD, FRVBF_SFMT_MEXPDHD },
|
771 |
|
|
{ FRV_INSN_CMEXPDHD, FRVBF_INSN_CMEXPDHD, FRVBF_SFMT_CMEXPDHD },
|
772 |
|
|
{ FRV_INSN_MPACKH, FRVBF_INSN_MPACKH, FRVBF_SFMT_MPACKH },
|
773 |
|
|
{ FRV_INSN_MDPACKH, FRVBF_INSN_MDPACKH, FRVBF_SFMT_MDPACKH },
|
774 |
|
|
{ FRV_INSN_MUNPACKH, FRVBF_INSN_MUNPACKH, FRVBF_SFMT_MUNPACKH },
|
775 |
|
|
{ FRV_INSN_MDUNPACKH, FRVBF_INSN_MDUNPACKH, FRVBF_SFMT_MDUNPACKH },
|
776 |
|
|
{ FRV_INSN_MBTOH, FRVBF_INSN_MBTOH, FRVBF_SFMT_MBTOH },
|
777 |
|
|
{ FRV_INSN_CMBTOH, FRVBF_INSN_CMBTOH, FRVBF_SFMT_CMBTOH },
|
778 |
|
|
{ FRV_INSN_MHTOB, FRVBF_INSN_MHTOB, FRVBF_SFMT_MHTOB },
|
779 |
|
|
{ FRV_INSN_CMHTOB, FRVBF_INSN_CMHTOB, FRVBF_SFMT_CMHTOB },
|
780 |
|
|
{ FRV_INSN_MBTOHE, FRVBF_INSN_MBTOHE, FRVBF_SFMT_MBTOHE },
|
781 |
|
|
{ FRV_INSN_CMBTOHE, FRVBF_INSN_CMBTOHE, FRVBF_SFMT_CMBTOHE },
|
782 |
|
|
{ FRV_INSN_MNOP, FRVBF_INSN_MNOP, FRVBF_SFMT_REI },
|
783 |
|
|
{ FRV_INSN_MCLRACC_0, FRVBF_INSN_MCLRACC_0, FRVBF_SFMT_MCLRACC_0 },
|
784 |
|
|
{ FRV_INSN_MCLRACC_1, FRVBF_INSN_MCLRACC_1, FRVBF_SFMT_MCLRACC_0 },
|
785 |
|
|
{ FRV_INSN_MRDACC, FRVBF_INSN_MRDACC, FRVBF_SFMT_MRDACC },
|
786 |
|
|
{ FRV_INSN_MRDACCG, FRVBF_INSN_MRDACCG, FRVBF_SFMT_MRDACCG },
|
787 |
|
|
{ FRV_INSN_MWTACC, FRVBF_INSN_MWTACC, FRVBF_SFMT_MWTACC },
|
788 |
|
|
{ FRV_INSN_MWTACCG, FRVBF_INSN_MWTACCG, FRVBF_SFMT_MWTACCG },
|
789 |
|
|
{ FRV_INSN_MCOP1, FRVBF_INSN_MCOP1, FRVBF_SFMT_REI },
|
790 |
|
|
{ FRV_INSN_MCOP2, FRVBF_INSN_MCOP2, FRVBF_SFMT_REI },
|
791 |
|
|
{ FRV_INSN_FNOP, FRVBF_INSN_FNOP, FRVBF_SFMT_REI },
|
792 |
|
|
};
|
793 |
|
|
|
794 |
|
|
static const struct insn_sem frvbf_insn_sem_invalid =
|
795 |
|
|
{
|
796 |
|
|
VIRTUAL_INSN_X_INVALID, FRVBF_INSN_X_INVALID, FRVBF_SFMT_EMPTY
|
797 |
|
|
};
|
798 |
|
|
|
799 |
|
|
/* Initialize an IDESC from the compile-time computable parts. */
|
800 |
|
|
|
801 |
|
|
static INLINE void
|
802 |
|
|
init_idesc (SIM_CPU *cpu, IDESC *id, const struct insn_sem *t)
|
803 |
|
|
{
|
804 |
|
|
const CGEN_INSN *insn_table = CGEN_CPU_INSN_TABLE (CPU_CPU_DESC (cpu))->init_entries;
|
805 |
|
|
|
806 |
|
|
id->num = t->index;
|
807 |
|
|
id->sfmt = t->sfmt;
|
808 |
|
|
if ((int) t->type <= 0)
|
809 |
|
|
id->idata = & cgen_virtual_insn_table[- (int) t->type];
|
810 |
|
|
else
|
811 |
|
|
id->idata = & insn_table[t->type];
|
812 |
|
|
id->attrs = CGEN_INSN_ATTRS (id->idata);
|
813 |
|
|
/* Oh my god, a magic number. */
|
814 |
|
|
id->length = CGEN_INSN_BITSIZE (id->idata) / 8;
|
815 |
|
|
|
816 |
|
|
#if WITH_PROFILE_MODEL_P
|
817 |
|
|
id->timing = & MODEL_TIMING (CPU_MODEL (cpu)) [t->index];
|
818 |
|
|
{
|
819 |
|
|
SIM_DESC sd = CPU_STATE (cpu);
|
820 |
|
|
SIM_ASSERT (t->index == id->timing->num);
|
821 |
|
|
}
|
822 |
|
|
#endif
|
823 |
|
|
|
824 |
|
|
/* Semantic pointers are initialized elsewhere. */
|
825 |
|
|
}
|
826 |
|
|
|
827 |
|
|
/* Initialize the instruction descriptor table. */
|
828 |
|
|
|
829 |
|
|
void
|
830 |
|
|
frvbf_init_idesc_table (SIM_CPU *cpu)
|
831 |
|
|
{
|
832 |
|
|
IDESC *id,*tabend;
|
833 |
|
|
const struct insn_sem *t,*tend;
|
834 |
|
|
int tabsize = FRVBF_INSN__MAX;
|
835 |
|
|
IDESC *table = frvbf_insn_data;
|
836 |
|
|
|
837 |
|
|
memset (table, 0, tabsize * sizeof (IDESC));
|
838 |
|
|
|
839 |
|
|
/* First set all entries to the `invalid insn'. */
|
840 |
|
|
t = & frvbf_insn_sem_invalid;
|
841 |
|
|
for (id = table, tabend = table + tabsize; id < tabend; ++id)
|
842 |
|
|
init_idesc (cpu, id, t);
|
843 |
|
|
|
844 |
|
|
/* Now fill in the values for the chosen cpu. */
|
845 |
|
|
for (t = frvbf_insn_sem, tend = t + sizeof (frvbf_insn_sem) / sizeof (*t);
|
846 |
|
|
t != tend; ++t)
|
847 |
|
|
{
|
848 |
|
|
init_idesc (cpu, & table[t->index], t);
|
849 |
|
|
}
|
850 |
|
|
|
851 |
|
|
/* Link the IDESC table into the cpu. */
|
852 |
|
|
CPU_IDESC (cpu) = table;
|
853 |
|
|
}
|
854 |
|
|
|
855 |
|
|
/* Given an instruction, return a pointer to its IDESC entry. */
|
856 |
|
|
|
857 |
|
|
const IDESC *
|
858 |
|
|
frvbf_decode (SIM_CPU *current_cpu, IADDR pc,
|
859 |
|
|
CGEN_INSN_WORD base_insn, CGEN_INSN_WORD entire_insn,
|
860 |
|
|
ARGBUF *abuf)
|
861 |
|
|
{
|
862 |
|
|
/* Result of decoder. */
|
863 |
|
|
FRVBF_INSN_TYPE itype;
|
864 |
|
|
|
865 |
|
|
{
|
866 |
|
|
CGEN_INSN_WORD insn = base_insn;
|
867 |
|
|
|
868 |
|
|
{
|
869 |
|
|
unsigned int val = (((insn >> 18) & (127 << 0)));
|
870 |
|
|
switch (val)
|
871 |
|
|
{
|
872 |
|
|
case 0 :
|
873 |
|
|
{
|
874 |
|
|
unsigned int val = (((insn >> 6) & (15 << 0)));
|
875 |
|
|
switch (val)
|
876 |
|
|
{
|
877 |
|
|
case 0 :
|
878 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x0)
|
879 |
|
|
{ itype = FRVBF_INSN_ADD; goto extract_sfmt_add; }
|
880 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
881 |
|
|
case 1 : itype = FRVBF_INSN_ADDCC; goto extract_sfmt_addcc;
|
882 |
|
|
case 2 : itype = FRVBF_INSN_ADDX; goto extract_sfmt_addx;
|
883 |
|
|
case 3 : itype = FRVBF_INSN_ADDXCC; goto extract_sfmt_addcc;
|
884 |
|
|
case 4 :
|
885 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x100)
|
886 |
|
|
{ itype = FRVBF_INSN_SUB; goto extract_sfmt_add; }
|
887 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
888 |
|
|
case 5 : itype = FRVBF_INSN_SUBCC; goto extract_sfmt_addcc;
|
889 |
|
|
case 6 : itype = FRVBF_INSN_SUBX; goto extract_sfmt_addx;
|
890 |
|
|
case 7 : itype = FRVBF_INSN_SUBXCC; goto extract_sfmt_addcc;
|
891 |
|
|
case 8 :
|
892 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x200)
|
893 |
|
|
{ itype = FRVBF_INSN_SMUL; goto extract_sfmt_smul; }
|
894 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
895 |
|
|
case 9 : itype = FRVBF_INSN_SMULCC; goto extract_sfmt_smulcc;
|
896 |
|
|
case 10 :
|
897 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x280)
|
898 |
|
|
{ itype = FRVBF_INSN_UMUL; goto extract_sfmt_smul; }
|
899 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
900 |
|
|
case 11 : itype = FRVBF_INSN_UMULCC; goto extract_sfmt_smulcc;
|
901 |
|
|
case 12 :
|
902 |
|
|
if ((entire_insn & 0x7ffc03c0) == 0x300)
|
903 |
|
|
{ itype = FRVBF_INSN_CMPB; goto extract_sfmt_cmpb; }
|
904 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
905 |
|
|
case 13 :
|
906 |
|
|
if ((entire_insn & 0x7ffc03c0) == 0x340)
|
907 |
|
|
{ itype = FRVBF_INSN_CMPBA; goto extract_sfmt_cmpb; }
|
908 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
909 |
|
|
case 14 :
|
910 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x380)
|
911 |
|
|
{ itype = FRVBF_INSN_SDIV; goto extract_sfmt_sdiv; }
|
912 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
913 |
|
|
case 15 :
|
914 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x3c0)
|
915 |
|
|
{ itype = FRVBF_INSN_UDIV; goto extract_sfmt_sdiv; }
|
916 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
917 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
918 |
|
|
}
|
919 |
|
|
}
|
920 |
|
|
case 1 :
|
921 |
|
|
{
|
922 |
|
|
unsigned int val = (((insn >> 6) & (15 << 0)));
|
923 |
|
|
switch (val)
|
924 |
|
|
{
|
925 |
|
|
case 0 :
|
926 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40000)
|
927 |
|
|
{ itype = FRVBF_INSN_AND; goto extract_sfmt_add; }
|
928 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
929 |
|
|
case 1 : itype = FRVBF_INSN_ANDCC; goto extract_sfmt_andcc;
|
930 |
|
|
case 2 :
|
931 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40080)
|
932 |
|
|
{ itype = FRVBF_INSN_OR; goto extract_sfmt_add; }
|
933 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
934 |
|
|
case 3 : itype = FRVBF_INSN_ORCC; goto extract_sfmt_andcc;
|
935 |
|
|
case 4 :
|
936 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40100)
|
937 |
|
|
{ itype = FRVBF_INSN_XOR; goto extract_sfmt_add; }
|
938 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
939 |
|
|
case 5 : itype = FRVBF_INSN_XORCC; goto extract_sfmt_andcc;
|
940 |
|
|
case 6 :
|
941 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x40180)
|
942 |
|
|
{ itype = FRVBF_INSN_NOT; goto extract_sfmt_not; }
|
943 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
944 |
|
|
case 8 :
|
945 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40200)
|
946 |
|
|
{ itype = FRVBF_INSN_SLL; goto extract_sfmt_add; }
|
947 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
948 |
|
|
case 9 : itype = FRVBF_INSN_SLLCC; goto extract_sfmt_addcc;
|
949 |
|
|
case 10 :
|
950 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40280)
|
951 |
|
|
{ itype = FRVBF_INSN_SRL; goto extract_sfmt_add; }
|
952 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
953 |
|
|
case 11 : itype = FRVBF_INSN_SRLCC; goto extract_sfmt_addcc;
|
954 |
|
|
case 12 :
|
955 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40300)
|
956 |
|
|
{ itype = FRVBF_INSN_SRA; goto extract_sfmt_add; }
|
957 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
958 |
|
|
case 13 : itype = FRVBF_INSN_SRACC; goto extract_sfmt_addcc;
|
959 |
|
|
case 14 :
|
960 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x40380)
|
961 |
|
|
{ itype = FRVBF_INSN_NSDIV; goto extract_sfmt_sdiv; }
|
962 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
963 |
|
|
case 15 :
|
964 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x403c0)
|
965 |
|
|
{ itype = FRVBF_INSN_NUDIV; goto extract_sfmt_sdiv; }
|
966 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
967 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
968 |
|
|
}
|
969 |
|
|
}
|
970 |
|
|
case 2 :
|
971 |
|
|
{
|
972 |
|
|
unsigned int val = (((insn >> 6) & (63 << 0)));
|
973 |
|
|
switch (val)
|
974 |
|
|
{
|
975 |
|
|
case 0 : itype = FRVBF_INSN_LDSB; goto extract_sfmt_ldsb;
|
976 |
|
|
case 1 : itype = FRVBF_INSN_LDUB; goto extract_sfmt_ldsb;
|
977 |
|
|
case 2 : itype = FRVBF_INSN_LDSH; goto extract_sfmt_ldsb;
|
978 |
|
|
case 3 : itype = FRVBF_INSN_LDUH; goto extract_sfmt_ldsb;
|
979 |
|
|
case 4 : itype = FRVBF_INSN_LD; goto extract_sfmt_ldsb;
|
980 |
|
|
case 5 : itype = FRVBF_INSN_LDD; goto extract_sfmt_ldd;
|
981 |
|
|
case 6 : itype = FRVBF_INSN_LDQ; goto extract_sfmt_ldq;
|
982 |
|
|
case 8 : itype = FRVBF_INSN_LDBF; goto extract_sfmt_ldbf;
|
983 |
|
|
case 9 : itype = FRVBF_INSN_LDHF; goto extract_sfmt_ldbf;
|
984 |
|
|
case 10 : itype = FRVBF_INSN_LDF; goto extract_sfmt_ldbf;
|
985 |
|
|
case 11 : itype = FRVBF_INSN_LDDF; goto extract_sfmt_lddf;
|
986 |
|
|
case 12 : itype = FRVBF_INSN_LDQF; goto extract_sfmt_ldqf;
|
987 |
|
|
case 13 : itype = FRVBF_INSN_LDC; goto extract_sfmt_ldc;
|
988 |
|
|
case 14 : itype = FRVBF_INSN_LDDC; goto extract_sfmt_lddc;
|
989 |
|
|
case 15 : itype = FRVBF_INSN_LDQC; goto extract_sfmt_ldqc;
|
990 |
|
|
case 16 : itype = FRVBF_INSN_LDSBU; goto extract_sfmt_ldsbu;
|
991 |
|
|
case 17 : itype = FRVBF_INSN_LDUBU; goto extract_sfmt_ldsbu;
|
992 |
|
|
case 18 : itype = FRVBF_INSN_LDSHU; goto extract_sfmt_ldsbu;
|
993 |
|
|
case 19 : itype = FRVBF_INSN_LDUHU; goto extract_sfmt_ldsbu;
|
994 |
|
|
case 20 : itype = FRVBF_INSN_LDU; goto extract_sfmt_ldsbu;
|
995 |
|
|
case 21 : itype = FRVBF_INSN_LDDU; goto extract_sfmt_lddu;
|
996 |
|
|
case 22 : itype = FRVBF_INSN_LDQU; goto extract_sfmt_ldqu;
|
997 |
|
|
case 24 : itype = FRVBF_INSN_LDBFU; goto extract_sfmt_ldbfu;
|
998 |
|
|
case 25 : itype = FRVBF_INSN_LDHFU; goto extract_sfmt_ldbfu;
|
999 |
|
|
case 26 : itype = FRVBF_INSN_LDFU; goto extract_sfmt_ldbfu;
|
1000 |
|
|
case 27 : itype = FRVBF_INSN_LDDFU; goto extract_sfmt_lddfu;
|
1001 |
|
|
case 28 : itype = FRVBF_INSN_LDQFU; goto extract_sfmt_ldqfu;
|
1002 |
|
|
case 29 : itype = FRVBF_INSN_LDCU; goto extract_sfmt_ldcu;
|
1003 |
|
|
case 30 : itype = FRVBF_INSN_LDDCU; goto extract_sfmt_lddcu;
|
1004 |
|
|
case 31 : itype = FRVBF_INSN_LDQCU; goto extract_sfmt_ldqcu;
|
1005 |
|
|
case 32 : itype = FRVBF_INSN_NLDSB; goto extract_sfmt_nldsb;
|
1006 |
|
|
case 33 : itype = FRVBF_INSN_NLDUB; goto extract_sfmt_nldsb;
|
1007 |
|
|
case 34 : itype = FRVBF_INSN_NLDSH; goto extract_sfmt_nldsb;
|
1008 |
|
|
case 35 : itype = FRVBF_INSN_NLDUH; goto extract_sfmt_nldsb;
|
1009 |
|
|
case 36 : itype = FRVBF_INSN_NLD; goto extract_sfmt_nldsb;
|
1010 |
|
|
case 37 : itype = FRVBF_INSN_NLDD; goto extract_sfmt_nldd;
|
1011 |
|
|
case 38 : itype = FRVBF_INSN_NLDQ; goto extract_sfmt_nldq;
|
1012 |
|
|
case 40 : itype = FRVBF_INSN_NLDBF; goto extract_sfmt_nldbf;
|
1013 |
|
|
case 41 : itype = FRVBF_INSN_NLDHF; goto extract_sfmt_nldbf;
|
1014 |
|
|
case 42 : itype = FRVBF_INSN_NLDF; goto extract_sfmt_nldbf;
|
1015 |
|
|
case 43 : itype = FRVBF_INSN_NLDDF; goto extract_sfmt_nlddf;
|
1016 |
|
|
case 44 : itype = FRVBF_INSN_NLDQF; goto extract_sfmt_nldqf;
|
1017 |
|
|
case 48 : itype = FRVBF_INSN_NLDSBU; goto extract_sfmt_nldsbu;
|
1018 |
|
|
case 49 : itype = FRVBF_INSN_NLDUBU; goto extract_sfmt_nldsbu;
|
1019 |
|
|
case 50 : itype = FRVBF_INSN_NLDSHU; goto extract_sfmt_nldsbu;
|
1020 |
|
|
case 51 : itype = FRVBF_INSN_NLDUHU; goto extract_sfmt_nldsbu;
|
1021 |
|
|
case 52 : itype = FRVBF_INSN_NLDU; goto extract_sfmt_nldsbu;
|
1022 |
|
|
case 53 : itype = FRVBF_INSN_NLDDU; goto extract_sfmt_nlddu;
|
1023 |
|
|
case 54 : itype = FRVBF_INSN_NLDQU; goto extract_sfmt_nldqu;
|
1024 |
|
|
case 56 : itype = FRVBF_INSN_NLDBFU; goto extract_sfmt_nldbfu;
|
1025 |
|
|
case 57 : itype = FRVBF_INSN_NLDHFU; goto extract_sfmt_nldbfu;
|
1026 |
|
|
case 58 : itype = FRVBF_INSN_NLDFU; goto extract_sfmt_nldbfu;
|
1027 |
|
|
case 59 : itype = FRVBF_INSN_NLDDFU; goto extract_sfmt_nlddfu;
|
1028 |
|
|
case 60 : itype = FRVBF_INSN_NLDQFU; goto extract_sfmt_nldqfu;
|
1029 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1030 |
|
|
}
|
1031 |
|
|
}
|
1032 |
|
|
case 3 :
|
1033 |
|
|
{
|
1034 |
|
|
unsigned int val = (((insn >> 6) & (63 << 0)));
|
1035 |
|
|
switch (val)
|
1036 |
|
|
{
|
1037 |
|
|
case 0 : itype = FRVBF_INSN_STB; goto extract_sfmt_stb;
|
1038 |
|
|
case 1 : itype = FRVBF_INSN_STH; goto extract_sfmt_stb;
|
1039 |
|
|
case 2 : itype = FRVBF_INSN_ST; goto extract_sfmt_stb;
|
1040 |
|
|
case 3 : itype = FRVBF_INSN_STD; goto extract_sfmt_std;
|
1041 |
|
|
case 4 : itype = FRVBF_INSN_STQ; goto extract_sfmt_ldq;
|
1042 |
|
|
case 5 : itype = FRVBF_INSN_SWAP; goto extract_sfmt_swap;
|
1043 |
|
|
case 6 : itype = FRVBF_INSN_MOVGS; goto extract_sfmt_movgs;
|
1044 |
|
|
case 7 : itype = FRVBF_INSN_MOVSG; goto extract_sfmt_movsg;
|
1045 |
|
|
case 8 : itype = FRVBF_INSN_STBF; goto extract_sfmt_stbf;
|
1046 |
|
|
case 9 : itype = FRVBF_INSN_STHF; goto extract_sfmt_stbf;
|
1047 |
|
|
case 10 : itype = FRVBF_INSN_STF; goto extract_sfmt_stbf;
|
1048 |
|
|
case 11 : itype = FRVBF_INSN_STDF; goto extract_sfmt_stdf;
|
1049 |
|
|
case 12 : itype = FRVBF_INSN_STQF; goto extract_sfmt_ldqf;
|
1050 |
|
|
case 13 :
|
1051 |
|
|
if ((entire_insn & 0x1ffffc0) == 0xc0340)
|
1052 |
|
|
{ itype = FRVBF_INSN_MOVFG; goto extract_sfmt_movfg; }
|
1053 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1054 |
|
|
case 14 :
|
1055 |
|
|
if ((entire_insn & 0x1ffffc0) == 0xc0380)
|
1056 |
|
|
{ itype = FRVBF_INSN_MOVFGD; goto extract_sfmt_movfgd; }
|
1057 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1058 |
|
|
case 15 :
|
1059 |
|
|
if ((entire_insn & 0x1ffffc0) == 0xc03c0)
|
1060 |
|
|
{ itype = FRVBF_INSN_MOVFGQ; goto extract_sfmt_movfgq; }
|
1061 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1062 |
|
|
case 16 : itype = FRVBF_INSN_STBU; goto extract_sfmt_stbu;
|
1063 |
|
|
case 17 : itype = FRVBF_INSN_STHU; goto extract_sfmt_stbu;
|
1064 |
|
|
case 18 : itype = FRVBF_INSN_STU; goto extract_sfmt_stbu;
|
1065 |
|
|
case 19 : itype = FRVBF_INSN_STDU; goto extract_sfmt_stdu;
|
1066 |
|
|
case 20 : itype = FRVBF_INSN_STQU; goto extract_sfmt_stqu;
|
1067 |
|
|
case 21 :
|
1068 |
|
|
if ((entire_insn & 0x1ffffc0) == 0xc0540)
|
1069 |
|
|
{ itype = FRVBF_INSN_MOVGF; goto extract_sfmt_movgf; }
|
1070 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1071 |
|
|
case 22 :
|
1072 |
|
|
if ((entire_insn & 0x1ffffc0) == 0xc0580)
|
1073 |
|
|
{ itype = FRVBF_INSN_MOVGFD; goto extract_sfmt_movgfd; }
|
1074 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1075 |
|
|
case 23 :
|
1076 |
|
|
if ((entire_insn & 0x1ffffc0) == 0xc05c0)
|
1077 |
|
|
{ itype = FRVBF_INSN_MOVGFQ; goto extract_sfmt_movgfq; }
|
1078 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1079 |
|
|
case 24 : itype = FRVBF_INSN_STBFU; goto extract_sfmt_stbfu;
|
1080 |
|
|
case 25 : itype = FRVBF_INSN_STHFU; goto extract_sfmt_stbfu;
|
1081 |
|
|
case 26 : itype = FRVBF_INSN_STFU; goto extract_sfmt_stbfu;
|
1082 |
|
|
case 27 : itype = FRVBF_INSN_STDFU; goto extract_sfmt_stdfu;
|
1083 |
|
|
case 28 : itype = FRVBF_INSN_STQFU; goto extract_sfmt_ldqfu;
|
1084 |
|
|
case 32 :
|
1085 |
|
|
if ((entire_insn & 0x1fc0fc7) == 0xc0800)
|
1086 |
|
|
{ itype = FRVBF_INSN_LRAI; goto extract_sfmt_rei; }
|
1087 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1088 |
|
|
case 33 :
|
1089 |
|
|
if ((entire_insn & 0x1fc0fc7) == 0xc0840)
|
1090 |
|
|
{ itype = FRVBF_INSN_LRAD; goto extract_sfmt_rei; }
|
1091 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1092 |
|
|
case 36 :
|
1093 |
|
|
if ((entire_insn & 0x61fc0fc0) == 0xc0900)
|
1094 |
|
|
{ itype = FRVBF_INSN_TLBPR; goto extract_sfmt_rei; }
|
1095 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1096 |
|
|
case 37 : itype = FRVBF_INSN_STC; goto extract_sfmt_stc;
|
1097 |
|
|
case 38 : itype = FRVBF_INSN_STDC; goto extract_sfmt_stdc;
|
1098 |
|
|
case 39 : itype = FRVBF_INSN_STQC; goto extract_sfmt_ldqc;
|
1099 |
|
|
case 45 : itype = FRVBF_INSN_STCU; goto extract_sfmt_stcu;
|
1100 |
|
|
case 46 : itype = FRVBF_INSN_STDCU; goto extract_sfmt_stdcu;
|
1101 |
|
|
case 47 : itype = FRVBF_INSN_STQCU; goto extract_sfmt_ldqcu;
|
1102 |
|
|
case 48 :
|
1103 |
|
|
if ((entire_insn & 0x7dfc0fc0) == 0xc0c00)
|
1104 |
|
|
{ itype = FRVBF_INSN_ICPL; goto extract_sfmt_icpl; }
|
1105 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1106 |
|
|
case 49 :
|
1107 |
|
|
if ((entire_insn & 0x7ffc0fff) == 0xc0c40)
|
1108 |
|
|
{ itype = FRVBF_INSN_ICUL; goto extract_sfmt_icul; }
|
1109 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1110 |
|
|
case 50 : itype = FRVBF_INSN_WITLB; goto extract_sfmt_rei;
|
1111 |
|
|
case 51 :
|
1112 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0xc0cc0)
|
1113 |
|
|
{ itype = FRVBF_INSN_ITLBI; goto extract_sfmt_rei; }
|
1114 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1115 |
|
|
case 52 :
|
1116 |
|
|
if ((entire_insn & 0x7dfc0fc0) == 0xc0d00)
|
1117 |
|
|
{ itype = FRVBF_INSN_DCPL; goto extract_sfmt_icpl; }
|
1118 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1119 |
|
|
case 53 :
|
1120 |
|
|
if ((entire_insn & 0x7ffc0fff) == 0xc0d40)
|
1121 |
|
|
{ itype = FRVBF_INSN_DCUL; goto extract_sfmt_icul; }
|
1122 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1123 |
|
|
case 54 : itype = FRVBF_INSN_WDTLB; goto extract_sfmt_rei;
|
1124 |
|
|
case 55 :
|
1125 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0xc0dc0)
|
1126 |
|
|
{ itype = FRVBF_INSN_DTLBI; goto extract_sfmt_rei; }
|
1127 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1128 |
|
|
case 56 :
|
1129 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0xc0e00)
|
1130 |
|
|
{ itype = FRVBF_INSN_ICI; goto extract_sfmt_ici; }
|
1131 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1132 |
|
|
case 57 :
|
1133 |
|
|
if ((entire_insn & 0x7dfc0fc0) == 0xc0e40)
|
1134 |
|
|
{ itype = FRVBF_INSN_ICEI; goto extract_sfmt_icei; }
|
1135 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1136 |
|
|
case 58 :
|
1137 |
|
|
if ((entire_insn & 0x7dfc0fc0) == 0xc0e80)
|
1138 |
|
|
{ itype = FRVBF_INSN_DCEI; goto extract_sfmt_icei; }
|
1139 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1140 |
|
|
case 59 :
|
1141 |
|
|
if ((entire_insn & 0x7dfc0fc0) == 0xc0ec0)
|
1142 |
|
|
{ itype = FRVBF_INSN_DCEF; goto extract_sfmt_icei; }
|
1143 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1144 |
|
|
case 60 :
|
1145 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0xc0f00)
|
1146 |
|
|
{ itype = FRVBF_INSN_DCI; goto extract_sfmt_ici; }
|
1147 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1148 |
|
|
case 61 :
|
1149 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0xc0f40)
|
1150 |
|
|
{ itype = FRVBF_INSN_DCF; goto extract_sfmt_ici; }
|
1151 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1152 |
|
|
case 62 :
|
1153 |
|
|
if ((entire_insn & 0x7fffffff) == 0xc0f80)
|
1154 |
|
|
{ itype = FRVBF_INSN_BAR; goto extract_sfmt_rei; }
|
1155 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1156 |
|
|
case 63 :
|
1157 |
|
|
if ((entire_insn & 0x7fffffff) == 0xc0fc0)
|
1158 |
|
|
{ itype = FRVBF_INSN_MEMBAR; goto extract_sfmt_rei; }
|
1159 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1160 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1161 |
|
|
}
|
1162 |
|
|
}
|
1163 |
|
|
case 4 :
|
1164 |
|
|
{
|
1165 |
|
|
unsigned int val = (((insn >> 25) & (15 << 2)) | ((insn >> 6) & (3 << 0)));
|
1166 |
|
|
switch (val)
|
1167 |
|
|
{
|
1168 |
|
|
case 0 :
|
1169 |
|
|
if ((entire_insn & 0x7fffffff) == 0x100000)
|
1170 |
|
|
{ itype = FRVBF_INSN_TNO; goto extract_sfmt_rei; }
|
1171 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1172 |
|
|
case 1 :
|
1173 |
|
|
if ((entire_insn & 0x7fffffff) == 0x100040)
|
1174 |
|
|
{ itype = FRVBF_INSN_FTNO; goto extract_sfmt_rei; }
|
1175 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1176 |
|
|
case 2 :
|
1177 |
|
|
if ((entire_insn & 0x7fffffff) == 0x100080)
|
1178 |
|
|
{ itype = FRVBF_INSN_MTRAP; goto extract_sfmt_rei; }
|
1179 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1180 |
|
|
case 3 :
|
1181 |
|
|
if ((entire_insn & 0x7fffffff) == 0x1000c0)
|
1182 |
|
|
{ itype = FRVBF_INSN_BREAK; goto extract_sfmt_break; }
|
1183 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1184 |
|
|
case 4 :
|
1185 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x8100000)
|
1186 |
|
|
{ itype = FRVBF_INSN_TC; goto extract_sfmt_teq; }
|
1187 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1188 |
|
|
case 5 :
|
1189 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x8100040)
|
1190 |
|
|
{ itype = FRVBF_INSN_FTU; goto extract_sfmt_ftne; }
|
1191 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1192 |
|
|
case 8 :
|
1193 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x10100000)
|
1194 |
|
|
{ itype = FRVBF_INSN_TV; goto extract_sfmt_teq; }
|
1195 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1196 |
|
|
case 9 :
|
1197 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x10100040)
|
1198 |
|
|
{ itype = FRVBF_INSN_FTGT; goto extract_sfmt_ftne; }
|
1199 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1200 |
|
|
case 12 :
|
1201 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x18100000)
|
1202 |
|
|
{ itype = FRVBF_INSN_TLT; goto extract_sfmt_teq; }
|
1203 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1204 |
|
|
case 13 :
|
1205 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x18100040)
|
1206 |
|
|
{ itype = FRVBF_INSN_FTUG; goto extract_sfmt_ftne; }
|
1207 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1208 |
|
|
case 16 :
|
1209 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x20100000)
|
1210 |
|
|
{ itype = FRVBF_INSN_TEQ; goto extract_sfmt_teq; }
|
1211 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1212 |
|
|
case 17 :
|
1213 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x20100040)
|
1214 |
|
|
{ itype = FRVBF_INSN_FTLT; goto extract_sfmt_ftne; }
|
1215 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1216 |
|
|
case 20 :
|
1217 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x28100000)
|
1218 |
|
|
{ itype = FRVBF_INSN_TLS; goto extract_sfmt_teq; }
|
1219 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1220 |
|
|
case 21 :
|
1221 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x28100040)
|
1222 |
|
|
{ itype = FRVBF_INSN_FTUL; goto extract_sfmt_ftne; }
|
1223 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1224 |
|
|
case 24 :
|
1225 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x30100000)
|
1226 |
|
|
{ itype = FRVBF_INSN_TN; goto extract_sfmt_teq; }
|
1227 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1228 |
|
|
case 25 :
|
1229 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x30100040)
|
1230 |
|
|
{ itype = FRVBF_INSN_FTLG; goto extract_sfmt_ftne; }
|
1231 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1232 |
|
|
case 28 :
|
1233 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x38100000)
|
1234 |
|
|
{ itype = FRVBF_INSN_TLE; goto extract_sfmt_teq; }
|
1235 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1236 |
|
|
case 29 :
|
1237 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x38100040)
|
1238 |
|
|
{ itype = FRVBF_INSN_FTNE; goto extract_sfmt_ftne; }
|
1239 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1240 |
|
|
case 32 :
|
1241 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x40100000)
|
1242 |
|
|
{ itype = FRVBF_INSN_TRA; goto extract_sfmt_tra; }
|
1243 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1244 |
|
|
case 33 :
|
1245 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x40100040)
|
1246 |
|
|
{ itype = FRVBF_INSN_FTEQ; goto extract_sfmt_ftne; }
|
1247 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1248 |
|
|
case 36 :
|
1249 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x48100000)
|
1250 |
|
|
{ itype = FRVBF_INSN_TNC; goto extract_sfmt_teq; }
|
1251 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1252 |
|
|
case 37 :
|
1253 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x48100040)
|
1254 |
|
|
{ itype = FRVBF_INSN_FTUE; goto extract_sfmt_ftne; }
|
1255 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1256 |
|
|
case 40 :
|
1257 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x50100000)
|
1258 |
|
|
{ itype = FRVBF_INSN_TNV; goto extract_sfmt_teq; }
|
1259 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1260 |
|
|
case 41 :
|
1261 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x50100040)
|
1262 |
|
|
{ itype = FRVBF_INSN_FTGE; goto extract_sfmt_ftne; }
|
1263 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1264 |
|
|
case 44 :
|
1265 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x58100000)
|
1266 |
|
|
{ itype = FRVBF_INSN_TGE; goto extract_sfmt_teq; }
|
1267 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1268 |
|
|
case 45 :
|
1269 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x58100040)
|
1270 |
|
|
{ itype = FRVBF_INSN_FTUGE; goto extract_sfmt_ftne; }
|
1271 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1272 |
|
|
case 48 :
|
1273 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x60100000)
|
1274 |
|
|
{ itype = FRVBF_INSN_TNE; goto extract_sfmt_teq; }
|
1275 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1276 |
|
|
case 49 :
|
1277 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x60100040)
|
1278 |
|
|
{ itype = FRVBF_INSN_FTLE; goto extract_sfmt_ftne; }
|
1279 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1280 |
|
|
case 52 :
|
1281 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x68100000)
|
1282 |
|
|
{ itype = FRVBF_INSN_THI; goto extract_sfmt_teq; }
|
1283 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1284 |
|
|
case 53 :
|
1285 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x68100040)
|
1286 |
|
|
{ itype = FRVBF_INSN_FTULE; goto extract_sfmt_ftne; }
|
1287 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1288 |
|
|
case 56 :
|
1289 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x70100000)
|
1290 |
|
|
{ itype = FRVBF_INSN_TP; goto extract_sfmt_teq; }
|
1291 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1292 |
|
|
case 57 :
|
1293 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x70100040)
|
1294 |
|
|
{ itype = FRVBF_INSN_FTO; goto extract_sfmt_ftne; }
|
1295 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1296 |
|
|
case 60 :
|
1297 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x78100000)
|
1298 |
|
|
{ itype = FRVBF_INSN_TGT; goto extract_sfmt_teq; }
|
1299 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1300 |
|
|
case 61 :
|
1301 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x78100040)
|
1302 |
|
|
{ itype = FRVBF_INSN_FTRA; goto extract_sfmt_ftra; }
|
1303 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1304 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1305 |
|
|
}
|
1306 |
|
|
}
|
1307 |
|
|
case 5 :
|
1308 |
|
|
if ((entire_insn & 0x7dffffff) == 0x140000)
|
1309 |
|
|
{ itype = FRVBF_INSN_RETT; goto extract_sfmt_rett; }
|
1310 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1311 |
|
|
case 6 :
|
1312 |
|
|
{
|
1313 |
|
|
unsigned int val = (((insn >> 27) & (15 << 0)));
|
1314 |
|
|
switch (val)
|
1315 |
|
|
{
|
1316 |
|
|
case 0 :
|
1317 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x180000)
|
1318 |
|
|
{ itype = FRVBF_INSN_BNO; goto extract_sfmt_bno; }
|
1319 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1320 |
|
|
case 1 : itype = FRVBF_INSN_BC; goto extract_sfmt_beq;
|
1321 |
|
|
case 2 : itype = FRVBF_INSN_BV; goto extract_sfmt_beq;
|
1322 |
|
|
case 3 : itype = FRVBF_INSN_BLT; goto extract_sfmt_beq;
|
1323 |
|
|
case 4 : itype = FRVBF_INSN_BEQ; goto extract_sfmt_beq;
|
1324 |
|
|
case 5 : itype = FRVBF_INSN_BLS; goto extract_sfmt_beq;
|
1325 |
|
|
case 6 : itype = FRVBF_INSN_BN; goto extract_sfmt_beq;
|
1326 |
|
|
case 7 : itype = FRVBF_INSN_BLE; goto extract_sfmt_beq;
|
1327 |
|
|
case 8 :
|
1328 |
|
|
if ((entire_insn & 0x7ffc0000) == 0x40180000)
|
1329 |
|
|
{ itype = FRVBF_INSN_BRA; goto extract_sfmt_bra; }
|
1330 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1331 |
|
|
case 9 : itype = FRVBF_INSN_BNC; goto extract_sfmt_beq;
|
1332 |
|
|
case 10 : itype = FRVBF_INSN_BNV; goto extract_sfmt_beq;
|
1333 |
|
|
case 11 : itype = FRVBF_INSN_BGE; goto extract_sfmt_beq;
|
1334 |
|
|
case 12 : itype = FRVBF_INSN_BNE; goto extract_sfmt_beq;
|
1335 |
|
|
case 13 : itype = FRVBF_INSN_BHI; goto extract_sfmt_beq;
|
1336 |
|
|
case 14 : itype = FRVBF_INSN_BP; goto extract_sfmt_beq;
|
1337 |
|
|
case 15 : itype = FRVBF_INSN_BGT; goto extract_sfmt_beq;
|
1338 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1339 |
|
|
}
|
1340 |
|
|
}
|
1341 |
|
|
case 7 :
|
1342 |
|
|
{
|
1343 |
|
|
unsigned int val = (((insn >> 27) & (15 << 0)));
|
1344 |
|
|
switch (val)
|
1345 |
|
|
{
|
1346 |
|
|
case 0 :
|
1347 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x1c0000)
|
1348 |
|
|
{ itype = FRVBF_INSN_FBNO; goto extract_sfmt_fbno; }
|
1349 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1350 |
|
|
case 1 : itype = FRVBF_INSN_FBU; goto extract_sfmt_fbne;
|
1351 |
|
|
case 2 : itype = FRVBF_INSN_FBGT; goto extract_sfmt_fbne;
|
1352 |
|
|
case 3 : itype = FRVBF_INSN_FBUG; goto extract_sfmt_fbne;
|
1353 |
|
|
case 4 : itype = FRVBF_INSN_FBLT; goto extract_sfmt_fbne;
|
1354 |
|
|
case 5 : itype = FRVBF_INSN_FBUL; goto extract_sfmt_fbne;
|
1355 |
|
|
case 6 : itype = FRVBF_INSN_FBLG; goto extract_sfmt_fbne;
|
1356 |
|
|
case 7 : itype = FRVBF_INSN_FBNE; goto extract_sfmt_fbne;
|
1357 |
|
|
case 8 : itype = FRVBF_INSN_FBEQ; goto extract_sfmt_fbne;
|
1358 |
|
|
case 9 : itype = FRVBF_INSN_FBUE; goto extract_sfmt_fbne;
|
1359 |
|
|
case 10 : itype = FRVBF_INSN_FBGE; goto extract_sfmt_fbne;
|
1360 |
|
|
case 11 : itype = FRVBF_INSN_FBUGE; goto extract_sfmt_fbne;
|
1361 |
|
|
case 12 : itype = FRVBF_INSN_FBLE; goto extract_sfmt_fbne;
|
1362 |
|
|
case 13 : itype = FRVBF_INSN_FBULE; goto extract_sfmt_fbne;
|
1363 |
|
|
case 14 : itype = FRVBF_INSN_FBO; goto extract_sfmt_fbne;
|
1364 |
|
|
case 15 :
|
1365 |
|
|
if ((entire_insn & 0x7ffc0000) == 0x781c0000)
|
1366 |
|
|
{ itype = FRVBF_INSN_FBRA; goto extract_sfmt_fbra; }
|
1367 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1368 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1369 |
|
|
}
|
1370 |
|
|
}
|
1371 |
|
|
case 8 :
|
1372 |
|
|
{
|
1373 |
|
|
unsigned int val = (((insn >> 27) & (15 << 0)));
|
1374 |
|
|
switch (val)
|
1375 |
|
|
{
|
1376 |
|
|
case 0 :
|
1377 |
|
|
if ((entire_insn & 0x79ffffff) == 0x200000)
|
1378 |
|
|
{ itype = FRVBF_INSN_CKNO; goto extract_sfmt_ckra; }
|
1379 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1380 |
|
|
case 1 :
|
1381 |
|
|
if ((entire_insn & 0x79fffffc) == 0x8200000)
|
1382 |
|
|
{ itype = FRVBF_INSN_CKC; goto extract_sfmt_ckeq; }
|
1383 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1384 |
|
|
case 2 :
|
1385 |
|
|
if ((entire_insn & 0x79fffffc) == 0x10200000)
|
1386 |
|
|
{ itype = FRVBF_INSN_CKV; goto extract_sfmt_ckeq; }
|
1387 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1388 |
|
|
case 3 :
|
1389 |
|
|
if ((entire_insn & 0x79fffffc) == 0x18200000)
|
1390 |
|
|
{ itype = FRVBF_INSN_CKLT; goto extract_sfmt_ckeq; }
|
1391 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1392 |
|
|
case 4 :
|
1393 |
|
|
if ((entire_insn & 0x79fffffc) == 0x20200000)
|
1394 |
|
|
{ itype = FRVBF_INSN_CKEQ; goto extract_sfmt_ckeq; }
|
1395 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1396 |
|
|
case 5 :
|
1397 |
|
|
if ((entire_insn & 0x79fffffc) == 0x28200000)
|
1398 |
|
|
{ itype = FRVBF_INSN_CKLS; goto extract_sfmt_ckeq; }
|
1399 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1400 |
|
|
case 6 :
|
1401 |
|
|
if ((entire_insn & 0x79fffffc) == 0x30200000)
|
1402 |
|
|
{ itype = FRVBF_INSN_CKN; goto extract_sfmt_ckeq; }
|
1403 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1404 |
|
|
case 7 :
|
1405 |
|
|
if ((entire_insn & 0x79fffffc) == 0x38200000)
|
1406 |
|
|
{ itype = FRVBF_INSN_CKLE; goto extract_sfmt_ckeq; }
|
1407 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1408 |
|
|
case 8 :
|
1409 |
|
|
if ((entire_insn & 0x79ffffff) == 0x40200000)
|
1410 |
|
|
{ itype = FRVBF_INSN_CKRA; goto extract_sfmt_ckra; }
|
1411 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1412 |
|
|
case 9 :
|
1413 |
|
|
if ((entire_insn & 0x79fffffc) == 0x48200000)
|
1414 |
|
|
{ itype = FRVBF_INSN_CKNC; goto extract_sfmt_ckeq; }
|
1415 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1416 |
|
|
case 10 :
|
1417 |
|
|
if ((entire_insn & 0x79fffffc) == 0x50200000)
|
1418 |
|
|
{ itype = FRVBF_INSN_CKNV; goto extract_sfmt_ckeq; }
|
1419 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1420 |
|
|
case 11 :
|
1421 |
|
|
if ((entire_insn & 0x79fffffc) == 0x58200000)
|
1422 |
|
|
{ itype = FRVBF_INSN_CKGE; goto extract_sfmt_ckeq; }
|
1423 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1424 |
|
|
case 12 :
|
1425 |
|
|
if ((entire_insn & 0x79fffffc) == 0x60200000)
|
1426 |
|
|
{ itype = FRVBF_INSN_CKNE; goto extract_sfmt_ckeq; }
|
1427 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1428 |
|
|
case 13 :
|
1429 |
|
|
if ((entire_insn & 0x79fffffc) == 0x68200000)
|
1430 |
|
|
{ itype = FRVBF_INSN_CKHI; goto extract_sfmt_ckeq; }
|
1431 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1432 |
|
|
case 14 :
|
1433 |
|
|
if ((entire_insn & 0x79fffffc) == 0x70200000)
|
1434 |
|
|
{ itype = FRVBF_INSN_CKP; goto extract_sfmt_ckeq; }
|
1435 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1436 |
|
|
case 15 :
|
1437 |
|
|
if ((entire_insn & 0x79fffffc) == 0x78200000)
|
1438 |
|
|
{ itype = FRVBF_INSN_CKGT; goto extract_sfmt_ckeq; }
|
1439 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1440 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1441 |
|
|
}
|
1442 |
|
|
}
|
1443 |
|
|
case 9 :
|
1444 |
|
|
{
|
1445 |
|
|
unsigned int val = (((insn >> 27) & (15 << 0)));
|
1446 |
|
|
switch (val)
|
1447 |
|
|
{
|
1448 |
|
|
case 0 :
|
1449 |
|
|
if ((entire_insn & 0x79fffffc) == 0x240000)
|
1450 |
|
|
{ itype = FRVBF_INSN_FCKNO; goto extract_sfmt_fckra; }
|
1451 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1452 |
|
|
case 1 :
|
1453 |
|
|
if ((entire_insn & 0x79fffffc) == 0x8240000)
|
1454 |
|
|
{ itype = FRVBF_INSN_FCKU; goto extract_sfmt_fckne; }
|
1455 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1456 |
|
|
case 2 :
|
1457 |
|
|
if ((entire_insn & 0x79fffffc) == 0x10240000)
|
1458 |
|
|
{ itype = FRVBF_INSN_FCKGT; goto extract_sfmt_fckne; }
|
1459 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1460 |
|
|
case 3 :
|
1461 |
|
|
if ((entire_insn & 0x79fffffc) == 0x18240000)
|
1462 |
|
|
{ itype = FRVBF_INSN_FCKUG; goto extract_sfmt_fckne; }
|
1463 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1464 |
|
|
case 4 :
|
1465 |
|
|
if ((entire_insn & 0x79fffffc) == 0x20240000)
|
1466 |
|
|
{ itype = FRVBF_INSN_FCKLT; goto extract_sfmt_fckne; }
|
1467 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1468 |
|
|
case 5 :
|
1469 |
|
|
if ((entire_insn & 0x79fffffc) == 0x28240000)
|
1470 |
|
|
{ itype = FRVBF_INSN_FCKUL; goto extract_sfmt_fckne; }
|
1471 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1472 |
|
|
case 6 :
|
1473 |
|
|
if ((entire_insn & 0x79fffffc) == 0x30240000)
|
1474 |
|
|
{ itype = FRVBF_INSN_FCKLG; goto extract_sfmt_fckne; }
|
1475 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1476 |
|
|
case 7 :
|
1477 |
|
|
if ((entire_insn & 0x79fffffc) == 0x38240000)
|
1478 |
|
|
{ itype = FRVBF_INSN_FCKNE; goto extract_sfmt_fckne; }
|
1479 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1480 |
|
|
case 8 :
|
1481 |
|
|
if ((entire_insn & 0x79fffffc) == 0x40240000)
|
1482 |
|
|
{ itype = FRVBF_INSN_FCKEQ; goto extract_sfmt_fckne; }
|
1483 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1484 |
|
|
case 9 :
|
1485 |
|
|
if ((entire_insn & 0x79fffffc) == 0x48240000)
|
1486 |
|
|
{ itype = FRVBF_INSN_FCKUE; goto extract_sfmt_fckne; }
|
1487 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1488 |
|
|
case 10 :
|
1489 |
|
|
if ((entire_insn & 0x79fffffc) == 0x50240000)
|
1490 |
|
|
{ itype = FRVBF_INSN_FCKGE; goto extract_sfmt_fckne; }
|
1491 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1492 |
|
|
case 11 :
|
1493 |
|
|
if ((entire_insn & 0x79fffffc) == 0x58240000)
|
1494 |
|
|
{ itype = FRVBF_INSN_FCKUGE; goto extract_sfmt_fckne; }
|
1495 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1496 |
|
|
case 12 :
|
1497 |
|
|
if ((entire_insn & 0x79fffffc) == 0x60240000)
|
1498 |
|
|
{ itype = FRVBF_INSN_FCKLE; goto extract_sfmt_fckne; }
|
1499 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1500 |
|
|
case 13 :
|
1501 |
|
|
if ((entire_insn & 0x79fffffc) == 0x68240000)
|
1502 |
|
|
{ itype = FRVBF_INSN_FCKULE; goto extract_sfmt_fckne; }
|
1503 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1504 |
|
|
case 14 :
|
1505 |
|
|
if ((entire_insn & 0x79fffffc) == 0x70240000)
|
1506 |
|
|
{ itype = FRVBF_INSN_FCKO; goto extract_sfmt_fckne; }
|
1507 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1508 |
|
|
case 15 :
|
1509 |
|
|
if ((entire_insn & 0x79fffffc) == 0x78240000)
|
1510 |
|
|
{ itype = FRVBF_INSN_FCKRA; goto extract_sfmt_fckra; }
|
1511 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1512 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1513 |
|
|
}
|
1514 |
|
|
}
|
1515 |
|
|
case 10 :
|
1516 |
|
|
{
|
1517 |
|
|
unsigned int val = (((insn >> 6) & (31 << 0)));
|
1518 |
|
|
switch (val)
|
1519 |
|
|
{
|
1520 |
|
|
case 0 :
|
1521 |
|
|
if ((entire_insn & 0x1ffffff) == 0x280000)
|
1522 |
|
|
{ itype = FRVBF_INSN_CLRGR; goto extract_sfmt_clrgr; }
|
1523 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1524 |
|
|
case 1 :
|
1525 |
|
|
if ((entire_insn & 0x7fffffff) == 0x280040)
|
1526 |
|
|
{ itype = FRVBF_INSN_CLRGA; goto extract_sfmt_rei; }
|
1527 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1528 |
|
|
case 2 :
|
1529 |
|
|
if ((entire_insn & 0x1ffffff) == 0x280080)
|
1530 |
|
|
{ itype = FRVBF_INSN_CLRFR; goto extract_sfmt_clrfr; }
|
1531 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1532 |
|
|
case 3 :
|
1533 |
|
|
if ((entire_insn & 0x7fffffff) == 0x2800c0)
|
1534 |
|
|
{ itype = FRVBF_INSN_CLRFA; goto extract_sfmt_rei; }
|
1535 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1536 |
|
|
case 4 :
|
1537 |
|
|
if ((entire_insn & 0x1ffffff) == 0x280100)
|
1538 |
|
|
{ itype = FRVBF_INSN_COMMITGR; goto extract_sfmt_commitgr; }
|
1539 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1540 |
|
|
case 5 :
|
1541 |
|
|
if ((entire_insn & 0x7fffffff) == 0x280140)
|
1542 |
|
|
{ itype = FRVBF_INSN_COMMITGA; goto extract_sfmt_rei; }
|
1543 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1544 |
|
|
case 6 :
|
1545 |
|
|
if ((entire_insn & 0x1ffffff) == 0x280180)
|
1546 |
|
|
{ itype = FRVBF_INSN_COMMITFR; goto extract_sfmt_commitfr; }
|
1547 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1548 |
|
|
case 7 :
|
1549 |
|
|
if ((entire_insn & 0x7fffffff) == 0x2801c0)
|
1550 |
|
|
{ itype = FRVBF_INSN_COMMITFA; goto extract_sfmt_rei; }
|
1551 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1552 |
|
|
case 8 :
|
1553 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280200)
|
1554 |
|
|
{ itype = FRVBF_INSN_ANDCR; goto extract_sfmt_andcr; }
|
1555 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1556 |
|
|
case 9 :
|
1557 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280240)
|
1558 |
|
|
{ itype = FRVBF_INSN_ORCR; goto extract_sfmt_andcr; }
|
1559 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1560 |
|
|
case 10 :
|
1561 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280280)
|
1562 |
|
|
{ itype = FRVBF_INSN_XORCR; goto extract_sfmt_andcr; }
|
1563 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1564 |
|
|
case 11 :
|
1565 |
|
|
if ((entire_insn & 0x71fffff8) == 0x2802c0)
|
1566 |
|
|
{ itype = FRVBF_INSN_NOTCR; goto extract_sfmt_notcr; }
|
1567 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1568 |
|
|
case 12 :
|
1569 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280300)
|
1570 |
|
|
{ itype = FRVBF_INSN_NANDCR; goto extract_sfmt_andcr; }
|
1571 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1572 |
|
|
case 13 :
|
1573 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280340)
|
1574 |
|
|
{ itype = FRVBF_INSN_NORCR; goto extract_sfmt_andcr; }
|
1575 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1576 |
|
|
case 16 :
|
1577 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280400)
|
1578 |
|
|
{ itype = FRVBF_INSN_ANDNCR; goto extract_sfmt_andcr; }
|
1579 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1580 |
|
|
case 17 :
|
1581 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280440)
|
1582 |
|
|
{ itype = FRVBF_INSN_ORNCR; goto extract_sfmt_andcr; }
|
1583 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1584 |
|
|
case 20 :
|
1585 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280500)
|
1586 |
|
|
{ itype = FRVBF_INSN_NANDNCR; goto extract_sfmt_andcr; }
|
1587 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1588 |
|
|
case 21 :
|
1589 |
|
|
if ((entire_insn & 0x71ff8ff8) == 0x280540)
|
1590 |
|
|
{ itype = FRVBF_INSN_NORNCR; goto extract_sfmt_andcr; }
|
1591 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1592 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1593 |
|
|
}
|
1594 |
|
|
}
|
1595 |
|
|
case 11 :
|
1596 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x2c0000)
|
1597 |
|
|
{ itype = FRVBF_INSN_SCAN; goto extract_sfmt_add; }
|
1598 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1599 |
|
|
case 12 :
|
1600 |
|
|
{
|
1601 |
|
|
unsigned int val = (((insn >> 25) & (1 << 0)));
|
1602 |
|
|
switch (val)
|
1603 |
|
|
{
|
1604 |
|
|
case 0 :
|
1605 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x300000)
|
1606 |
|
|
{ itype = FRVBF_INSN_JMPL; goto extract_sfmt_jmpl; }
|
1607 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1608 |
|
|
case 1 :
|
1609 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x2300000)
|
1610 |
|
|
{ itype = FRVBF_INSN_CALLL; goto extract_sfmt_calll; }
|
1611 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1612 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1613 |
|
|
}
|
1614 |
|
|
}
|
1615 |
|
|
case 13 :
|
1616 |
|
|
{
|
1617 |
|
|
unsigned int val = (((insn >> 25) & (1 << 0)));
|
1618 |
|
|
switch (val)
|
1619 |
|
|
{
|
1620 |
|
|
case 0 :
|
1621 |
|
|
if ((entire_insn & 0x7ffc0000) == 0x340000)
|
1622 |
|
|
{ itype = FRVBF_INSN_JMPIL; goto extract_sfmt_jmpil; }
|
1623 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1624 |
|
|
case 1 :
|
1625 |
|
|
if ((entire_insn & 0x7ffc0000) == 0x2340000)
|
1626 |
|
|
{ itype = FRVBF_INSN_CALLIL; goto extract_sfmt_callil; }
|
1627 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1628 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1629 |
|
|
}
|
1630 |
|
|
}
|
1631 |
|
|
case 14 :
|
1632 |
|
|
{
|
1633 |
|
|
unsigned int val = (((insn >> 25) & (15 << 2)) | ((insn >> 14) & (1 << 1)) | ((insn >> 13) & (1 << 0)));
|
1634 |
|
|
switch (val)
|
1635 |
|
|
{
|
1636 |
|
|
case 0 :
|
1637 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x384000)
|
1638 |
|
|
{ itype = FRVBF_INSN_BNOLR; goto extract_sfmt_bnolr; }
|
1639 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1640 |
|
|
case 1 :
|
1641 |
|
|
{
|
1642 |
|
|
unsigned int val = (((insn >> 14) & (1 << 0)));
|
1643 |
|
|
switch (val)
|
1644 |
|
|
{
|
1645 |
|
|
case 0 :
|
1646 |
|
|
if ((entire_insn & 0x7ffcefff) == 0x382000)
|
1647 |
|
|
{ itype = FRVBF_INSN_BCTRLR; goto extract_sfmt_bctrlr; }
|
1648 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1649 |
|
|
case 1 :
|
1650 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x386000)
|
1651 |
|
|
{ itype = FRVBF_INSN_BCNOLR; goto extract_sfmt_bcnolr; }
|
1652 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1653 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1654 |
|
|
}
|
1655 |
|
|
}
|
1656 |
|
|
case 2 :
|
1657 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x38c000)
|
1658 |
|
|
{ itype = FRVBF_INSN_FBNOLR; goto extract_sfmt_fbnolr; }
|
1659 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1660 |
|
|
case 3 :
|
1661 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x38e000)
|
1662 |
|
|
{ itype = FRVBF_INSN_FCBNOLR; goto extract_sfmt_fcbnolr; }
|
1663 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1664 |
|
|
case 4 :
|
1665 |
|
|
if ((entire_insn & 0x79fcffff) == 0x8384000)
|
1666 |
|
|
{ itype = FRVBF_INSN_BCLR; goto extract_sfmt_beqlr; }
|
1667 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1668 |
|
|
case 5 :
|
1669 |
|
|
if ((entire_insn & 0x79fcefff) == 0x8386000)
|
1670 |
|
|
{ itype = FRVBF_INSN_BCCLR; goto extract_sfmt_bceqlr; }
|
1671 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1672 |
|
|
case 6 :
|
1673 |
|
|
if ((entire_insn & 0x79fcffff) == 0x838c000)
|
1674 |
|
|
{ itype = FRVBF_INSN_FBULR; goto extract_sfmt_fbeqlr; }
|
1675 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1676 |
|
|
case 7 :
|
1677 |
|
|
if ((entire_insn & 0x79fcefff) == 0x838e000)
|
1678 |
|
|
{ itype = FRVBF_INSN_FCBULR; goto extract_sfmt_fcbeqlr; }
|
1679 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1680 |
|
|
case 8 :
|
1681 |
|
|
if ((entire_insn & 0x79fcffff) == 0x10384000)
|
1682 |
|
|
{ itype = FRVBF_INSN_BVLR; goto extract_sfmt_beqlr; }
|
1683 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1684 |
|
|
case 9 :
|
1685 |
|
|
if ((entire_insn & 0x79fcefff) == 0x10386000)
|
1686 |
|
|
{ itype = FRVBF_INSN_BCVLR; goto extract_sfmt_bceqlr; }
|
1687 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1688 |
|
|
case 10 :
|
1689 |
|
|
if ((entire_insn & 0x79fcffff) == 0x1038c000)
|
1690 |
|
|
{ itype = FRVBF_INSN_FBGTLR; goto extract_sfmt_fbeqlr; }
|
1691 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1692 |
|
|
case 11 :
|
1693 |
|
|
if ((entire_insn & 0x79fcefff) == 0x1038e000)
|
1694 |
|
|
{ itype = FRVBF_INSN_FCBGTLR; goto extract_sfmt_fcbeqlr; }
|
1695 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1696 |
|
|
case 12 :
|
1697 |
|
|
if ((entire_insn & 0x79fcffff) == 0x18384000)
|
1698 |
|
|
{ itype = FRVBF_INSN_BLTLR; goto extract_sfmt_beqlr; }
|
1699 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1700 |
|
|
case 13 :
|
1701 |
|
|
if ((entire_insn & 0x79fcefff) == 0x18386000)
|
1702 |
|
|
{ itype = FRVBF_INSN_BCLTLR; goto extract_sfmt_bceqlr; }
|
1703 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1704 |
|
|
case 14 :
|
1705 |
|
|
if ((entire_insn & 0x79fcffff) == 0x1838c000)
|
1706 |
|
|
{ itype = FRVBF_INSN_FBUGLR; goto extract_sfmt_fbeqlr; }
|
1707 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1708 |
|
|
case 15 :
|
1709 |
|
|
if ((entire_insn & 0x79fcefff) == 0x1838e000)
|
1710 |
|
|
{ itype = FRVBF_INSN_FCBUGLR; goto extract_sfmt_fcbeqlr; }
|
1711 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1712 |
|
|
case 16 :
|
1713 |
|
|
if ((entire_insn & 0x79fcffff) == 0x20384000)
|
1714 |
|
|
{ itype = FRVBF_INSN_BEQLR; goto extract_sfmt_beqlr; }
|
1715 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1716 |
|
|
case 17 :
|
1717 |
|
|
if ((entire_insn & 0x79fcefff) == 0x20386000)
|
1718 |
|
|
{ itype = FRVBF_INSN_BCEQLR; goto extract_sfmt_bceqlr; }
|
1719 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1720 |
|
|
case 18 :
|
1721 |
|
|
if ((entire_insn & 0x79fcffff) == 0x2038c000)
|
1722 |
|
|
{ itype = FRVBF_INSN_FBLTLR; goto extract_sfmt_fbeqlr; }
|
1723 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1724 |
|
|
case 19 :
|
1725 |
|
|
if ((entire_insn & 0x79fcefff) == 0x2038e000)
|
1726 |
|
|
{ itype = FRVBF_INSN_FCBLTLR; goto extract_sfmt_fcbeqlr; }
|
1727 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1728 |
|
|
case 20 :
|
1729 |
|
|
if ((entire_insn & 0x79fcffff) == 0x28384000)
|
1730 |
|
|
{ itype = FRVBF_INSN_BLSLR; goto extract_sfmt_beqlr; }
|
1731 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1732 |
|
|
case 21 :
|
1733 |
|
|
if ((entire_insn & 0x79fcefff) == 0x28386000)
|
1734 |
|
|
{ itype = FRVBF_INSN_BCLSLR; goto extract_sfmt_bceqlr; }
|
1735 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1736 |
|
|
case 22 :
|
1737 |
|
|
if ((entire_insn & 0x79fcffff) == 0x2838c000)
|
1738 |
|
|
{ itype = FRVBF_INSN_FBULLR; goto extract_sfmt_fbeqlr; }
|
1739 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1740 |
|
|
case 23 :
|
1741 |
|
|
if ((entire_insn & 0x79fcefff) == 0x2838e000)
|
1742 |
|
|
{ itype = FRVBF_INSN_FCBULLR; goto extract_sfmt_fcbeqlr; }
|
1743 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1744 |
|
|
case 24 :
|
1745 |
|
|
if ((entire_insn & 0x79fcffff) == 0x30384000)
|
1746 |
|
|
{ itype = FRVBF_INSN_BNLR; goto extract_sfmt_beqlr; }
|
1747 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1748 |
|
|
case 25 :
|
1749 |
|
|
if ((entire_insn & 0x79fcefff) == 0x30386000)
|
1750 |
|
|
{ itype = FRVBF_INSN_BCNLR; goto extract_sfmt_bceqlr; }
|
1751 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1752 |
|
|
case 26 :
|
1753 |
|
|
if ((entire_insn & 0x79fcffff) == 0x3038c000)
|
1754 |
|
|
{ itype = FRVBF_INSN_FBLGLR; goto extract_sfmt_fbeqlr; }
|
1755 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1756 |
|
|
case 27 :
|
1757 |
|
|
if ((entire_insn & 0x79fcefff) == 0x3038e000)
|
1758 |
|
|
{ itype = FRVBF_INSN_FCBLGLR; goto extract_sfmt_fcbeqlr; }
|
1759 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1760 |
|
|
case 28 :
|
1761 |
|
|
if ((entire_insn & 0x79fcffff) == 0x38384000)
|
1762 |
|
|
{ itype = FRVBF_INSN_BLELR; goto extract_sfmt_beqlr; }
|
1763 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1764 |
|
|
case 29 :
|
1765 |
|
|
if ((entire_insn & 0x79fcefff) == 0x38386000)
|
1766 |
|
|
{ itype = FRVBF_INSN_BCLELR; goto extract_sfmt_bceqlr; }
|
1767 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1768 |
|
|
case 30 :
|
1769 |
|
|
if ((entire_insn & 0x79fcffff) == 0x3838c000)
|
1770 |
|
|
{ itype = FRVBF_INSN_FBNELR; goto extract_sfmt_fbeqlr; }
|
1771 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1772 |
|
|
case 31 :
|
1773 |
|
|
if ((entire_insn & 0x79fcefff) == 0x3838e000)
|
1774 |
|
|
{ itype = FRVBF_INSN_FCBNELR; goto extract_sfmt_fcbeqlr; }
|
1775 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1776 |
|
|
case 32 :
|
1777 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x40384000)
|
1778 |
|
|
{ itype = FRVBF_INSN_BRALR; goto extract_sfmt_bralr; }
|
1779 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1780 |
|
|
case 33 :
|
1781 |
|
|
if ((entire_insn & 0x7ffcefff) == 0x40386000)
|
1782 |
|
|
{ itype = FRVBF_INSN_BCRALR; goto extract_sfmt_bcralr; }
|
1783 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1784 |
|
|
case 34 :
|
1785 |
|
|
if ((entire_insn & 0x79fcffff) == 0x4038c000)
|
1786 |
|
|
{ itype = FRVBF_INSN_FBEQLR; goto extract_sfmt_fbeqlr; }
|
1787 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1788 |
|
|
case 35 :
|
1789 |
|
|
if ((entire_insn & 0x79fcefff) == 0x4038e000)
|
1790 |
|
|
{ itype = FRVBF_INSN_FCBEQLR; goto extract_sfmt_fcbeqlr; }
|
1791 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1792 |
|
|
case 36 :
|
1793 |
|
|
if ((entire_insn & 0x79fcffff) == 0x48384000)
|
1794 |
|
|
{ itype = FRVBF_INSN_BNCLR; goto extract_sfmt_beqlr; }
|
1795 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1796 |
|
|
case 37 :
|
1797 |
|
|
if ((entire_insn & 0x79fcefff) == 0x48386000)
|
1798 |
|
|
{ itype = FRVBF_INSN_BCNCLR; goto extract_sfmt_bceqlr; }
|
1799 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1800 |
|
|
case 38 :
|
1801 |
|
|
if ((entire_insn & 0x79fcffff) == 0x4838c000)
|
1802 |
|
|
{ itype = FRVBF_INSN_FBUELR; goto extract_sfmt_fbeqlr; }
|
1803 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1804 |
|
|
case 39 :
|
1805 |
|
|
if ((entire_insn & 0x79fcefff) == 0x4838e000)
|
1806 |
|
|
{ itype = FRVBF_INSN_FCBUELR; goto extract_sfmt_fcbeqlr; }
|
1807 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1808 |
|
|
case 40 :
|
1809 |
|
|
if ((entire_insn & 0x79fcffff) == 0x50384000)
|
1810 |
|
|
{ itype = FRVBF_INSN_BNVLR; goto extract_sfmt_beqlr; }
|
1811 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1812 |
|
|
case 41 :
|
1813 |
|
|
if ((entire_insn & 0x79fcefff) == 0x50386000)
|
1814 |
|
|
{ itype = FRVBF_INSN_BCNVLR; goto extract_sfmt_bceqlr; }
|
1815 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1816 |
|
|
case 42 :
|
1817 |
|
|
if ((entire_insn & 0x79fcffff) == 0x5038c000)
|
1818 |
|
|
{ itype = FRVBF_INSN_FBGELR; goto extract_sfmt_fbeqlr; }
|
1819 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1820 |
|
|
case 43 :
|
1821 |
|
|
if ((entire_insn & 0x79fcefff) == 0x5038e000)
|
1822 |
|
|
{ itype = FRVBF_INSN_FCBGELR; goto extract_sfmt_fcbeqlr; }
|
1823 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1824 |
|
|
case 44 :
|
1825 |
|
|
if ((entire_insn & 0x79fcffff) == 0x58384000)
|
1826 |
|
|
{ itype = FRVBF_INSN_BGELR; goto extract_sfmt_beqlr; }
|
1827 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1828 |
|
|
case 45 :
|
1829 |
|
|
if ((entire_insn & 0x79fcefff) == 0x58386000)
|
1830 |
|
|
{ itype = FRVBF_INSN_BCGELR; goto extract_sfmt_bceqlr; }
|
1831 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1832 |
|
|
case 46 :
|
1833 |
|
|
if ((entire_insn & 0x79fcffff) == 0x5838c000)
|
1834 |
|
|
{ itype = FRVBF_INSN_FBUGELR; goto extract_sfmt_fbeqlr; }
|
1835 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1836 |
|
|
case 47 :
|
1837 |
|
|
if ((entire_insn & 0x79fcefff) == 0x5838e000)
|
1838 |
|
|
{ itype = FRVBF_INSN_FCBUGELR; goto extract_sfmt_fcbeqlr; }
|
1839 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1840 |
|
|
case 48 :
|
1841 |
|
|
if ((entire_insn & 0x79fcffff) == 0x60384000)
|
1842 |
|
|
{ itype = FRVBF_INSN_BNELR; goto extract_sfmt_beqlr; }
|
1843 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1844 |
|
|
case 49 :
|
1845 |
|
|
if ((entire_insn & 0x79fcefff) == 0x60386000)
|
1846 |
|
|
{ itype = FRVBF_INSN_BCNELR; goto extract_sfmt_bceqlr; }
|
1847 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1848 |
|
|
case 50 :
|
1849 |
|
|
if ((entire_insn & 0x79fcffff) == 0x6038c000)
|
1850 |
|
|
{ itype = FRVBF_INSN_FBLELR; goto extract_sfmt_fbeqlr; }
|
1851 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1852 |
|
|
case 51 :
|
1853 |
|
|
if ((entire_insn & 0x79fcefff) == 0x6038e000)
|
1854 |
|
|
{ itype = FRVBF_INSN_FCBLELR; goto extract_sfmt_fcbeqlr; }
|
1855 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1856 |
|
|
case 52 :
|
1857 |
|
|
if ((entire_insn & 0x79fcffff) == 0x68384000)
|
1858 |
|
|
{ itype = FRVBF_INSN_BHILR; goto extract_sfmt_beqlr; }
|
1859 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1860 |
|
|
case 53 :
|
1861 |
|
|
if ((entire_insn & 0x79fcefff) == 0x68386000)
|
1862 |
|
|
{ itype = FRVBF_INSN_BCHILR; goto extract_sfmt_bceqlr; }
|
1863 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1864 |
|
|
case 54 :
|
1865 |
|
|
if ((entire_insn & 0x79fcffff) == 0x6838c000)
|
1866 |
|
|
{ itype = FRVBF_INSN_FBULELR; goto extract_sfmt_fbeqlr; }
|
1867 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1868 |
|
|
case 55 :
|
1869 |
|
|
if ((entire_insn & 0x79fcefff) == 0x6838e000)
|
1870 |
|
|
{ itype = FRVBF_INSN_FCBULELR; goto extract_sfmt_fcbeqlr; }
|
1871 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1872 |
|
|
case 56 :
|
1873 |
|
|
if ((entire_insn & 0x79fcffff) == 0x70384000)
|
1874 |
|
|
{ itype = FRVBF_INSN_BPLR; goto extract_sfmt_beqlr; }
|
1875 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1876 |
|
|
case 57 :
|
1877 |
|
|
if ((entire_insn & 0x79fcefff) == 0x70386000)
|
1878 |
|
|
{ itype = FRVBF_INSN_BCPLR; goto extract_sfmt_bceqlr; }
|
1879 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1880 |
|
|
case 58 :
|
1881 |
|
|
if ((entire_insn & 0x79fcffff) == 0x7038c000)
|
1882 |
|
|
{ itype = FRVBF_INSN_FBOLR; goto extract_sfmt_fbeqlr; }
|
1883 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1884 |
|
|
case 59 :
|
1885 |
|
|
if ((entire_insn & 0x79fcefff) == 0x7038e000)
|
1886 |
|
|
{ itype = FRVBF_INSN_FCBOLR; goto extract_sfmt_fcbeqlr; }
|
1887 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1888 |
|
|
case 60 :
|
1889 |
|
|
if ((entire_insn & 0x79fcffff) == 0x78384000)
|
1890 |
|
|
{ itype = FRVBF_INSN_BGTLR; goto extract_sfmt_beqlr; }
|
1891 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1892 |
|
|
case 61 :
|
1893 |
|
|
if ((entire_insn & 0x79fcefff) == 0x78386000)
|
1894 |
|
|
{ itype = FRVBF_INSN_BCGTLR; goto extract_sfmt_bceqlr; }
|
1895 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1896 |
|
|
case 62 :
|
1897 |
|
|
if ((entire_insn & 0x7ffcffff) == 0x7838c000)
|
1898 |
|
|
{ itype = FRVBF_INSN_FBRALR; goto extract_sfmt_fbralr; }
|
1899 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1900 |
|
|
case 63 :
|
1901 |
|
|
if ((entire_insn & 0x7ffcefff) == 0x7838e000)
|
1902 |
|
|
{ itype = FRVBF_INSN_FCBRALR; goto extract_sfmt_fcbralr; }
|
1903 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1904 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1905 |
|
|
}
|
1906 |
|
|
}
|
1907 |
|
|
case 15 : itype = FRVBF_INSN_CALL; goto extract_sfmt_call;
|
1908 |
|
|
case 16 : itype = FRVBF_INSN_ADDI; goto extract_sfmt_addi;
|
1909 |
|
|
case 17 : itype = FRVBF_INSN_ADDICC; goto extract_sfmt_addicc;
|
1910 |
|
|
case 18 : itype = FRVBF_INSN_ADDXI; goto extract_sfmt_addxi;
|
1911 |
|
|
case 19 : itype = FRVBF_INSN_ADDXICC; goto extract_sfmt_addicc;
|
1912 |
|
|
case 20 : itype = FRVBF_INSN_SUBI; goto extract_sfmt_addi;
|
1913 |
|
|
case 21 : itype = FRVBF_INSN_SUBICC; goto extract_sfmt_addicc;
|
1914 |
|
|
case 22 : itype = FRVBF_INSN_SUBXI; goto extract_sfmt_addxi;
|
1915 |
|
|
case 23 : itype = FRVBF_INSN_SUBXICC; goto extract_sfmt_addicc;
|
1916 |
|
|
case 24 : itype = FRVBF_INSN_SMULI; goto extract_sfmt_smuli;
|
1917 |
|
|
case 25 : itype = FRVBF_INSN_SMULICC; goto extract_sfmt_smulicc;
|
1918 |
|
|
case 26 : itype = FRVBF_INSN_UMULI; goto extract_sfmt_smuli;
|
1919 |
|
|
case 27 : itype = FRVBF_INSN_UMULICC; goto extract_sfmt_smulicc;
|
1920 |
|
|
case 28 :
|
1921 |
|
|
{
|
1922 |
|
|
unsigned int val = (((insn >> 27) & (15 << 0)));
|
1923 |
|
|
switch (val)
|
1924 |
|
|
{
|
1925 |
|
|
case 0 :
|
1926 |
|
|
if ((entire_insn & 0x7fffffff) == 0x700000)
|
1927 |
|
|
{ itype = FRVBF_INSN_TINO; goto extract_sfmt_rei; }
|
1928 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1929 |
|
|
case 1 : itype = FRVBF_INSN_TIC; goto extract_sfmt_tieq;
|
1930 |
|
|
case 2 : itype = FRVBF_INSN_TIV; goto extract_sfmt_tieq;
|
1931 |
|
|
case 3 : itype = FRVBF_INSN_TILT; goto extract_sfmt_tieq;
|
1932 |
|
|
case 4 : itype = FRVBF_INSN_TIEQ; goto extract_sfmt_tieq;
|
1933 |
|
|
case 5 : itype = FRVBF_INSN_TILS; goto extract_sfmt_tieq;
|
1934 |
|
|
case 6 : itype = FRVBF_INSN_TIN; goto extract_sfmt_tieq;
|
1935 |
|
|
case 7 : itype = FRVBF_INSN_TILE; goto extract_sfmt_tieq;
|
1936 |
|
|
case 8 :
|
1937 |
|
|
if ((entire_insn & 0x7ffc0000) == 0x40700000)
|
1938 |
|
|
{ itype = FRVBF_INSN_TIRA; goto extract_sfmt_tira; }
|
1939 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1940 |
|
|
case 9 : itype = FRVBF_INSN_TINC; goto extract_sfmt_tieq;
|
1941 |
|
|
case 10 : itype = FRVBF_INSN_TINV; goto extract_sfmt_tieq;
|
1942 |
|
|
case 11 : itype = FRVBF_INSN_TIGE; goto extract_sfmt_tieq;
|
1943 |
|
|
case 12 : itype = FRVBF_INSN_TINE; goto extract_sfmt_tieq;
|
1944 |
|
|
case 13 : itype = FRVBF_INSN_TIHI; goto extract_sfmt_tieq;
|
1945 |
|
|
case 14 : itype = FRVBF_INSN_TIP; goto extract_sfmt_tieq;
|
1946 |
|
|
case 15 : itype = FRVBF_INSN_TIGT; goto extract_sfmt_tieq;
|
1947 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1948 |
|
|
}
|
1949 |
|
|
}
|
1950 |
|
|
case 29 :
|
1951 |
|
|
{
|
1952 |
|
|
unsigned int val = (((insn >> 27) & (15 << 0)));
|
1953 |
|
|
switch (val)
|
1954 |
|
|
{
|
1955 |
|
|
case 0 :
|
1956 |
|
|
if ((entire_insn & 0x7fffffff) == 0x740000)
|
1957 |
|
|
{ itype = FRVBF_INSN_FTINO; goto extract_sfmt_rei; }
|
1958 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1959 |
|
|
case 1 : itype = FRVBF_INSN_FTIU; goto extract_sfmt_ftine;
|
1960 |
|
|
case 2 : itype = FRVBF_INSN_FTIGT; goto extract_sfmt_ftine;
|
1961 |
|
|
case 3 : itype = FRVBF_INSN_FTIUG; goto extract_sfmt_ftine;
|
1962 |
|
|
case 4 : itype = FRVBF_INSN_FTILT; goto extract_sfmt_ftine;
|
1963 |
|
|
case 5 : itype = FRVBF_INSN_FTIUL; goto extract_sfmt_ftine;
|
1964 |
|
|
case 6 : itype = FRVBF_INSN_FTILG; goto extract_sfmt_ftine;
|
1965 |
|
|
case 7 : itype = FRVBF_INSN_FTINE; goto extract_sfmt_ftine;
|
1966 |
|
|
case 8 : itype = FRVBF_INSN_FTIEQ; goto extract_sfmt_ftine;
|
1967 |
|
|
case 9 : itype = FRVBF_INSN_FTIUE; goto extract_sfmt_ftine;
|
1968 |
|
|
case 10 : itype = FRVBF_INSN_FTIGE; goto extract_sfmt_ftine;
|
1969 |
|
|
case 11 : itype = FRVBF_INSN_FTIUGE; goto extract_sfmt_ftine;
|
1970 |
|
|
case 12 : itype = FRVBF_INSN_FTILE; goto extract_sfmt_ftine;
|
1971 |
|
|
case 13 : itype = FRVBF_INSN_FTIULE; goto extract_sfmt_ftine;
|
1972 |
|
|
case 14 : itype = FRVBF_INSN_FTIO; goto extract_sfmt_ftine;
|
1973 |
|
|
case 15 :
|
1974 |
|
|
if ((entire_insn & 0x7ffc0000) == 0x78740000)
|
1975 |
|
|
{ itype = FRVBF_INSN_FTIRA; goto extract_sfmt_ftira; }
|
1976 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1977 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
1978 |
|
|
}
|
1979 |
|
|
}
|
1980 |
|
|
case 30 : itype = FRVBF_INSN_SDIVI; goto extract_sfmt_sdivi;
|
1981 |
|
|
case 31 : itype = FRVBF_INSN_UDIVI; goto extract_sfmt_sdivi;
|
1982 |
|
|
case 32 : itype = FRVBF_INSN_ANDI; goto extract_sfmt_addi;
|
1983 |
|
|
case 33 : itype = FRVBF_INSN_ANDICC; goto extract_sfmt_andicc;
|
1984 |
|
|
case 34 : itype = FRVBF_INSN_ORI; goto extract_sfmt_addi;
|
1985 |
|
|
case 35 : itype = FRVBF_INSN_ORICC; goto extract_sfmt_andicc;
|
1986 |
|
|
case 36 : itype = FRVBF_INSN_XORI; goto extract_sfmt_addi;
|
1987 |
|
|
case 37 : itype = FRVBF_INSN_XORICC; goto extract_sfmt_andicc;
|
1988 |
|
|
case 40 : itype = FRVBF_INSN_SLLI; goto extract_sfmt_addi;
|
1989 |
|
|
case 41 : itype = FRVBF_INSN_SLLICC; goto extract_sfmt_addicc;
|
1990 |
|
|
case 42 : itype = FRVBF_INSN_SRLI; goto extract_sfmt_addi;
|
1991 |
|
|
case 43 : itype = FRVBF_INSN_SRLICC; goto extract_sfmt_addicc;
|
1992 |
|
|
case 44 : itype = FRVBF_INSN_SRAI; goto extract_sfmt_addi;
|
1993 |
|
|
case 45 : itype = FRVBF_INSN_SRAICC; goto extract_sfmt_addicc;
|
1994 |
|
|
case 46 : itype = FRVBF_INSN_NSDIVI; goto extract_sfmt_sdivi;
|
1995 |
|
|
case 47 : itype = FRVBF_INSN_NUDIVI; goto extract_sfmt_sdivi;
|
1996 |
|
|
case 48 : itype = FRVBF_INSN_LDSBI; goto extract_sfmt_ldsbi;
|
1997 |
|
|
case 49 : itype = FRVBF_INSN_LDSHI; goto extract_sfmt_ldsbi;
|
1998 |
|
|
case 50 : itype = FRVBF_INSN_LDI; goto extract_sfmt_ldsbi;
|
1999 |
|
|
case 51 : itype = FRVBF_INSN_LDDI; goto extract_sfmt_lddi;
|
2000 |
|
|
case 52 : itype = FRVBF_INSN_LDQI; goto extract_sfmt_ldqi;
|
2001 |
|
|
case 53 : itype = FRVBF_INSN_LDUBI; goto extract_sfmt_ldsbi;
|
2002 |
|
|
case 54 : itype = FRVBF_INSN_LDUHI; goto extract_sfmt_ldsbi;
|
2003 |
|
|
case 55 :
|
2004 |
|
|
if ((entire_insn & 0x7ffc0fff) == 0xdc0000)
|
2005 |
|
|
{ itype = FRVBF_INSN_REI; goto extract_sfmt_rei; }
|
2006 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2007 |
|
|
case 56 : itype = FRVBF_INSN_LDBFI; goto extract_sfmt_ldbfi;
|
2008 |
|
|
case 57 : itype = FRVBF_INSN_LDHFI; goto extract_sfmt_ldbfi;
|
2009 |
|
|
case 58 : itype = FRVBF_INSN_LDFI; goto extract_sfmt_ldbfi;
|
2010 |
|
|
case 59 : itype = FRVBF_INSN_LDDFI; goto extract_sfmt_lddfi;
|
2011 |
|
|
case 60 : itype = FRVBF_INSN_LDQFI; goto extract_sfmt_ldqfi;
|
2012 |
|
|
case 61 :
|
2013 |
|
|
if ((entire_insn & 0x1ff0000) == 0xf40000)
|
2014 |
|
|
{ itype = FRVBF_INSN_SETLO; goto extract_sfmt_setlo; }
|
2015 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2016 |
|
|
case 62 :
|
2017 |
|
|
if ((entire_insn & 0x1ff0000) == 0xf80000)
|
2018 |
|
|
{ itype = FRVBF_INSN_SETHI; goto extract_sfmt_sethi; }
|
2019 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2020 |
|
|
case 63 :
|
2021 |
|
|
if ((entire_insn & 0x1ff0000) == 0xfc0000)
|
2022 |
|
|
{ itype = FRVBF_INSN_SETLOS; goto extract_sfmt_setlos; }
|
2023 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2024 |
|
|
case 64 : itype = FRVBF_INSN_NLDSBI; goto extract_sfmt_nldsbi;
|
2025 |
|
|
case 65 : itype = FRVBF_INSN_NLDUBI; goto extract_sfmt_nldsbi;
|
2026 |
|
|
case 66 : itype = FRVBF_INSN_NLDSHI; goto extract_sfmt_nldsbi;
|
2027 |
|
|
case 67 : itype = FRVBF_INSN_NLDUHI; goto extract_sfmt_nldsbi;
|
2028 |
|
|
case 68 : itype = FRVBF_INSN_NLDI; goto extract_sfmt_nldsbi;
|
2029 |
|
|
case 69 : itype = FRVBF_INSN_NLDDI; goto extract_sfmt_nlddi;
|
2030 |
|
|
case 70 :
|
2031 |
|
|
{
|
2032 |
|
|
unsigned int val = (((insn >> 6) & (7 << 0)));
|
2033 |
|
|
switch (val)
|
2034 |
|
|
{
|
2035 |
|
|
case 0 :
|
2036 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1180000)
|
2037 |
|
|
{ itype = FRVBF_INSN_ADDSS; goto extract_sfmt_slass; }
|
2038 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2039 |
|
|
case 1 :
|
2040 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1180040)
|
2041 |
|
|
{ itype = FRVBF_INSN_SUBSS; goto extract_sfmt_slass; }
|
2042 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2043 |
|
|
case 2 :
|
2044 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1180080)
|
2045 |
|
|
{ itype = FRVBF_INSN_SLASS; goto extract_sfmt_slass; }
|
2046 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2047 |
|
|
case 4 :
|
2048 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1180100)
|
2049 |
|
|
{ itype = FRVBF_INSN_SCUTSS; goto extract_sfmt_scutss; }
|
2050 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2051 |
|
|
case 5 :
|
2052 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x1180140)
|
2053 |
|
|
{ itype = FRVBF_INSN_SMU; goto extract_sfmt_smu; }
|
2054 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2055 |
|
|
case 6 :
|
2056 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x1180180)
|
2057 |
|
|
{ itype = FRVBF_INSN_SMASS; goto extract_sfmt_smass; }
|
2058 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2059 |
|
|
case 7 :
|
2060 |
|
|
if ((entire_insn & 0x7ffc0fc0) == 0x11801c0)
|
2061 |
|
|
{ itype = FRVBF_INSN_SMSSS; goto extract_sfmt_smass; }
|
2062 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2063 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2064 |
|
|
}
|
2065 |
|
|
}
|
2066 |
|
|
case 71 : itype = FRVBF_INSN_SCANI; goto extract_sfmt_addi;
|
2067 |
|
|
case 72 : itype = FRVBF_INSN_NLDBFI; goto extract_sfmt_nldbfi;
|
2068 |
|
|
case 73 : itype = FRVBF_INSN_NLDHFI; goto extract_sfmt_nldbfi;
|
2069 |
|
|
case 74 : itype = FRVBF_INSN_NLDFI; goto extract_sfmt_nldbfi;
|
2070 |
|
|
case 75 : itype = FRVBF_INSN_NLDDFI; goto extract_sfmt_nlddfi;
|
2071 |
|
|
case 76 : itype = FRVBF_INSN_NLDQFI; goto extract_sfmt_nldqfi;
|
2072 |
|
|
case 77 : itype = FRVBF_INSN_SWAPI; goto extract_sfmt_swapi;
|
2073 |
|
|
case 78 : itype = FRVBF_INSN_STBFI; goto extract_sfmt_stbfi;
|
2074 |
|
|
case 79 : itype = FRVBF_INSN_STHFI; goto extract_sfmt_stbfi;
|
2075 |
|
|
case 80 : itype = FRVBF_INSN_STBI; goto extract_sfmt_stbi;
|
2076 |
|
|
case 81 : itype = FRVBF_INSN_STHI; goto extract_sfmt_stbi;
|
2077 |
|
|
case 82 : itype = FRVBF_INSN_STI; goto extract_sfmt_stbi;
|
2078 |
|
|
case 83 : itype = FRVBF_INSN_STDI; goto extract_sfmt_stdi;
|
2079 |
|
|
case 84 : itype = FRVBF_INSN_STQI; goto extract_sfmt_ldqi;
|
2080 |
|
|
case 85 : itype = FRVBF_INSN_STFI; goto extract_sfmt_stbfi;
|
2081 |
|
|
case 86 : itype = FRVBF_INSN_STDFI; goto extract_sfmt_stdfi;
|
2082 |
|
|
case 87 : itype = FRVBF_INSN_STQFI; goto extract_sfmt_ldqfi;
|
2083 |
|
|
case 88 :
|
2084 |
|
|
{
|
2085 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2086 |
|
|
switch (val)
|
2087 |
|
|
{
|
2088 |
|
|
case 0 : itype = FRVBF_INSN_CADD; goto extract_sfmt_cadd;
|
2089 |
|
|
case 1 : itype = FRVBF_INSN_CSUB; goto extract_sfmt_cadd;
|
2090 |
|
|
case 2 : itype = FRVBF_INSN_CSMUL; goto extract_sfmt_csmul;
|
2091 |
|
|
case 3 : itype = FRVBF_INSN_CSDIV; goto extract_sfmt_csdiv;
|
2092 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2093 |
|
|
}
|
2094 |
|
|
}
|
2095 |
|
|
case 89 :
|
2096 |
|
|
{
|
2097 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2098 |
|
|
switch (val)
|
2099 |
|
|
{
|
2100 |
|
|
case 0 : itype = FRVBF_INSN_CADDCC; goto extract_sfmt_caddcc;
|
2101 |
|
|
case 1 : itype = FRVBF_INSN_CSUBCC; goto extract_sfmt_caddcc;
|
2102 |
|
|
case 2 : itype = FRVBF_INSN_CSMULCC; goto extract_sfmt_csmulcc;
|
2103 |
|
|
case 3 : itype = FRVBF_INSN_CUDIV; goto extract_sfmt_csdiv;
|
2104 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2105 |
|
|
}
|
2106 |
|
|
}
|
2107 |
|
|
case 90 :
|
2108 |
|
|
{
|
2109 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2110 |
|
|
switch (val)
|
2111 |
|
|
{
|
2112 |
|
|
case 0 : itype = FRVBF_INSN_CAND; goto extract_sfmt_cadd;
|
2113 |
|
|
case 1 : itype = FRVBF_INSN_COR; goto extract_sfmt_cadd;
|
2114 |
|
|
case 2 : itype = FRVBF_INSN_CXOR; goto extract_sfmt_cadd;
|
2115 |
|
|
case 3 :
|
2116 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x16800c0)
|
2117 |
|
|
{ itype = FRVBF_INSN_CNOT; goto extract_sfmt_cnot; }
|
2118 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2119 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2120 |
|
|
}
|
2121 |
|
|
}
|
2122 |
|
|
case 91 :
|
2123 |
|
|
{
|
2124 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2125 |
|
|
switch (val)
|
2126 |
|
|
{
|
2127 |
|
|
case 0 : itype = FRVBF_INSN_CANDCC; goto extract_sfmt_caddcc;
|
2128 |
|
|
case 1 : itype = FRVBF_INSN_CORCC; goto extract_sfmt_caddcc;
|
2129 |
|
|
case 2 : itype = FRVBF_INSN_CXORCC; goto extract_sfmt_caddcc;
|
2130 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2131 |
|
|
}
|
2132 |
|
|
}
|
2133 |
|
|
case 92 :
|
2134 |
|
|
{
|
2135 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2136 |
|
|
switch (val)
|
2137 |
|
|
{
|
2138 |
|
|
case 0 : itype = FRVBF_INSN_CSLL; goto extract_sfmt_cadd;
|
2139 |
|
|
case 1 : itype = FRVBF_INSN_CSRL; goto extract_sfmt_cadd;
|
2140 |
|
|
case 2 : itype = FRVBF_INSN_CSRA; goto extract_sfmt_cadd;
|
2141 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2142 |
|
|
}
|
2143 |
|
|
}
|
2144 |
|
|
case 93 :
|
2145 |
|
|
{
|
2146 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2147 |
|
|
switch (val)
|
2148 |
|
|
{
|
2149 |
|
|
case 0 : itype = FRVBF_INSN_CSLLCC; goto extract_sfmt_caddcc;
|
2150 |
|
|
case 1 : itype = FRVBF_INSN_CSRLCC; goto extract_sfmt_caddcc;
|
2151 |
|
|
case 2 : itype = FRVBF_INSN_CSRACC; goto extract_sfmt_caddcc;
|
2152 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2153 |
|
|
}
|
2154 |
|
|
}
|
2155 |
|
|
case 94 :
|
2156 |
|
|
{
|
2157 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2158 |
|
|
switch (val)
|
2159 |
|
|
{
|
2160 |
|
|
case 0 : itype = FRVBF_INSN_CLDSB; goto extract_sfmt_cldsb;
|
2161 |
|
|
case 1 : itype = FRVBF_INSN_CLDUB; goto extract_sfmt_cldsb;
|
2162 |
|
|
case 2 : itype = FRVBF_INSN_CLDSH; goto extract_sfmt_cldsb;
|
2163 |
|
|
case 3 : itype = FRVBF_INSN_CLDUH; goto extract_sfmt_cldsb;
|
2164 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2165 |
|
|
}
|
2166 |
|
|
}
|
2167 |
|
|
case 95 :
|
2168 |
|
|
{
|
2169 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2170 |
|
|
switch (val)
|
2171 |
|
|
{
|
2172 |
|
|
case 0 : itype = FRVBF_INSN_CLD; goto extract_sfmt_cldsb;
|
2173 |
|
|
case 1 : itype = FRVBF_INSN_CLDD; goto extract_sfmt_cldd;
|
2174 |
|
|
case 2 : itype = FRVBF_INSN_CLDQ; goto extract_sfmt_cldq;
|
2175 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2176 |
|
|
}
|
2177 |
|
|
}
|
2178 |
|
|
case 96 :
|
2179 |
|
|
{
|
2180 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2181 |
|
|
switch (val)
|
2182 |
|
|
{
|
2183 |
|
|
case 0 : itype = FRVBF_INSN_CLDBF; goto extract_sfmt_cldbf;
|
2184 |
|
|
case 1 : itype = FRVBF_INSN_CLDHF; goto extract_sfmt_cldbf;
|
2185 |
|
|
case 2 : itype = FRVBF_INSN_CLDF; goto extract_sfmt_cldbf;
|
2186 |
|
|
case 3 : itype = FRVBF_INSN_CLDDF; goto extract_sfmt_clddf;
|
2187 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2188 |
|
|
}
|
2189 |
|
|
}
|
2190 |
|
|
case 97 :
|
2191 |
|
|
{
|
2192 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2193 |
|
|
switch (val)
|
2194 |
|
|
{
|
2195 |
|
|
case 0 : itype = FRVBF_INSN_CLDSBU; goto extract_sfmt_cldsbu;
|
2196 |
|
|
case 1 : itype = FRVBF_INSN_CLDUBU; goto extract_sfmt_cldsbu;
|
2197 |
|
|
case 2 : itype = FRVBF_INSN_CLDSHU; goto extract_sfmt_cldsbu;
|
2198 |
|
|
case 3 : itype = FRVBF_INSN_CLDUHU; goto extract_sfmt_cldsbu;
|
2199 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2200 |
|
|
}
|
2201 |
|
|
}
|
2202 |
|
|
case 98 :
|
2203 |
|
|
{
|
2204 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2205 |
|
|
switch (val)
|
2206 |
|
|
{
|
2207 |
|
|
case 0 : itype = FRVBF_INSN_CLDU; goto extract_sfmt_cldsbu;
|
2208 |
|
|
case 1 : itype = FRVBF_INSN_CLDDU; goto extract_sfmt_clddu;
|
2209 |
|
|
case 2 : itype = FRVBF_INSN_CLDQU; goto extract_sfmt_cldqu;
|
2210 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2211 |
|
|
}
|
2212 |
|
|
}
|
2213 |
|
|
case 99 :
|
2214 |
|
|
{
|
2215 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2216 |
|
|
switch (val)
|
2217 |
|
|
{
|
2218 |
|
|
case 0 : itype = FRVBF_INSN_CLDBFU; goto extract_sfmt_cldbfu;
|
2219 |
|
|
case 1 : itype = FRVBF_INSN_CLDHFU; goto extract_sfmt_cldbfu;
|
2220 |
|
|
case 2 : itype = FRVBF_INSN_CLDFU; goto extract_sfmt_cldbfu;
|
2221 |
|
|
case 3 : itype = FRVBF_INSN_CLDDFU; goto extract_sfmt_clddfu;
|
2222 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2223 |
|
|
}
|
2224 |
|
|
}
|
2225 |
|
|
case 100 :
|
2226 |
|
|
{
|
2227 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2228 |
|
|
switch (val)
|
2229 |
|
|
{
|
2230 |
|
|
case 0 : itype = FRVBF_INSN_CSTB; goto extract_sfmt_cstb;
|
2231 |
|
|
case 1 : itype = FRVBF_INSN_CSTH; goto extract_sfmt_cstb;
|
2232 |
|
|
case 2 : itype = FRVBF_INSN_CST; goto extract_sfmt_cstb;
|
2233 |
|
|
case 3 : itype = FRVBF_INSN_CSTD; goto extract_sfmt_cstd;
|
2234 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2235 |
|
|
}
|
2236 |
|
|
}
|
2237 |
|
|
case 101 :
|
2238 |
|
|
{
|
2239 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2240 |
|
|
switch (val)
|
2241 |
|
|
{
|
2242 |
|
|
case 0 : itype = FRVBF_INSN_CSTQ; goto extract_sfmt_cldq;
|
2243 |
|
|
case 2 : itype = FRVBF_INSN_CSWAP; goto extract_sfmt_cswap;
|
2244 |
|
|
case 3 : itype = FRVBF_INSN_CSCAN; goto extract_sfmt_cadd;
|
2245 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2246 |
|
|
}
|
2247 |
|
|
}
|
2248 |
|
|
case 102 :
|
2249 |
|
|
{
|
2250 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2251 |
|
|
switch (val)
|
2252 |
|
|
{
|
2253 |
|
|
case 0 : itype = FRVBF_INSN_CSTBF; goto extract_sfmt_cstbf;
|
2254 |
|
|
case 1 : itype = FRVBF_INSN_CSTHF; goto extract_sfmt_cstbf;
|
2255 |
|
|
case 2 : itype = FRVBF_INSN_CSTF; goto extract_sfmt_cstbf;
|
2256 |
|
|
case 3 : itype = FRVBF_INSN_CSTDF; goto extract_sfmt_cstdf;
|
2257 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2258 |
|
|
}
|
2259 |
|
|
}
|
2260 |
|
|
case 103 :
|
2261 |
|
|
{
|
2262 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2263 |
|
|
switch (val)
|
2264 |
|
|
{
|
2265 |
|
|
case 0 : itype = FRVBF_INSN_CSTBU; goto extract_sfmt_cstbu;
|
2266 |
|
|
case 1 : itype = FRVBF_INSN_CSTHU; goto extract_sfmt_cstbu;
|
2267 |
|
|
case 2 : itype = FRVBF_INSN_CSTU; goto extract_sfmt_cstbu;
|
2268 |
|
|
case 3 : itype = FRVBF_INSN_CSTDU; goto extract_sfmt_cstdu;
|
2269 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2270 |
|
|
}
|
2271 |
|
|
}
|
2272 |
|
|
case 104 :
|
2273 |
|
|
{
|
2274 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2275 |
|
|
switch (val)
|
2276 |
|
|
{
|
2277 |
|
|
case 0 : itype = FRVBF_INSN_CSTBFU; goto extract_sfmt_cstbfu;
|
2278 |
|
|
case 1 : itype = FRVBF_INSN_CSTHFU; goto extract_sfmt_cstbfu;
|
2279 |
|
|
case 2 : itype = FRVBF_INSN_CSTFU; goto extract_sfmt_cstbfu;
|
2280 |
|
|
case 3 : itype = FRVBF_INSN_CSTDFU; goto extract_sfmt_cstdfu;
|
2281 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2282 |
|
|
}
|
2283 |
|
|
}
|
2284 |
|
|
case 105 :
|
2285 |
|
|
{
|
2286 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2287 |
|
|
switch (val)
|
2288 |
|
|
{
|
2289 |
|
|
case 0 :
|
2290 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1a40000)
|
2291 |
|
|
{ itype = FRVBF_INSN_CMOVGF; goto extract_sfmt_cmovgf; }
|
2292 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2293 |
|
|
case 1 :
|
2294 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1a40040)
|
2295 |
|
|
{ itype = FRVBF_INSN_CMOVGFD; goto extract_sfmt_cmovgfd; }
|
2296 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2297 |
|
|
case 2 :
|
2298 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1a40080)
|
2299 |
|
|
{ itype = FRVBF_INSN_CMOVFG; goto extract_sfmt_cmovfg; }
|
2300 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2301 |
|
|
case 3 :
|
2302 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1a400c0)
|
2303 |
|
|
{ itype = FRVBF_INSN_CMOVFGD; goto extract_sfmt_cmovfgd; }
|
2304 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2305 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2306 |
|
|
}
|
2307 |
|
|
}
|
2308 |
|
|
case 106 :
|
2309 |
|
|
{
|
2310 |
|
|
unsigned int val = (((insn >> 26) & (15 << 1)) | ((insn >> 6) & (1 << 0)));
|
2311 |
|
|
switch (val)
|
2312 |
|
|
{
|
2313 |
|
|
case 0 :
|
2314 |
|
|
{
|
2315 |
|
|
unsigned int val = (((insn >> 24) & (1 << 1)) | ((insn >> 7) & (1 << 0)));
|
2316 |
|
|
switch (val)
|
2317 |
|
|
{
|
2318 |
|
|
case 0 : /* fall through */
|
2319 |
|
|
case 2 :
|
2320 |
|
|
if ((entire_insn & 0x79fff0ff) == 0x1a80000)
|
2321 |
|
|
{ itype = FRVBF_INSN_CCKNO; goto extract_sfmt_cckra; }
|
2322 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2323 |
|
|
case 1 :
|
2324 |
|
|
if ((entire_insn & 0x7ffc00c0) == 0x1a80080)
|
2325 |
|
|
{ itype = FRVBF_INSN_CJMPL; goto extract_sfmt_cjmpl; }
|
2326 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2327 |
|
|
case 3 :
|
2328 |
|
|
if ((entire_insn & 0x7ffc00c0) == 0x3a80080)
|
2329 |
|
|
{ itype = FRVBF_INSN_CCALLL; goto extract_sfmt_ccalll; }
|
2330 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2331 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2332 |
|
|
}
|
2333 |
|
|
}
|
2334 |
|
|
case 1 :
|
2335 |
|
|
if ((entire_insn & 0x79fff0ff) == 0x1a80040)
|
2336 |
|
|
{ itype = FRVBF_INSN_CFCKNO; goto extract_sfmt_cfckra; }
|
2337 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2338 |
|
|
case 2 :
|
2339 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x9a80000)
|
2340 |
|
|
{ itype = FRVBF_INSN_CCKC; goto extract_sfmt_cckeq; }
|
2341 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2342 |
|
|
case 3 :
|
2343 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x9a80040)
|
2344 |
|
|
{ itype = FRVBF_INSN_CFCKU; goto extract_sfmt_cfckne; }
|
2345 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2346 |
|
|
case 4 :
|
2347 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x11a80000)
|
2348 |
|
|
{ itype = FRVBF_INSN_CCKV; goto extract_sfmt_cckeq; }
|
2349 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2350 |
|
|
case 5 :
|
2351 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x11a80040)
|
2352 |
|
|
{ itype = FRVBF_INSN_CFCKGT; goto extract_sfmt_cfckne; }
|
2353 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2354 |
|
|
case 6 :
|
2355 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x19a80000)
|
2356 |
|
|
{ itype = FRVBF_INSN_CCKLT; goto extract_sfmt_cckeq; }
|
2357 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2358 |
|
|
case 7 :
|
2359 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x19a80040)
|
2360 |
|
|
{ itype = FRVBF_INSN_CFCKUG; goto extract_sfmt_cfckne; }
|
2361 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2362 |
|
|
case 8 :
|
2363 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x21a80000)
|
2364 |
|
|
{ itype = FRVBF_INSN_CCKEQ; goto extract_sfmt_cckeq; }
|
2365 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2366 |
|
|
case 9 :
|
2367 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x21a80040)
|
2368 |
|
|
{ itype = FRVBF_INSN_CFCKLT; goto extract_sfmt_cfckne; }
|
2369 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2370 |
|
|
case 10 :
|
2371 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x29a80000)
|
2372 |
|
|
{ itype = FRVBF_INSN_CCKLS; goto extract_sfmt_cckeq; }
|
2373 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2374 |
|
|
case 11 :
|
2375 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x29a80040)
|
2376 |
|
|
{ itype = FRVBF_INSN_CFCKUL; goto extract_sfmt_cfckne; }
|
2377 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2378 |
|
|
case 12 :
|
2379 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x31a80000)
|
2380 |
|
|
{ itype = FRVBF_INSN_CCKN; goto extract_sfmt_cckeq; }
|
2381 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2382 |
|
|
case 13 :
|
2383 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x31a80040)
|
2384 |
|
|
{ itype = FRVBF_INSN_CFCKLG; goto extract_sfmt_cfckne; }
|
2385 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2386 |
|
|
case 14 :
|
2387 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x39a80000)
|
2388 |
|
|
{ itype = FRVBF_INSN_CCKLE; goto extract_sfmt_cckeq; }
|
2389 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2390 |
|
|
case 15 :
|
2391 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x39a80040)
|
2392 |
|
|
{ itype = FRVBF_INSN_CFCKNE; goto extract_sfmt_cfckne; }
|
2393 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2394 |
|
|
case 16 :
|
2395 |
|
|
if ((entire_insn & 0x79fff0ff) == 0x41a80000)
|
2396 |
|
|
{ itype = FRVBF_INSN_CCKRA; goto extract_sfmt_cckra; }
|
2397 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2398 |
|
|
case 17 :
|
2399 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x41a80040)
|
2400 |
|
|
{ itype = FRVBF_INSN_CFCKEQ; goto extract_sfmt_cfckne; }
|
2401 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2402 |
|
|
case 18 :
|
2403 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x49a80000)
|
2404 |
|
|
{ itype = FRVBF_INSN_CCKNC; goto extract_sfmt_cckeq; }
|
2405 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2406 |
|
|
case 19 :
|
2407 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x49a80040)
|
2408 |
|
|
{ itype = FRVBF_INSN_CFCKUE; goto extract_sfmt_cfckne; }
|
2409 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2410 |
|
|
case 20 :
|
2411 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x51a80000)
|
2412 |
|
|
{ itype = FRVBF_INSN_CCKNV; goto extract_sfmt_cckeq; }
|
2413 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2414 |
|
|
case 21 :
|
2415 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x51a80040)
|
2416 |
|
|
{ itype = FRVBF_INSN_CFCKGE; goto extract_sfmt_cfckne; }
|
2417 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2418 |
|
|
case 22 :
|
2419 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x59a80000)
|
2420 |
|
|
{ itype = FRVBF_INSN_CCKGE; goto extract_sfmt_cckeq; }
|
2421 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2422 |
|
|
case 23 :
|
2423 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x59a80040)
|
2424 |
|
|
{ itype = FRVBF_INSN_CFCKUGE; goto extract_sfmt_cfckne; }
|
2425 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2426 |
|
|
case 24 :
|
2427 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x61a80000)
|
2428 |
|
|
{ itype = FRVBF_INSN_CCKNE; goto extract_sfmt_cckeq; }
|
2429 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2430 |
|
|
case 25 :
|
2431 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x61a80040)
|
2432 |
|
|
{ itype = FRVBF_INSN_CFCKLE; goto extract_sfmt_cfckne; }
|
2433 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2434 |
|
|
case 26 :
|
2435 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x69a80000)
|
2436 |
|
|
{ itype = FRVBF_INSN_CCKHI; goto extract_sfmt_cckeq; }
|
2437 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2438 |
|
|
case 27 :
|
2439 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x69a80040)
|
2440 |
|
|
{ itype = FRVBF_INSN_CFCKULE; goto extract_sfmt_cfckne; }
|
2441 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2442 |
|
|
case 28 :
|
2443 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x71a80000)
|
2444 |
|
|
{ itype = FRVBF_INSN_CCKP; goto extract_sfmt_cckeq; }
|
2445 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2446 |
|
|
case 29 :
|
2447 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x71a80040)
|
2448 |
|
|
{ itype = FRVBF_INSN_CFCKO; goto extract_sfmt_cfckne; }
|
2449 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2450 |
|
|
case 30 :
|
2451 |
|
|
if ((entire_insn & 0x79fff0fc) == 0x79a80000)
|
2452 |
|
|
{ itype = FRVBF_INSN_CCKGT; goto extract_sfmt_cckeq; }
|
2453 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2454 |
|
|
case 31 :
|
2455 |
|
|
if ((entire_insn & 0x79fff0ff) == 0x79a80040)
|
2456 |
|
|
{ itype = FRVBF_INSN_CFCKRA; goto extract_sfmt_cfckra; }
|
2457 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2458 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2459 |
|
|
}
|
2460 |
|
|
}
|
2461 |
|
|
case 107 :
|
2462 |
|
|
{
|
2463 |
|
|
unsigned int val = (((insn >> 6) & (1 << 0)));
|
2464 |
|
|
switch (val)
|
2465 |
|
|
{
|
2466 |
|
|
case 0 :
|
2467 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1ac0000)
|
2468 |
|
|
{ itype = FRVBF_INSN_CFITOS; goto extract_sfmt_cfitos; }
|
2469 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2470 |
|
|
case 1 :
|
2471 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1ac0040)
|
2472 |
|
|
{ itype = FRVBF_INSN_CFSTOI; goto extract_sfmt_cfstoi; }
|
2473 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2474 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2475 |
|
|
}
|
2476 |
|
|
}
|
2477 |
|
|
case 108 :
|
2478 |
|
|
{
|
2479 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2480 |
|
|
switch (val)
|
2481 |
|
|
{
|
2482 |
|
|
case 0 :
|
2483 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1b00000)
|
2484 |
|
|
{ itype = FRVBF_INSN_CFMOVS; goto extract_sfmt_cfmovs; }
|
2485 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2486 |
|
|
case 1 :
|
2487 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1b00040)
|
2488 |
|
|
{ itype = FRVBF_INSN_CFNEGS; goto extract_sfmt_cfmovs; }
|
2489 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2490 |
|
|
case 2 :
|
2491 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1b00080)
|
2492 |
|
|
{ itype = FRVBF_INSN_CFABSS; goto extract_sfmt_cfmovs; }
|
2493 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2494 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2495 |
|
|
}
|
2496 |
|
|
}
|
2497 |
|
|
case 109 :
|
2498 |
|
|
{
|
2499 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2500 |
|
|
switch (val)
|
2501 |
|
|
{
|
2502 |
|
|
case 0 : itype = FRVBF_INSN_CFADDS; goto extract_sfmt_cfadds;
|
2503 |
|
|
case 1 : itype = FRVBF_INSN_CFSUBS; goto extract_sfmt_cfadds;
|
2504 |
|
|
case 2 :
|
2505 |
|
|
if ((entire_insn & 0x79fc00c0) == 0x1b40080)
|
2506 |
|
|
{ itype = FRVBF_INSN_CFCMPS; goto extract_sfmt_cfcmps; }
|
2507 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2508 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2509 |
|
|
}
|
2510 |
|
|
}
|
2511 |
|
|
case 110 :
|
2512 |
|
|
{
|
2513 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2514 |
|
|
switch (val)
|
2515 |
|
|
{
|
2516 |
|
|
case 0 : itype = FRVBF_INSN_CFMULS; goto extract_sfmt_cfadds;
|
2517 |
|
|
case 1 : itype = FRVBF_INSN_CFDIVS; goto extract_sfmt_cfadds;
|
2518 |
|
|
case 2 :
|
2519 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1b80080)
|
2520 |
|
|
{ itype = FRVBF_INSN_CFSQRTS; goto extract_sfmt_cfmovs; }
|
2521 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2522 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2523 |
|
|
}
|
2524 |
|
|
}
|
2525 |
|
|
case 111 :
|
2526 |
|
|
{
|
2527 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2528 |
|
|
switch (val)
|
2529 |
|
|
{
|
2530 |
|
|
case 0 : itype = FRVBF_INSN_CFMADDS; goto extract_sfmt_cfmadds;
|
2531 |
|
|
case 1 : itype = FRVBF_INSN_CFMSUBS; goto extract_sfmt_cfmadds;
|
2532 |
|
|
case 2 : itype = FRVBF_INSN_CFMAS; goto extract_sfmt_cfmas;
|
2533 |
|
|
case 3 : itype = FRVBF_INSN_CFMSS; goto extract_sfmt_cfmas;
|
2534 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2535 |
|
|
}
|
2536 |
|
|
}
|
2537 |
|
|
case 112 :
|
2538 |
|
|
{
|
2539 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2540 |
|
|
switch (val)
|
2541 |
|
|
{
|
2542 |
|
|
case 0 : itype = FRVBF_INSN_CMAND; goto extract_sfmt_cmand;
|
2543 |
|
|
case 1 : itype = FRVBF_INSN_CMOR; goto extract_sfmt_cmand;
|
2544 |
|
|
case 2 : itype = FRVBF_INSN_CMXOR; goto extract_sfmt_cmand;
|
2545 |
|
|
case 3 :
|
2546 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1c000c0)
|
2547 |
|
|
{ itype = FRVBF_INSN_CMNOT; goto extract_sfmt_cmnot; }
|
2548 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2549 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2550 |
|
|
}
|
2551 |
|
|
}
|
2552 |
|
|
case 113 :
|
2553 |
|
|
{
|
2554 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2555 |
|
|
switch (val)
|
2556 |
|
|
{
|
2557 |
|
|
case 0 : itype = FRVBF_INSN_CMADDHSS; goto extract_sfmt_cmaddhss;
|
2558 |
|
|
case 1 : itype = FRVBF_INSN_CMADDHUS; goto extract_sfmt_cmaddhss;
|
2559 |
|
|
case 2 : itype = FRVBF_INSN_CMSUBHSS; goto extract_sfmt_cmaddhss;
|
2560 |
|
|
case 3 : itype = FRVBF_INSN_CMSUBHUS; goto extract_sfmt_cmaddhss;
|
2561 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2562 |
|
|
}
|
2563 |
|
|
}
|
2564 |
|
|
case 114 :
|
2565 |
|
|
{
|
2566 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2567 |
|
|
switch (val)
|
2568 |
|
|
{
|
2569 |
|
|
case 0 : itype = FRVBF_INSN_CMMULHS; goto extract_sfmt_cmmulhs;
|
2570 |
|
|
case 1 : itype = FRVBF_INSN_CMMULHU; goto extract_sfmt_cmmulhs;
|
2571 |
|
|
case 2 : itype = FRVBF_INSN_CMMACHS; goto extract_sfmt_cmmachs;
|
2572 |
|
|
case 3 : itype = FRVBF_INSN_CMMACHU; goto extract_sfmt_cmmachu;
|
2573 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2574 |
|
|
}
|
2575 |
|
|
}
|
2576 |
|
|
case 115 :
|
2577 |
|
|
{
|
2578 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2579 |
|
|
switch (val)
|
2580 |
|
|
{
|
2581 |
|
|
case 0 : itype = FRVBF_INSN_CMQADDHSS; goto extract_sfmt_cmqaddhss;
|
2582 |
|
|
case 1 : itype = FRVBF_INSN_CMQADDHUS; goto extract_sfmt_cmqaddhss;
|
2583 |
|
|
case 2 : itype = FRVBF_INSN_CMQSUBHSS; goto extract_sfmt_cmqaddhss;
|
2584 |
|
|
case 3 : itype = FRVBF_INSN_CMQSUBHUS; goto extract_sfmt_cmqaddhss;
|
2585 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2586 |
|
|
}
|
2587 |
|
|
}
|
2588 |
|
|
case 116 :
|
2589 |
|
|
{
|
2590 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2591 |
|
|
switch (val)
|
2592 |
|
|
{
|
2593 |
|
|
case 0 : itype = FRVBF_INSN_CMQMULHS; goto extract_sfmt_cmqmulhs;
|
2594 |
|
|
case 1 : itype = FRVBF_INSN_CMQMULHU; goto extract_sfmt_cmqmulhs;
|
2595 |
|
|
case 2 : itype = FRVBF_INSN_CMQMACHS; goto extract_sfmt_cmqmachs;
|
2596 |
|
|
case 3 : itype = FRVBF_INSN_CMQMACHU; goto extract_sfmt_cmqmachu;
|
2597 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2598 |
|
|
}
|
2599 |
|
|
}
|
2600 |
|
|
case 117 :
|
2601 |
|
|
{
|
2602 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2603 |
|
|
switch (val)
|
2604 |
|
|
{
|
2605 |
|
|
case 0 : itype = FRVBF_INSN_CMCPXRS; goto extract_sfmt_cmcpxrs;
|
2606 |
|
|
case 1 : itype = FRVBF_INSN_CMCPXRU; goto extract_sfmt_cmcpxrs;
|
2607 |
|
|
case 2 : itype = FRVBF_INSN_CMCPXIS; goto extract_sfmt_cmcpxrs;
|
2608 |
|
|
case 3 : itype = FRVBF_INSN_CMCPXIU; goto extract_sfmt_cmcpxrs;
|
2609 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2610 |
|
|
}
|
2611 |
|
|
}
|
2612 |
|
|
case 118 :
|
2613 |
|
|
{
|
2614 |
|
|
unsigned int val = (((insn >> 6) & (1 << 0)));
|
2615 |
|
|
switch (val)
|
2616 |
|
|
{
|
2617 |
|
|
case 0 :
|
2618 |
|
|
if ((entire_insn & 0x1fc00c0) == 0x1d80080)
|
2619 |
|
|
{ itype = FRVBF_INSN_CMEXPDHW; goto extract_sfmt_cmexpdhw; }
|
2620 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2621 |
|
|
case 1 :
|
2622 |
|
|
if ((entire_insn & 0x1fc00c0) == 0x1d800c0)
|
2623 |
|
|
{ itype = FRVBF_INSN_CMEXPDHD; goto extract_sfmt_cmexpdhd; }
|
2624 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2625 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2626 |
|
|
}
|
2627 |
|
|
}
|
2628 |
|
|
case 119 :
|
2629 |
|
|
{
|
2630 |
|
|
unsigned int val = (((insn >> 6) & (3 << 0)));
|
2631 |
|
|
switch (val)
|
2632 |
|
|
{
|
2633 |
|
|
case 0 :
|
2634 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1dc0000)
|
2635 |
|
|
{ itype = FRVBF_INSN_CMBTOH; goto extract_sfmt_cmbtoh; }
|
2636 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2637 |
|
|
case 1 :
|
2638 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1dc0040)
|
2639 |
|
|
{ itype = FRVBF_INSN_CMHTOB; goto extract_sfmt_cmhtob; }
|
2640 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2641 |
|
|
case 2 :
|
2642 |
|
|
if ((entire_insn & 0x1fff0c0) == 0x1dc0080)
|
2643 |
|
|
{ itype = FRVBF_INSN_CMBTOHE; goto extract_sfmt_cmbtohe; }
|
2644 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2645 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2646 |
|
|
}
|
2647 |
|
|
}
|
2648 |
|
|
case 120 :
|
2649 |
|
|
{
|
2650 |
|
|
unsigned int val = (((insn >> 6) & (63 << 0)));
|
2651 |
|
|
switch (val)
|
2652 |
|
|
{
|
2653 |
|
|
case 0 : itype = FRVBF_INSN_MQXMACHS; goto extract_sfmt_mqmachs;
|
2654 |
|
|
case 1 : itype = FRVBF_INSN_MQXMACXHS; goto extract_sfmt_mqmachs;
|
2655 |
|
|
case 2 : itype = FRVBF_INSN_MQMACXHS; goto extract_sfmt_mqmachs;
|
2656 |
|
|
case 4 :
|
2657 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1e00100)
|
2658 |
|
|
{ itype = FRVBF_INSN_MADDACCS; goto extract_sfmt_maddaccs; }
|
2659 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2660 |
|
|
case 5 :
|
2661 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1e00140)
|
2662 |
|
|
{ itype = FRVBF_INSN_MSUBACCS; goto extract_sfmt_maddaccs; }
|
2663 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2664 |
|
|
case 6 :
|
2665 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1e00180)
|
2666 |
|
|
{ itype = FRVBF_INSN_MDADDACCS; goto extract_sfmt_mdaddaccs; }
|
2667 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2668 |
|
|
case 7 :
|
2669 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1e001c0)
|
2670 |
|
|
{ itype = FRVBF_INSN_MDSUBACCS; goto extract_sfmt_mdaddaccs; }
|
2671 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2672 |
|
|
case 8 :
|
2673 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1e00200)
|
2674 |
|
|
{ itype = FRVBF_INSN_MASACCS; goto extract_sfmt_masaccs; }
|
2675 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2676 |
|
|
case 9 :
|
2677 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1e00240)
|
2678 |
|
|
{ itype = FRVBF_INSN_MDASACCS; goto extract_sfmt_mdasaccs; }
|
2679 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2680 |
|
|
case 10 :
|
2681 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e00280)
|
2682 |
|
|
{ itype = FRVBF_INSN_MABSHS; goto extract_sfmt_mabshs; }
|
2683 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2684 |
|
|
case 11 : itype = FRVBF_INSN_MDROTLI; goto extract_sfmt_mdrotli;
|
2685 |
|
|
case 12 : itype = FRVBF_INSN_MCPLHI; goto extract_sfmt_mcplhi;
|
2686 |
|
|
case 13 : itype = FRVBF_INSN_MCPLI; goto extract_sfmt_mcpli;
|
2687 |
|
|
case 14 : itype = FRVBF_INSN_MDCUTSSI; goto extract_sfmt_mdcutssi;
|
2688 |
|
|
case 15 : itype = FRVBF_INSN_MQSATHS; goto extract_sfmt_mqsaths;
|
2689 |
|
|
case 16 : itype = FRVBF_INSN_MQLCLRHS; goto extract_sfmt_mqsaths;
|
2690 |
|
|
case 17 : itype = FRVBF_INSN_MQSLLHI; goto extract_sfmt_mqsllhi;
|
2691 |
|
|
case 19 : itype = FRVBF_INSN_MQSRAHI; goto extract_sfmt_mqsllhi;
|
2692 |
|
|
case 20 : itype = FRVBF_INSN_MQLMTHS; goto extract_sfmt_mqsaths;
|
2693 |
|
|
case 32 : itype = FRVBF_INSN_MHSETLOS; goto extract_sfmt_mhsetlos;
|
2694 |
|
|
case 33 :
|
2695 |
|
|
if ((entire_insn & 0x1ffffe0) == 0x1e00840)
|
2696 |
|
|
{ itype = FRVBF_INSN_MHSETLOH; goto extract_sfmt_mhsetloh; }
|
2697 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2698 |
|
|
case 34 : itype = FRVBF_INSN_MHSETHIS; goto extract_sfmt_mhsethis;
|
2699 |
|
|
case 35 :
|
2700 |
|
|
if ((entire_insn & 0x1ffffe0) == 0x1e008c0)
|
2701 |
|
|
{ itype = FRVBF_INSN_MHSETHIH; goto extract_sfmt_mhsethih; }
|
2702 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2703 |
|
|
case 36 : itype = FRVBF_INSN_MHDSETS; goto extract_sfmt_mhdsets;
|
2704 |
|
|
case 37 :
|
2705 |
|
|
if ((entire_insn & 0x1ffffe0) == 0x1e00940)
|
2706 |
|
|
{ itype = FRVBF_INSN_MHDSETH; goto extract_sfmt_mhdseth; }
|
2707 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2708 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2709 |
|
|
}
|
2710 |
|
|
}
|
2711 |
|
|
case 121 :
|
2712 |
|
|
{
|
2713 |
|
|
unsigned int val = (((insn >> 7) & (1 << 3)) | ((insn >> 6) & (7 << 0)));
|
2714 |
|
|
switch (val)
|
2715 |
|
|
{
|
2716 |
|
|
case 0 :
|
2717 |
|
|
{
|
2718 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2719 |
|
|
switch (val)
|
2720 |
|
|
{
|
2721 |
|
|
case 0 :
|
2722 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40000)
|
2723 |
|
|
{ itype = FRVBF_INSN_FITOS; goto extract_sfmt_fitos; }
|
2724 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2725 |
|
|
case 1 : itype = FRVBF_INSN_FMULS; goto extract_sfmt_fadds;
|
2726 |
|
|
case 2 :
|
2727 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40800)
|
2728 |
|
|
{ itype = FRVBF_INSN_NFITOS; goto extract_sfmt_nfitos; }
|
2729 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2730 |
|
|
case 3 : itype = FRVBF_INSN_NFMULS; goto extract_sfmt_nfadds;
|
2731 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2732 |
|
|
}
|
2733 |
|
|
}
|
2734 |
|
|
case 1 :
|
2735 |
|
|
{
|
2736 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2737 |
|
|
switch (val)
|
2738 |
|
|
{
|
2739 |
|
|
case 0 :
|
2740 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40040)
|
2741 |
|
|
{ itype = FRVBF_INSN_FSTOI; goto extract_sfmt_fstoi; }
|
2742 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2743 |
|
|
case 1 : itype = FRVBF_INSN_FDIVS; goto extract_sfmt_fadds;
|
2744 |
|
|
case 2 :
|
2745 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40840)
|
2746 |
|
|
{ itype = FRVBF_INSN_NFSTOI; goto extract_sfmt_nfstoi; }
|
2747 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2748 |
|
|
case 3 : itype = FRVBF_INSN_NFDIVS; goto extract_sfmt_nfadds;
|
2749 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2750 |
|
|
}
|
2751 |
|
|
}
|
2752 |
|
|
case 2 :
|
2753 |
|
|
{
|
2754 |
|
|
unsigned int val = (((insn >> 9) & (1 << 0)));
|
2755 |
|
|
switch (val)
|
2756 |
|
|
{
|
2757 |
|
|
case 0 :
|
2758 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40080)
|
2759 |
|
|
{ itype = FRVBF_INSN_FMOVS; goto extract_sfmt_fmovs; }
|
2760 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2761 |
|
|
case 1 :
|
2762 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x1e40280)
|
2763 |
|
|
{ itype = FRVBF_INSN_FCMPS; goto extract_sfmt_fcmps; }
|
2764 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2765 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2766 |
|
|
}
|
2767 |
|
|
}
|
2768 |
|
|
case 3 :
|
2769 |
|
|
{
|
2770 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2771 |
|
|
switch (val)
|
2772 |
|
|
{
|
2773 |
|
|
case 0 :
|
2774 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e400c0)
|
2775 |
|
|
{ itype = FRVBF_INSN_FNEGS; goto extract_sfmt_fmovs; }
|
2776 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2777 |
|
|
case 1 : itype = FRVBF_INSN_FMADDS; goto extract_sfmt_fmadds;
|
2778 |
|
|
case 3 : itype = FRVBF_INSN_NFMADDS; goto extract_sfmt_nfmadds;
|
2779 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2780 |
|
|
}
|
2781 |
|
|
}
|
2782 |
|
|
case 4 :
|
2783 |
|
|
{
|
2784 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2785 |
|
|
switch (val)
|
2786 |
|
|
{
|
2787 |
|
|
case 0 :
|
2788 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40100)
|
2789 |
|
|
{ itype = FRVBF_INSN_FABSS; goto extract_sfmt_fmovs; }
|
2790 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2791 |
|
|
case 1 : itype = FRVBF_INSN_FMSUBS; goto extract_sfmt_fmadds;
|
2792 |
|
|
case 3 : itype = FRVBF_INSN_NFMSUBS; goto extract_sfmt_nfmadds;
|
2793 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2794 |
|
|
}
|
2795 |
|
|
}
|
2796 |
|
|
case 5 :
|
2797 |
|
|
{
|
2798 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2799 |
|
|
switch (val)
|
2800 |
|
|
{
|
2801 |
|
|
case 0 :
|
2802 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40140)
|
2803 |
|
|
{ itype = FRVBF_INSN_FSQRTS; goto extract_sfmt_fmovs; }
|
2804 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2805 |
|
|
case 1 :
|
2806 |
|
|
if ((entire_insn & 0x7fffffff) == 0x1e40340)
|
2807 |
|
|
{ itype = FRVBF_INSN_FNOP; goto extract_sfmt_rei; }
|
2808 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2809 |
|
|
case 2 :
|
2810 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40940)
|
2811 |
|
|
{ itype = FRVBF_INSN_NFSQRTS; goto extract_sfmt_nfsqrts; }
|
2812 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2813 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2814 |
|
|
}
|
2815 |
|
|
}
|
2816 |
|
|
case 6 :
|
2817 |
|
|
{
|
2818 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2819 |
|
|
switch (val)
|
2820 |
|
|
{
|
2821 |
|
|
case 0 : itype = FRVBF_INSN_FADDS; goto extract_sfmt_fadds;
|
2822 |
|
|
case 1 : itype = FRVBF_INSN_FMAS; goto extract_sfmt_fmas;
|
2823 |
|
|
case 2 : itype = FRVBF_INSN_NFADDS; goto extract_sfmt_nfadds;
|
2824 |
|
|
case 3 : itype = FRVBF_INSN_NFMAS; goto extract_sfmt_fmas;
|
2825 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2826 |
|
|
}
|
2827 |
|
|
}
|
2828 |
|
|
case 7 :
|
2829 |
|
|
{
|
2830 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2831 |
|
|
switch (val)
|
2832 |
|
|
{
|
2833 |
|
|
case 0 : itype = FRVBF_INSN_FSUBS; goto extract_sfmt_fadds;
|
2834 |
|
|
case 1 : itype = FRVBF_INSN_FMSS; goto extract_sfmt_fmas;
|
2835 |
|
|
case 2 : itype = FRVBF_INSN_NFSUBS; goto extract_sfmt_nfadds;
|
2836 |
|
|
case 3 : itype = FRVBF_INSN_NFMSS; goto extract_sfmt_fmas;
|
2837 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2838 |
|
|
}
|
2839 |
|
|
}
|
2840 |
|
|
case 8 :
|
2841 |
|
|
{
|
2842 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2843 |
|
|
switch (val)
|
2844 |
|
|
{
|
2845 |
|
|
case 0 :
|
2846 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40400)
|
2847 |
|
|
{ itype = FRVBF_INSN_FDITOS; goto extract_sfmt_fditos; }
|
2848 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2849 |
|
|
case 1 : itype = FRVBF_INSN_FDMULS; goto extract_sfmt_fmas;
|
2850 |
|
|
case 2 :
|
2851 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40c00)
|
2852 |
|
|
{ itype = FRVBF_INSN_NFDITOS; goto extract_sfmt_fditos; }
|
2853 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2854 |
|
|
case 3 : itype = FRVBF_INSN_NFDMULS; goto extract_sfmt_fmas;
|
2855 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2856 |
|
|
}
|
2857 |
|
|
}
|
2858 |
|
|
case 9 :
|
2859 |
|
|
{
|
2860 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2861 |
|
|
switch (val)
|
2862 |
|
|
{
|
2863 |
|
|
case 0 :
|
2864 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40440)
|
2865 |
|
|
{ itype = FRVBF_INSN_FDSTOI; goto extract_sfmt_fdstoi; }
|
2866 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2867 |
|
|
case 1 : itype = FRVBF_INSN_FDDIVS; goto extract_sfmt_fmas;
|
2868 |
|
|
case 2 :
|
2869 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40c40)
|
2870 |
|
|
{ itype = FRVBF_INSN_NFDSTOI; goto extract_sfmt_fdstoi; }
|
2871 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2872 |
|
|
case 3 : itype = FRVBF_INSN_NFDDIVS; goto extract_sfmt_fmas;
|
2873 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2874 |
|
|
}
|
2875 |
|
|
}
|
2876 |
|
|
case 10 :
|
2877 |
|
|
{
|
2878 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2879 |
|
|
switch (val)
|
2880 |
|
|
{
|
2881 |
|
|
case 0 :
|
2882 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40480)
|
2883 |
|
|
{ itype = FRVBF_INSN_FDMOVS; goto extract_sfmt_fdmovs; }
|
2884 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2885 |
|
|
case 1 :
|
2886 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x1e40680)
|
2887 |
|
|
{ itype = FRVBF_INSN_FDCMPS; goto extract_sfmt_fdcmps; }
|
2888 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2889 |
|
|
case 3 :
|
2890 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x1e40e80)
|
2891 |
|
|
{ itype = FRVBF_INSN_NFDCMPS; goto extract_sfmt_nfdcmps; }
|
2892 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2893 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2894 |
|
|
}
|
2895 |
|
|
}
|
2896 |
|
|
case 11 :
|
2897 |
|
|
{
|
2898 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2899 |
|
|
switch (val)
|
2900 |
|
|
{
|
2901 |
|
|
case 0 :
|
2902 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e404c0)
|
2903 |
|
|
{ itype = FRVBF_INSN_FDNEGS; goto extract_sfmt_fdmovs; }
|
2904 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2905 |
|
|
case 1 : itype = FRVBF_INSN_FDMADDS; goto extract_sfmt_fdmadds;
|
2906 |
|
|
case 3 : itype = FRVBF_INSN_NFDMADDS; goto extract_sfmt_fdmadds;
|
2907 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2908 |
|
|
}
|
2909 |
|
|
}
|
2910 |
|
|
case 12 :
|
2911 |
|
|
{
|
2912 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2913 |
|
|
switch (val)
|
2914 |
|
|
{
|
2915 |
|
|
case 0 :
|
2916 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40500)
|
2917 |
|
|
{ itype = FRVBF_INSN_FDABSS; goto extract_sfmt_fdmovs; }
|
2918 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2919 |
|
|
case 1 : itype = FRVBF_INSN_FDMAS; goto extract_sfmt_fdmas;
|
2920 |
|
|
case 3 : itype = FRVBF_INSN_NFDMAS; goto extract_sfmt_fdmas;
|
2921 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2922 |
|
|
}
|
2923 |
|
|
}
|
2924 |
|
|
case 13 :
|
2925 |
|
|
{
|
2926 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2927 |
|
|
switch (val)
|
2928 |
|
|
{
|
2929 |
|
|
case 0 :
|
2930 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40540)
|
2931 |
|
|
{ itype = FRVBF_INSN_FDSQRTS; goto extract_sfmt_fdmovs; }
|
2932 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2933 |
|
|
case 1 : itype = FRVBF_INSN_FDMSS; goto extract_sfmt_fdmas;
|
2934 |
|
|
case 2 :
|
2935 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e40d40)
|
2936 |
|
|
{ itype = FRVBF_INSN_NFDSQRTS; goto extract_sfmt_fdmovs; }
|
2937 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2938 |
|
|
case 3 : itype = FRVBF_INSN_NFDMSS; goto extract_sfmt_fdmas;
|
2939 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2940 |
|
|
}
|
2941 |
|
|
}
|
2942 |
|
|
case 14 :
|
2943 |
|
|
{
|
2944 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2945 |
|
|
switch (val)
|
2946 |
|
|
{
|
2947 |
|
|
case 0 : itype = FRVBF_INSN_FDADDS; goto extract_sfmt_fmas;
|
2948 |
|
|
case 1 : itype = FRVBF_INSN_FDSADS; goto extract_sfmt_fmas;
|
2949 |
|
|
case 2 : itype = FRVBF_INSN_NFDADDS; goto extract_sfmt_fmas;
|
2950 |
|
|
case 3 : itype = FRVBF_INSN_NFDSADS; goto extract_sfmt_fmas;
|
2951 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2952 |
|
|
}
|
2953 |
|
|
}
|
2954 |
|
|
case 15 :
|
2955 |
|
|
{
|
2956 |
|
|
unsigned int val = (((insn >> 10) & (1 << 1)) | ((insn >> 9) & (1 << 0)));
|
2957 |
|
|
switch (val)
|
2958 |
|
|
{
|
2959 |
|
|
case 0 : itype = FRVBF_INSN_FDSUBS; goto extract_sfmt_fmas;
|
2960 |
|
|
case 1 : itype = FRVBF_INSN_FDMULCS; goto extract_sfmt_fmas;
|
2961 |
|
|
case 2 : itype = FRVBF_INSN_NFDSUBS; goto extract_sfmt_fmas;
|
2962 |
|
|
case 3 : itype = FRVBF_INSN_NFDMULCS; goto extract_sfmt_fmas;
|
2963 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2964 |
|
|
}
|
2965 |
|
|
}
|
2966 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2967 |
|
|
}
|
2968 |
|
|
}
|
2969 |
|
|
case 122 :
|
2970 |
|
|
{
|
2971 |
|
|
unsigned int val = (((insn >> 6) & (15 << 0)));
|
2972 |
|
|
switch (val)
|
2973 |
|
|
{
|
2974 |
|
|
case 0 :
|
2975 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e80000)
|
2976 |
|
|
{ itype = FRVBF_INSN_FITOD; goto extract_sfmt_fitod; }
|
2977 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2978 |
|
|
case 1 :
|
2979 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e80040)
|
2980 |
|
|
{ itype = FRVBF_INSN_FDTOI; goto extract_sfmt_fdtoi; }
|
2981 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2982 |
|
|
case 2 :
|
2983 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e80080)
|
2984 |
|
|
{ itype = FRVBF_INSN_FMOVD; goto extract_sfmt_fmovd; }
|
2985 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2986 |
|
|
case 3 :
|
2987 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e800c0)
|
2988 |
|
|
{ itype = FRVBF_INSN_FNEGD; goto extract_sfmt_fmovd; }
|
2989 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2990 |
|
|
case 4 :
|
2991 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e80100)
|
2992 |
|
|
{ itype = FRVBF_INSN_FABSD; goto extract_sfmt_fmovd; }
|
2993 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2994 |
|
|
case 5 :
|
2995 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1e80140)
|
2996 |
|
|
{ itype = FRVBF_INSN_FSQRTD; goto extract_sfmt_fmovd; }
|
2997 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
2998 |
|
|
case 6 :
|
2999 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e80180)
|
3000 |
|
|
{ itype = FRVBF_INSN_FADDD; goto extract_sfmt_faddd; }
|
3001 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3002 |
|
|
case 7 :
|
3003 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e801c0)
|
3004 |
|
|
{ itype = FRVBF_INSN_FSUBD; goto extract_sfmt_faddd; }
|
3005 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3006 |
|
|
case 8 :
|
3007 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e80200)
|
3008 |
|
|
{ itype = FRVBF_INSN_FMULD; goto extract_sfmt_faddd; }
|
3009 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3010 |
|
|
case 9 :
|
3011 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e80240)
|
3012 |
|
|
{ itype = FRVBF_INSN_FDIVD; goto extract_sfmt_faddd; }
|
3013 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3014 |
|
|
case 10 :
|
3015 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x1e80280)
|
3016 |
|
|
{ itype = FRVBF_INSN_FCMPD; goto extract_sfmt_fcmpd; }
|
3017 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3018 |
|
|
case 11 :
|
3019 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e802c0)
|
3020 |
|
|
{ itype = FRVBF_INSN_FMADDD; goto extract_sfmt_fmaddd; }
|
3021 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3022 |
|
|
case 12 :
|
3023 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e80300)
|
3024 |
|
|
{ itype = FRVBF_INSN_FMSUBD; goto extract_sfmt_fmaddd; }
|
3025 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3026 |
|
|
case 14 :
|
3027 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e80380)
|
3028 |
|
|
{ itype = FRVBF_INSN_FMAD; goto extract_sfmt_fmas; }
|
3029 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3030 |
|
|
case 15 :
|
3031 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1e803c0)
|
3032 |
|
|
{ itype = FRVBF_INSN_FMSD; goto extract_sfmt_fmas; }
|
3033 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3034 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3035 |
|
|
}
|
3036 |
|
|
}
|
3037 |
|
|
case 123 :
|
3038 |
|
|
{
|
3039 |
|
|
unsigned int val = (((insn >> 6) & (63 << 0)));
|
3040 |
|
|
switch (val)
|
3041 |
|
|
{
|
3042 |
|
|
case 0 : itype = FRVBF_INSN_MAND; goto extract_sfmt_mand;
|
3043 |
|
|
case 1 : itype = FRVBF_INSN_MOR; goto extract_sfmt_mand;
|
3044 |
|
|
case 2 : itype = FRVBF_INSN_MXOR; goto extract_sfmt_mand;
|
3045 |
|
|
case 3 :
|
3046 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1ec00c0)
|
3047 |
|
|
{ itype = FRVBF_INSN_MNOT; goto extract_sfmt_mnot; }
|
3048 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3049 |
|
|
case 4 : itype = FRVBF_INSN_MROTLI; goto extract_sfmt_mrotli;
|
3050 |
|
|
case 5 : itype = FRVBF_INSN_MROTRI; goto extract_sfmt_mrotli;
|
3051 |
|
|
case 6 : itype = FRVBF_INSN_MWCUT; goto extract_sfmt_mwcut;
|
3052 |
|
|
case 7 : itype = FRVBF_INSN_MWCUTI; goto extract_sfmt_mwcuti;
|
3053 |
|
|
case 8 : itype = FRVBF_INSN_MAVEH; goto extract_sfmt_mand;
|
3054 |
|
|
case 9 : itype = FRVBF_INSN_MSLLHI; goto extract_sfmt_msllhi;
|
3055 |
|
|
case 10 : itype = FRVBF_INSN_MSRLHI; goto extract_sfmt_msllhi;
|
3056 |
|
|
case 11 : itype = FRVBF_INSN_MSRAHI; goto extract_sfmt_msllhi;
|
3057 |
|
|
case 12 : itype = FRVBF_INSN_MSATHS; goto extract_sfmt_msaths;
|
3058 |
|
|
case 13 : itype = FRVBF_INSN_MSATHU; goto extract_sfmt_msaths;
|
3059 |
|
|
case 14 :
|
3060 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x1ec0380)
|
3061 |
|
|
{ itype = FRVBF_INSN_MCMPSH; goto extract_sfmt_mcmpsh; }
|
3062 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3063 |
|
|
case 15 :
|
3064 |
|
|
if ((entire_insn & 0x79fc0fc0) == 0x1ec03c0)
|
3065 |
|
|
{ itype = FRVBF_INSN_MCMPUH; goto extract_sfmt_mcmpsh; }
|
3066 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3067 |
|
|
case 16 : itype = FRVBF_INSN_MADDHSS; goto extract_sfmt_msaths;
|
3068 |
|
|
case 17 : itype = FRVBF_INSN_MADDHUS; goto extract_sfmt_msaths;
|
3069 |
|
|
case 18 : itype = FRVBF_INSN_MSUBHSS; goto extract_sfmt_msaths;
|
3070 |
|
|
case 19 : itype = FRVBF_INSN_MSUBHUS; goto extract_sfmt_msaths;
|
3071 |
|
|
case 20 : itype = FRVBF_INSN_MMULHS; goto extract_sfmt_mmulhs;
|
3072 |
|
|
case 21 : itype = FRVBF_INSN_MMULHU; goto extract_sfmt_mmulhs;
|
3073 |
|
|
case 22 : itype = FRVBF_INSN_MMACHS; goto extract_sfmt_mmachs;
|
3074 |
|
|
case 23 : itype = FRVBF_INSN_MMACHU; goto extract_sfmt_mmachu;
|
3075 |
|
|
case 24 : itype = FRVBF_INSN_MQADDHSS; goto extract_sfmt_mqsaths;
|
3076 |
|
|
case 25 : itype = FRVBF_INSN_MQADDHUS; goto extract_sfmt_mqsaths;
|
3077 |
|
|
case 26 : itype = FRVBF_INSN_MQSUBHSS; goto extract_sfmt_mqsaths;
|
3078 |
|
|
case 27 : itype = FRVBF_INSN_MQSUBHUS; goto extract_sfmt_mqsaths;
|
3079 |
|
|
case 28 : itype = FRVBF_INSN_MQMULHS; goto extract_sfmt_mqmulhs;
|
3080 |
|
|
case 29 : itype = FRVBF_INSN_MQMULHU; goto extract_sfmt_mqmulhs;
|
3081 |
|
|
case 30 : itype = FRVBF_INSN_MQMACHS; goto extract_sfmt_mqmachs;
|
3082 |
|
|
case 31 : itype = FRVBF_INSN_MQMACHU; goto extract_sfmt_mqmachu;
|
3083 |
|
|
case 32 : itype = FRVBF_INSN_MCPXRS; goto extract_sfmt_mcpxrs;
|
3084 |
|
|
case 33 : itype = FRVBF_INSN_MCPXRU; goto extract_sfmt_mcpxrs;
|
3085 |
|
|
case 34 : itype = FRVBF_INSN_MCPXIS; goto extract_sfmt_mcpxrs;
|
3086 |
|
|
case 35 : itype = FRVBF_INSN_MCPXIU; goto extract_sfmt_mcpxrs;
|
3087 |
|
|
case 36 : itype = FRVBF_INSN_MQCPXRS; goto extract_sfmt_mqcpxrs;
|
3088 |
|
|
case 37 : itype = FRVBF_INSN_MQCPXRU; goto extract_sfmt_mqcpxrs;
|
3089 |
|
|
case 38 : itype = FRVBF_INSN_MQCPXIS; goto extract_sfmt_mqcpxrs;
|
3090 |
|
|
case 39 : itype = FRVBF_INSN_MQCPXIU; goto extract_sfmt_mqcpxrs;
|
3091 |
|
|
case 40 : itype = FRVBF_INSN_MMULXHS; goto extract_sfmt_mmulhs;
|
3092 |
|
|
case 41 : itype = FRVBF_INSN_MMULXHU; goto extract_sfmt_mmulhs;
|
3093 |
|
|
case 42 : itype = FRVBF_INSN_MQMULXHS; goto extract_sfmt_mqmulhs;
|
3094 |
|
|
case 43 : itype = FRVBF_INSN_MQMULXHU; goto extract_sfmt_mqmulhs;
|
3095 |
|
|
case 44 : itype = FRVBF_INSN_MCUT; goto extract_sfmt_mcut;
|
3096 |
|
|
case 45 : itype = FRVBF_INSN_MCUTSS; goto extract_sfmt_mcut;
|
3097 |
|
|
case 46 : itype = FRVBF_INSN_MCUTI; goto extract_sfmt_mcuti;
|
3098 |
|
|
case 47 : itype = FRVBF_INSN_MCUTSSI; goto extract_sfmt_mcuti;
|
3099 |
|
|
case 48 : itype = FRVBF_INSN_MMRDHS; goto extract_sfmt_mmachs;
|
3100 |
|
|
case 49 : itype = FRVBF_INSN_MMRDHU; goto extract_sfmt_mmachu;
|
3101 |
|
|
case 50 : itype = FRVBF_INSN_MEXPDHW; goto extract_sfmt_mexpdhw;
|
3102 |
|
|
case 51 : itype = FRVBF_INSN_MEXPDHD; goto extract_sfmt_mexpdhd;
|
3103 |
|
|
case 52 : itype = FRVBF_INSN_MPACKH; goto extract_sfmt_mpackh;
|
3104 |
|
|
case 53 :
|
3105 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1ec0d40)
|
3106 |
|
|
{ itype = FRVBF_INSN_MUNPACKH; goto extract_sfmt_munpackh; }
|
3107 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3108 |
|
|
case 54 : itype = FRVBF_INSN_MDPACKH; goto extract_sfmt_mdpackh;
|
3109 |
|
|
case 55 :
|
3110 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1ec0dc0)
|
3111 |
|
|
{ itype = FRVBF_INSN_MDUNPACKH; goto extract_sfmt_mdunpackh; }
|
3112 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3113 |
|
|
case 56 :
|
3114 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1ec0e00)
|
3115 |
|
|
{ itype = FRVBF_INSN_MBTOH; goto extract_sfmt_mbtoh; }
|
3116 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3117 |
|
|
case 57 :
|
3118 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1ec0e40)
|
3119 |
|
|
{ itype = FRVBF_INSN_MHTOB; goto extract_sfmt_mhtob; }
|
3120 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3121 |
|
|
case 58 :
|
3122 |
|
|
if ((entire_insn & 0x1ffffc0) == 0x1ec0e80)
|
3123 |
|
|
{ itype = FRVBF_INSN_MBTOHE; goto extract_sfmt_mbtohe; }
|
3124 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3125 |
|
|
case 59 :
|
3126 |
|
|
{
|
3127 |
|
|
unsigned int val = (((insn >> 17) & (1 << 0)));
|
3128 |
|
|
switch (val)
|
3129 |
|
|
{
|
3130 |
|
|
case 0 :
|
3131 |
|
|
if ((entire_insn & 0x1ffffff) == 0x1ec0ec0)
|
3132 |
|
|
{ itype = FRVBF_INSN_MCLRACC_0; goto extract_sfmt_mclracc_0; }
|
3133 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3134 |
|
|
case 1 :
|
3135 |
|
|
{
|
3136 |
|
|
unsigned int val = (((insn >> 25) & (63 << 0)));
|
3137 |
|
|
switch (val)
|
3138 |
|
|
{
|
3139 |
|
|
case 0 : /* fall through */
|
3140 |
|
|
case 1 : /* fall through */
|
3141 |
|
|
case 2 : /* fall through */
|
3142 |
|
|
case 3 : /* fall through */
|
3143 |
|
|
case 4 : /* fall through */
|
3144 |
|
|
case 5 : /* fall through */
|
3145 |
|
|
case 6 : /* fall through */
|
3146 |
|
|
case 7 : /* fall through */
|
3147 |
|
|
case 8 : /* fall through */
|
3148 |
|
|
case 9 : /* fall through */
|
3149 |
|
|
case 10 : /* fall through */
|
3150 |
|
|
case 11 : /* fall through */
|
3151 |
|
|
case 12 : /* fall through */
|
3152 |
|
|
case 13 : /* fall through */
|
3153 |
|
|
case 14 : /* fall through */
|
3154 |
|
|
case 15 : /* fall through */
|
3155 |
|
|
case 16 : /* fall through */
|
3156 |
|
|
case 17 : /* fall through */
|
3157 |
|
|
case 18 : /* fall through */
|
3158 |
|
|
case 19 : /* fall through */
|
3159 |
|
|
case 20 : /* fall through */
|
3160 |
|
|
case 21 : /* fall through */
|
3161 |
|
|
case 22 : /* fall through */
|
3162 |
|
|
case 23 : /* fall through */
|
3163 |
|
|
case 24 : /* fall through */
|
3164 |
|
|
case 25 : /* fall through */
|
3165 |
|
|
case 26 : /* fall through */
|
3166 |
|
|
case 27 : /* fall through */
|
3167 |
|
|
case 28 : /* fall through */
|
3168 |
|
|
case 29 : /* fall through */
|
3169 |
|
|
case 30 : /* fall through */
|
3170 |
|
|
case 31 : /* fall through */
|
3171 |
|
|
case 32 : /* fall through */
|
3172 |
|
|
case 33 : /* fall through */
|
3173 |
|
|
case 34 : /* fall through */
|
3174 |
|
|
case 35 : /* fall through */
|
3175 |
|
|
case 36 : /* fall through */
|
3176 |
|
|
case 37 : /* fall through */
|
3177 |
|
|
case 38 : /* fall through */
|
3178 |
|
|
case 39 : /* fall through */
|
3179 |
|
|
case 40 : /* fall through */
|
3180 |
|
|
case 41 : /* fall through */
|
3181 |
|
|
case 42 : /* fall through */
|
3182 |
|
|
case 43 : /* fall through */
|
3183 |
|
|
case 44 : /* fall through */
|
3184 |
|
|
case 45 : /* fall through */
|
3185 |
|
|
case 46 : /* fall through */
|
3186 |
|
|
case 47 : /* fall through */
|
3187 |
|
|
case 48 : /* fall through */
|
3188 |
|
|
case 49 : /* fall through */
|
3189 |
|
|
case 50 : /* fall through */
|
3190 |
|
|
case 51 : /* fall through */
|
3191 |
|
|
case 52 : /* fall through */
|
3192 |
|
|
case 53 : /* fall through */
|
3193 |
|
|
case 54 : /* fall through */
|
3194 |
|
|
case 55 : /* fall through */
|
3195 |
|
|
case 56 : /* fall through */
|
3196 |
|
|
case 57 : /* fall through */
|
3197 |
|
|
case 58 : /* fall through */
|
3198 |
|
|
case 59 : /* fall through */
|
3199 |
|
|
case 60 : /* fall through */
|
3200 |
|
|
case 61 : /* fall through */
|
3201 |
|
|
case 62 :
|
3202 |
|
|
if ((entire_insn & 0x1ffffff) == 0x1ee0ec0)
|
3203 |
|
|
{ itype = FRVBF_INSN_MCLRACC_1; goto extract_sfmt_mclracc_0; }
|
3204 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3205 |
|
|
case 63 :
|
3206 |
|
|
if ((entire_insn & 0x7fffffff) == 0x7fee0ec0)
|
3207 |
|
|
{ itype = FRVBF_INSN_MNOP; goto extract_sfmt_rei; }
|
3208 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3209 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3210 |
|
|
}
|
3211 |
|
|
}
|
3212 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3213 |
|
|
}
|
3214 |
|
|
}
|
3215 |
|
|
case 60 :
|
3216 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1ec0f00)
|
3217 |
|
|
{ itype = FRVBF_INSN_MRDACC; goto extract_sfmt_mrdacc; }
|
3218 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3219 |
|
|
case 61 :
|
3220 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1ec0f40)
|
3221 |
|
|
{ itype = FRVBF_INSN_MWTACC; goto extract_sfmt_mwtacc; }
|
3222 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3223 |
|
|
case 62 :
|
3224 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1ec0f80)
|
3225 |
|
|
{ itype = FRVBF_INSN_MRDACCG; goto extract_sfmt_mrdaccg; }
|
3226 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3227 |
|
|
case 63 :
|
3228 |
|
|
if ((entire_insn & 0x1fc0fff) == 0x1ec0fc0)
|
3229 |
|
|
{ itype = FRVBF_INSN_MWTACCG; goto extract_sfmt_mwtaccg; }
|
3230 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3231 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3232 |
|
|
}
|
3233 |
|
|
}
|
3234 |
|
|
case 124 :
|
3235 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1f00000)
|
3236 |
|
|
{ itype = FRVBF_INSN_MCOP1; goto extract_sfmt_rei; }
|
3237 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3238 |
|
|
case 125 :
|
3239 |
|
|
if ((entire_insn & 0x1fc0fc0) == 0x1f40000)
|
3240 |
|
|
{ itype = FRVBF_INSN_MCOP2; goto extract_sfmt_rei; }
|
3241 |
|
|
itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3242 |
|
|
case 126 : itype = FRVBF_INSN_COP1; goto extract_sfmt_rei;
|
3243 |
|
|
case 127 : itype = FRVBF_INSN_COP2; goto extract_sfmt_rei;
|
3244 |
|
|
default : itype = FRVBF_INSN_X_INVALID; goto extract_sfmt_empty;
|
3245 |
|
|
}
|
3246 |
|
|
}
|
3247 |
|
|
}
|
3248 |
|
|
|
3249 |
|
|
/* The instruction has been decoded, now extract the fields. */
|
3250 |
|
|
|
3251 |
|
|
extract_sfmt_empty:
|
3252 |
|
|
{
|
3253 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3254 |
|
|
#define FLD(f) abuf->fields.sfmt_empty.f
|
3255 |
|
|
|
3256 |
|
|
|
3257 |
|
|
/* Record the fields for the semantic handler. */
|
3258 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_empty", (char *) 0));
|
3259 |
|
|
|
3260 |
|
|
#undef FLD
|
3261 |
|
|
return idesc;
|
3262 |
|
|
}
|
3263 |
|
|
|
3264 |
|
|
extract_sfmt_add:
|
3265 |
|
|
{
|
3266 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3267 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3268 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
3269 |
|
|
UINT f_GRk;
|
3270 |
|
|
UINT f_GRi;
|
3271 |
|
|
UINT f_GRj;
|
3272 |
|
|
|
3273 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3274 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3275 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3276 |
|
|
|
3277 |
|
|
/* Record the fields for the semantic handler. */
|
3278 |
|
|
FLD (f_GRi) = f_GRi;
|
3279 |
|
|
FLD (f_GRj) = f_GRj;
|
3280 |
|
|
FLD (f_GRk) = f_GRk;
|
3281 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_add", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3282 |
|
|
|
3283 |
|
|
#if WITH_PROFILE_MODEL_P
|
3284 |
|
|
/* Record the fields for profiling. */
|
3285 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3286 |
|
|
{
|
3287 |
|
|
FLD (in_GRi) = f_GRi;
|
3288 |
|
|
FLD (in_GRj) = f_GRj;
|
3289 |
|
|
FLD (out_GRk) = f_GRk;
|
3290 |
|
|
}
|
3291 |
|
|
#endif
|
3292 |
|
|
#undef FLD
|
3293 |
|
|
return idesc;
|
3294 |
|
|
}
|
3295 |
|
|
|
3296 |
|
|
extract_sfmt_not:
|
3297 |
|
|
{
|
3298 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3299 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3300 |
|
|
#define FLD(f) abuf->fields.sfmt_scutss.f
|
3301 |
|
|
UINT f_GRk;
|
3302 |
|
|
UINT f_GRj;
|
3303 |
|
|
|
3304 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3305 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3306 |
|
|
|
3307 |
|
|
/* Record the fields for the semantic handler. */
|
3308 |
|
|
FLD (f_GRj) = f_GRj;
|
3309 |
|
|
FLD (f_GRk) = f_GRk;
|
3310 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_not", "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3311 |
|
|
|
3312 |
|
|
#if WITH_PROFILE_MODEL_P
|
3313 |
|
|
/* Record the fields for profiling. */
|
3314 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3315 |
|
|
{
|
3316 |
|
|
FLD (in_GRj) = f_GRj;
|
3317 |
|
|
FLD (out_GRk) = f_GRk;
|
3318 |
|
|
}
|
3319 |
|
|
#endif
|
3320 |
|
|
#undef FLD
|
3321 |
|
|
return idesc;
|
3322 |
|
|
}
|
3323 |
|
|
|
3324 |
|
|
extract_sfmt_sdiv:
|
3325 |
|
|
{
|
3326 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3327 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3328 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
3329 |
|
|
UINT f_GRk;
|
3330 |
|
|
UINT f_GRi;
|
3331 |
|
|
UINT f_GRj;
|
3332 |
|
|
|
3333 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3334 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3335 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3336 |
|
|
|
3337 |
|
|
/* Record the fields for the semantic handler. */
|
3338 |
|
|
FLD (f_GRi) = f_GRi;
|
3339 |
|
|
FLD (f_GRj) = f_GRj;
|
3340 |
|
|
FLD (f_GRk) = f_GRk;
|
3341 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_sdiv", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3342 |
|
|
|
3343 |
|
|
#if WITH_PROFILE_MODEL_P
|
3344 |
|
|
/* Record the fields for profiling. */
|
3345 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3346 |
|
|
{
|
3347 |
|
|
FLD (in_GRi) = f_GRi;
|
3348 |
|
|
FLD (in_GRj) = f_GRj;
|
3349 |
|
|
FLD (out_GRk) = f_GRk;
|
3350 |
|
|
}
|
3351 |
|
|
#endif
|
3352 |
|
|
#undef FLD
|
3353 |
|
|
return idesc;
|
3354 |
|
|
}
|
3355 |
|
|
|
3356 |
|
|
extract_sfmt_smul:
|
3357 |
|
|
{
|
3358 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3359 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3360 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
3361 |
|
|
UINT f_GRk;
|
3362 |
|
|
UINT f_GRi;
|
3363 |
|
|
UINT f_GRj;
|
3364 |
|
|
|
3365 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3366 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3367 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3368 |
|
|
|
3369 |
|
|
/* Record the fields for the semantic handler. */
|
3370 |
|
|
FLD (f_GRi) = f_GRi;
|
3371 |
|
|
FLD (f_GRj) = f_GRj;
|
3372 |
|
|
FLD (f_GRk) = f_GRk;
|
3373 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_smul", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3374 |
|
|
|
3375 |
|
|
#if WITH_PROFILE_MODEL_P
|
3376 |
|
|
/* Record the fields for profiling. */
|
3377 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3378 |
|
|
{
|
3379 |
|
|
FLD (in_GRi) = f_GRi;
|
3380 |
|
|
FLD (in_GRj) = f_GRj;
|
3381 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
3382 |
|
|
}
|
3383 |
|
|
#endif
|
3384 |
|
|
#undef FLD
|
3385 |
|
|
return idesc;
|
3386 |
|
|
}
|
3387 |
|
|
|
3388 |
|
|
extract_sfmt_smu:
|
3389 |
|
|
{
|
3390 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3391 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3392 |
|
|
#define FLD(f) abuf->fields.sfmt_smass.f
|
3393 |
|
|
UINT f_GRi;
|
3394 |
|
|
UINT f_GRj;
|
3395 |
|
|
|
3396 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3397 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3398 |
|
|
|
3399 |
|
|
/* Record the fields for the semantic handler. */
|
3400 |
|
|
FLD (f_GRi) = f_GRi;
|
3401 |
|
|
FLD (f_GRj) = f_GRj;
|
3402 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_smu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
3403 |
|
|
|
3404 |
|
|
#if WITH_PROFILE_MODEL_P
|
3405 |
|
|
/* Record the fields for profiling. */
|
3406 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3407 |
|
|
{
|
3408 |
|
|
FLD (in_GRi) = f_GRi;
|
3409 |
|
|
FLD (in_GRj) = f_GRj;
|
3410 |
|
|
FLD (out_h_iacc0_DI_0) = 0;
|
3411 |
|
|
}
|
3412 |
|
|
#endif
|
3413 |
|
|
#undef FLD
|
3414 |
|
|
return idesc;
|
3415 |
|
|
}
|
3416 |
|
|
|
3417 |
|
|
extract_sfmt_smass:
|
3418 |
|
|
{
|
3419 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3420 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3421 |
|
|
#define FLD(f) abuf->fields.sfmt_smass.f
|
3422 |
|
|
UINT f_GRi;
|
3423 |
|
|
UINT f_GRj;
|
3424 |
|
|
|
3425 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3426 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3427 |
|
|
|
3428 |
|
|
/* Record the fields for the semantic handler. */
|
3429 |
|
|
FLD (f_GRi) = f_GRi;
|
3430 |
|
|
FLD (f_GRj) = f_GRj;
|
3431 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_smass", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
3432 |
|
|
|
3433 |
|
|
#if WITH_PROFILE_MODEL_P
|
3434 |
|
|
/* Record the fields for profiling. */
|
3435 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3436 |
|
|
{
|
3437 |
|
|
FLD (in_GRi) = f_GRi;
|
3438 |
|
|
FLD (in_GRj) = f_GRj;
|
3439 |
|
|
FLD (in_h_iacc0_DI_0) = 0;
|
3440 |
|
|
FLD (out_h_iacc0_DI_0) = 0;
|
3441 |
|
|
}
|
3442 |
|
|
#endif
|
3443 |
|
|
#undef FLD
|
3444 |
|
|
return idesc;
|
3445 |
|
|
}
|
3446 |
|
|
|
3447 |
|
|
extract_sfmt_slass:
|
3448 |
|
|
{
|
3449 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3450 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3451 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
3452 |
|
|
UINT f_GRk;
|
3453 |
|
|
UINT f_GRi;
|
3454 |
|
|
UINT f_GRj;
|
3455 |
|
|
|
3456 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3457 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3458 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3459 |
|
|
|
3460 |
|
|
/* Record the fields for the semantic handler. */
|
3461 |
|
|
FLD (f_GRi) = f_GRi;
|
3462 |
|
|
FLD (f_GRj) = f_GRj;
|
3463 |
|
|
FLD (f_GRk) = f_GRk;
|
3464 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_slass", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3465 |
|
|
|
3466 |
|
|
#if WITH_PROFILE_MODEL_P
|
3467 |
|
|
/* Record the fields for profiling. */
|
3468 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3469 |
|
|
{
|
3470 |
|
|
FLD (in_GRi) = f_GRi;
|
3471 |
|
|
FLD (in_GRj) = f_GRj;
|
3472 |
|
|
FLD (out_GRk) = f_GRk;
|
3473 |
|
|
}
|
3474 |
|
|
#endif
|
3475 |
|
|
#undef FLD
|
3476 |
|
|
return idesc;
|
3477 |
|
|
}
|
3478 |
|
|
|
3479 |
|
|
extract_sfmt_scutss:
|
3480 |
|
|
{
|
3481 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3482 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3483 |
|
|
#define FLD(f) abuf->fields.sfmt_scutss.f
|
3484 |
|
|
UINT f_GRk;
|
3485 |
|
|
UINT f_GRj;
|
3486 |
|
|
|
3487 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3488 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3489 |
|
|
|
3490 |
|
|
/* Record the fields for the semantic handler. */
|
3491 |
|
|
FLD (f_GRj) = f_GRj;
|
3492 |
|
|
FLD (f_GRk) = f_GRk;
|
3493 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_scutss", "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3494 |
|
|
|
3495 |
|
|
#if WITH_PROFILE_MODEL_P
|
3496 |
|
|
/* Record the fields for profiling. */
|
3497 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3498 |
|
|
{
|
3499 |
|
|
FLD (in_GRj) = f_GRj;
|
3500 |
|
|
FLD (in_h_iacc0_DI_0) = 0;
|
3501 |
|
|
FLD (out_GRk) = f_GRk;
|
3502 |
|
|
}
|
3503 |
|
|
#endif
|
3504 |
|
|
#undef FLD
|
3505 |
|
|
return idesc;
|
3506 |
|
|
}
|
3507 |
|
|
|
3508 |
|
|
extract_sfmt_cadd:
|
3509 |
|
|
{
|
3510 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3511 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3512 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
3513 |
|
|
UINT f_GRk;
|
3514 |
|
|
UINT f_GRi;
|
3515 |
|
|
UINT f_CCi;
|
3516 |
|
|
UINT f_cond;
|
3517 |
|
|
UINT f_GRj;
|
3518 |
|
|
|
3519 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3520 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3521 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
3522 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
3523 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3524 |
|
|
|
3525 |
|
|
/* Record the fields for the semantic handler. */
|
3526 |
|
|
FLD (f_CCi) = f_CCi;
|
3527 |
|
|
FLD (f_GRi) = f_GRi;
|
3528 |
|
|
FLD (f_GRj) = f_GRj;
|
3529 |
|
|
FLD (f_cond) = f_cond;
|
3530 |
|
|
FLD (f_GRk) = f_GRk;
|
3531 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cadd", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3532 |
|
|
|
3533 |
|
|
#if WITH_PROFILE_MODEL_P
|
3534 |
|
|
/* Record the fields for profiling. */
|
3535 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3536 |
|
|
{
|
3537 |
|
|
FLD (in_CCi) = f_CCi;
|
3538 |
|
|
FLD (in_GRi) = f_GRi;
|
3539 |
|
|
FLD (in_GRj) = f_GRj;
|
3540 |
|
|
FLD (out_GRk) = f_GRk;
|
3541 |
|
|
}
|
3542 |
|
|
#endif
|
3543 |
|
|
#undef FLD
|
3544 |
|
|
return idesc;
|
3545 |
|
|
}
|
3546 |
|
|
|
3547 |
|
|
extract_sfmt_cnot:
|
3548 |
|
|
{
|
3549 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3550 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3551 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
3552 |
|
|
UINT f_GRk;
|
3553 |
|
|
UINT f_CCi;
|
3554 |
|
|
UINT f_cond;
|
3555 |
|
|
UINT f_GRj;
|
3556 |
|
|
|
3557 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3558 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
3559 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
3560 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3561 |
|
|
|
3562 |
|
|
/* Record the fields for the semantic handler. */
|
3563 |
|
|
FLD (f_CCi) = f_CCi;
|
3564 |
|
|
FLD (f_GRj) = f_GRj;
|
3565 |
|
|
FLD (f_cond) = f_cond;
|
3566 |
|
|
FLD (f_GRk) = f_GRk;
|
3567 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cnot", "f_CCi 0x%x", 'x', f_CCi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3568 |
|
|
|
3569 |
|
|
#if WITH_PROFILE_MODEL_P
|
3570 |
|
|
/* Record the fields for profiling. */
|
3571 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3572 |
|
|
{
|
3573 |
|
|
FLD (in_CCi) = f_CCi;
|
3574 |
|
|
FLD (in_GRj) = f_GRj;
|
3575 |
|
|
FLD (out_GRk) = f_GRk;
|
3576 |
|
|
}
|
3577 |
|
|
#endif
|
3578 |
|
|
#undef FLD
|
3579 |
|
|
return idesc;
|
3580 |
|
|
}
|
3581 |
|
|
|
3582 |
|
|
extract_sfmt_csmul:
|
3583 |
|
|
{
|
3584 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3585 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3586 |
|
|
#define FLD(f) abuf->fields.sfmt_clddu.f
|
3587 |
|
|
UINT f_GRk;
|
3588 |
|
|
UINT f_GRi;
|
3589 |
|
|
UINT f_CCi;
|
3590 |
|
|
UINT f_cond;
|
3591 |
|
|
UINT f_GRj;
|
3592 |
|
|
|
3593 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3594 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3595 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
3596 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
3597 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3598 |
|
|
|
3599 |
|
|
/* Record the fields for the semantic handler. */
|
3600 |
|
|
FLD (f_CCi) = f_CCi;
|
3601 |
|
|
FLD (f_GRi) = f_GRi;
|
3602 |
|
|
FLD (f_GRj) = f_GRj;
|
3603 |
|
|
FLD (f_cond) = f_cond;
|
3604 |
|
|
FLD (f_GRk) = f_GRk;
|
3605 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_csmul", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3606 |
|
|
|
3607 |
|
|
#if WITH_PROFILE_MODEL_P
|
3608 |
|
|
/* Record the fields for profiling. */
|
3609 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3610 |
|
|
{
|
3611 |
|
|
FLD (in_CCi) = f_CCi;
|
3612 |
|
|
FLD (in_GRi) = f_GRi;
|
3613 |
|
|
FLD (in_GRj) = f_GRj;
|
3614 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
3615 |
|
|
}
|
3616 |
|
|
#endif
|
3617 |
|
|
#undef FLD
|
3618 |
|
|
return idesc;
|
3619 |
|
|
}
|
3620 |
|
|
|
3621 |
|
|
extract_sfmt_csdiv:
|
3622 |
|
|
{
|
3623 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3624 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3625 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
3626 |
|
|
UINT f_GRk;
|
3627 |
|
|
UINT f_GRi;
|
3628 |
|
|
UINT f_CCi;
|
3629 |
|
|
UINT f_cond;
|
3630 |
|
|
UINT f_GRj;
|
3631 |
|
|
|
3632 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3633 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3634 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
3635 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
3636 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3637 |
|
|
|
3638 |
|
|
/* Record the fields for the semantic handler. */
|
3639 |
|
|
FLD (f_CCi) = f_CCi;
|
3640 |
|
|
FLD (f_GRi) = f_GRi;
|
3641 |
|
|
FLD (f_GRj) = f_GRj;
|
3642 |
|
|
FLD (f_cond) = f_cond;
|
3643 |
|
|
FLD (f_GRk) = f_GRk;
|
3644 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_csdiv", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3645 |
|
|
|
3646 |
|
|
#if WITH_PROFILE_MODEL_P
|
3647 |
|
|
/* Record the fields for profiling. */
|
3648 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3649 |
|
|
{
|
3650 |
|
|
FLD (in_CCi) = f_CCi;
|
3651 |
|
|
FLD (in_GRi) = f_GRi;
|
3652 |
|
|
FLD (in_GRj) = f_GRj;
|
3653 |
|
|
FLD (out_GRk) = f_GRk;
|
3654 |
|
|
}
|
3655 |
|
|
#endif
|
3656 |
|
|
#undef FLD
|
3657 |
|
|
return idesc;
|
3658 |
|
|
}
|
3659 |
|
|
|
3660 |
|
|
extract_sfmt_addcc:
|
3661 |
|
|
{
|
3662 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3663 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3664 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
3665 |
|
|
UINT f_GRk;
|
3666 |
|
|
UINT f_GRi;
|
3667 |
|
|
UINT f_ICCi_1;
|
3668 |
|
|
UINT f_GRj;
|
3669 |
|
|
|
3670 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3671 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3672 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
3673 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3674 |
|
|
|
3675 |
|
|
/* Record the fields for the semantic handler. */
|
3676 |
|
|
FLD (f_GRi) = f_GRi;
|
3677 |
|
|
FLD (f_GRj) = f_GRj;
|
3678 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
3679 |
|
|
FLD (f_GRk) = f_GRk;
|
3680 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addcc", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3681 |
|
|
|
3682 |
|
|
#if WITH_PROFILE_MODEL_P
|
3683 |
|
|
/* Record the fields for profiling. */
|
3684 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3685 |
|
|
{
|
3686 |
|
|
FLD (in_GRi) = f_GRi;
|
3687 |
|
|
FLD (in_GRj) = f_GRj;
|
3688 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
3689 |
|
|
FLD (out_GRk) = f_GRk;
|
3690 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
3691 |
|
|
}
|
3692 |
|
|
#endif
|
3693 |
|
|
#undef FLD
|
3694 |
|
|
return idesc;
|
3695 |
|
|
}
|
3696 |
|
|
|
3697 |
|
|
extract_sfmt_andcc:
|
3698 |
|
|
{
|
3699 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3700 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3701 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
3702 |
|
|
UINT f_GRk;
|
3703 |
|
|
UINT f_GRi;
|
3704 |
|
|
UINT f_ICCi_1;
|
3705 |
|
|
UINT f_GRj;
|
3706 |
|
|
|
3707 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3708 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3709 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
3710 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3711 |
|
|
|
3712 |
|
|
/* Record the fields for the semantic handler. */
|
3713 |
|
|
FLD (f_GRi) = f_GRi;
|
3714 |
|
|
FLD (f_GRj) = f_GRj;
|
3715 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
3716 |
|
|
FLD (f_GRk) = f_GRk;
|
3717 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andcc", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3718 |
|
|
|
3719 |
|
|
#if WITH_PROFILE_MODEL_P
|
3720 |
|
|
/* Record the fields for profiling. */
|
3721 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3722 |
|
|
{
|
3723 |
|
|
FLD (in_GRi) = f_GRi;
|
3724 |
|
|
FLD (in_GRj) = f_GRj;
|
3725 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
3726 |
|
|
FLD (out_GRk) = f_GRk;
|
3727 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
3728 |
|
|
}
|
3729 |
|
|
#endif
|
3730 |
|
|
#undef FLD
|
3731 |
|
|
return idesc;
|
3732 |
|
|
}
|
3733 |
|
|
|
3734 |
|
|
extract_sfmt_smulcc:
|
3735 |
|
|
{
|
3736 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3737 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3738 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
3739 |
|
|
UINT f_GRk;
|
3740 |
|
|
UINT f_GRi;
|
3741 |
|
|
UINT f_ICCi_1;
|
3742 |
|
|
UINT f_GRj;
|
3743 |
|
|
|
3744 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3745 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3746 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
3747 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3748 |
|
|
|
3749 |
|
|
/* Record the fields for the semantic handler. */
|
3750 |
|
|
FLD (f_GRi) = f_GRi;
|
3751 |
|
|
FLD (f_GRj) = f_GRj;
|
3752 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
3753 |
|
|
FLD (f_GRk) = f_GRk;
|
3754 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_smulcc", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3755 |
|
|
|
3756 |
|
|
#if WITH_PROFILE_MODEL_P
|
3757 |
|
|
/* Record the fields for profiling. */
|
3758 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3759 |
|
|
{
|
3760 |
|
|
FLD (in_GRi) = f_GRi;
|
3761 |
|
|
FLD (in_GRj) = f_GRj;
|
3762 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
3763 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
3764 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
3765 |
|
|
}
|
3766 |
|
|
#endif
|
3767 |
|
|
#undef FLD
|
3768 |
|
|
return idesc;
|
3769 |
|
|
}
|
3770 |
|
|
|
3771 |
|
|
extract_sfmt_caddcc:
|
3772 |
|
|
{
|
3773 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3774 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3775 |
|
|
#define FLD(f) abuf->fields.sfmt_caddcc.f
|
3776 |
|
|
UINT f_GRk;
|
3777 |
|
|
UINT f_GRi;
|
3778 |
|
|
UINT f_CCi;
|
3779 |
|
|
UINT f_cond;
|
3780 |
|
|
UINT f_GRj;
|
3781 |
|
|
|
3782 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3783 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3784 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
3785 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
3786 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3787 |
|
|
|
3788 |
|
|
/* Record the fields for the semantic handler. */
|
3789 |
|
|
FLD (f_CCi) = f_CCi;
|
3790 |
|
|
FLD (f_GRi) = f_GRi;
|
3791 |
|
|
FLD (f_GRj) = f_GRj;
|
3792 |
|
|
FLD (f_cond) = f_cond;
|
3793 |
|
|
FLD (f_GRk) = f_GRk;
|
3794 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_caddcc", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3795 |
|
|
|
3796 |
|
|
#if WITH_PROFILE_MODEL_P
|
3797 |
|
|
/* Record the fields for profiling. */
|
3798 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3799 |
|
|
{
|
3800 |
|
|
FLD (in_CCi) = f_CCi;
|
3801 |
|
|
FLD (in_GRi) = f_GRi;
|
3802 |
|
|
FLD (in_GRj) = f_GRj;
|
3803 |
|
|
FLD (in_h_iccr_UQI_and__INT_index_of__INT_CCi_3) = ((FLD (f_CCi)) & (3));
|
3804 |
|
|
FLD (out_GRk) = f_GRk;
|
3805 |
|
|
FLD (out_h_iccr_UQI_and__INT_index_of__INT_CCi_3) = ((FLD (f_CCi)) & (3));
|
3806 |
|
|
}
|
3807 |
|
|
#endif
|
3808 |
|
|
#undef FLD
|
3809 |
|
|
return idesc;
|
3810 |
|
|
}
|
3811 |
|
|
|
3812 |
|
|
extract_sfmt_csmulcc:
|
3813 |
|
|
{
|
3814 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3815 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3816 |
|
|
#define FLD(f) abuf->fields.sfmt_csmulcc.f
|
3817 |
|
|
UINT f_GRk;
|
3818 |
|
|
UINT f_GRi;
|
3819 |
|
|
UINT f_CCi;
|
3820 |
|
|
UINT f_cond;
|
3821 |
|
|
UINT f_GRj;
|
3822 |
|
|
|
3823 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3824 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3825 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
3826 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
3827 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3828 |
|
|
|
3829 |
|
|
/* Record the fields for the semantic handler. */
|
3830 |
|
|
FLD (f_CCi) = f_CCi;
|
3831 |
|
|
FLD (f_GRi) = f_GRi;
|
3832 |
|
|
FLD (f_GRj) = f_GRj;
|
3833 |
|
|
FLD (f_cond) = f_cond;
|
3834 |
|
|
FLD (f_GRk) = f_GRk;
|
3835 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_csmulcc", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3836 |
|
|
|
3837 |
|
|
#if WITH_PROFILE_MODEL_P
|
3838 |
|
|
/* Record the fields for profiling. */
|
3839 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3840 |
|
|
{
|
3841 |
|
|
FLD (in_CCi) = f_CCi;
|
3842 |
|
|
FLD (in_GRi) = f_GRi;
|
3843 |
|
|
FLD (in_GRj) = f_GRj;
|
3844 |
|
|
FLD (in_h_iccr_UQI_and__INT_index_of__INT_CCi_3) = ((FLD (f_CCi)) & (3));
|
3845 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
3846 |
|
|
FLD (out_h_iccr_UQI_and__INT_index_of__INT_CCi_3) = ((FLD (f_CCi)) & (3));
|
3847 |
|
|
}
|
3848 |
|
|
#endif
|
3849 |
|
|
#undef FLD
|
3850 |
|
|
return idesc;
|
3851 |
|
|
}
|
3852 |
|
|
|
3853 |
|
|
extract_sfmt_addx:
|
3854 |
|
|
{
|
3855 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3856 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3857 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
3858 |
|
|
UINT f_GRk;
|
3859 |
|
|
UINT f_GRi;
|
3860 |
|
|
UINT f_ICCi_1;
|
3861 |
|
|
UINT f_GRj;
|
3862 |
|
|
|
3863 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3864 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3865 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
3866 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
3867 |
|
|
|
3868 |
|
|
/* Record the fields for the semantic handler. */
|
3869 |
|
|
FLD (f_GRi) = f_GRi;
|
3870 |
|
|
FLD (f_GRj) = f_GRj;
|
3871 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
3872 |
|
|
FLD (f_GRk) = f_GRk;
|
3873 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addx", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3874 |
|
|
|
3875 |
|
|
#if WITH_PROFILE_MODEL_P
|
3876 |
|
|
/* Record the fields for profiling. */
|
3877 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3878 |
|
|
{
|
3879 |
|
|
FLD (in_GRi) = f_GRi;
|
3880 |
|
|
FLD (in_GRj) = f_GRj;
|
3881 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
3882 |
|
|
FLD (out_GRk) = f_GRk;
|
3883 |
|
|
}
|
3884 |
|
|
#endif
|
3885 |
|
|
#undef FLD
|
3886 |
|
|
return idesc;
|
3887 |
|
|
}
|
3888 |
|
|
|
3889 |
|
|
extract_sfmt_addi:
|
3890 |
|
|
{
|
3891 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3892 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3893 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
3894 |
|
|
UINT f_GRk;
|
3895 |
|
|
UINT f_GRi;
|
3896 |
|
|
INT f_d12;
|
3897 |
|
|
|
3898 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3899 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3900 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
3901 |
|
|
|
3902 |
|
|
/* Record the fields for the semantic handler. */
|
3903 |
|
|
FLD (f_GRi) = f_GRi;
|
3904 |
|
|
FLD (f_d12) = f_d12;
|
3905 |
|
|
FLD (f_GRk) = f_GRk;
|
3906 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3907 |
|
|
|
3908 |
|
|
#if WITH_PROFILE_MODEL_P
|
3909 |
|
|
/* Record the fields for profiling. */
|
3910 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3911 |
|
|
{
|
3912 |
|
|
FLD (in_GRi) = f_GRi;
|
3913 |
|
|
FLD (out_GRk) = f_GRk;
|
3914 |
|
|
}
|
3915 |
|
|
#endif
|
3916 |
|
|
#undef FLD
|
3917 |
|
|
return idesc;
|
3918 |
|
|
}
|
3919 |
|
|
|
3920 |
|
|
extract_sfmt_sdivi:
|
3921 |
|
|
{
|
3922 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3923 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3924 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
3925 |
|
|
UINT f_GRk;
|
3926 |
|
|
UINT f_GRi;
|
3927 |
|
|
INT f_d12;
|
3928 |
|
|
|
3929 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3930 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3931 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
3932 |
|
|
|
3933 |
|
|
/* Record the fields for the semantic handler. */
|
3934 |
|
|
FLD (f_GRi) = f_GRi;
|
3935 |
|
|
FLD (f_GRk) = f_GRk;
|
3936 |
|
|
FLD (f_d12) = f_d12;
|
3937 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_sdivi", "f_GRi 0x%x", 'x', f_GRi, "f_GRk 0x%x", 'x', f_GRk, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
3938 |
|
|
|
3939 |
|
|
#if WITH_PROFILE_MODEL_P
|
3940 |
|
|
/* Record the fields for profiling. */
|
3941 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3942 |
|
|
{
|
3943 |
|
|
FLD (in_GRi) = f_GRi;
|
3944 |
|
|
FLD (out_GRk) = f_GRk;
|
3945 |
|
|
}
|
3946 |
|
|
#endif
|
3947 |
|
|
#undef FLD
|
3948 |
|
|
return idesc;
|
3949 |
|
|
}
|
3950 |
|
|
|
3951 |
|
|
extract_sfmt_smuli:
|
3952 |
|
|
{
|
3953 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3954 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3955 |
|
|
#define FLD(f) abuf->fields.sfmt_smuli.f
|
3956 |
|
|
UINT f_GRk;
|
3957 |
|
|
UINT f_GRi;
|
3958 |
|
|
INT f_d12;
|
3959 |
|
|
|
3960 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3961 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3962 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
3963 |
|
|
|
3964 |
|
|
/* Record the fields for the semantic handler. */
|
3965 |
|
|
FLD (f_GRi) = f_GRi;
|
3966 |
|
|
FLD (f_d12) = f_d12;
|
3967 |
|
|
FLD (f_GRk) = f_GRk;
|
3968 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_smuli", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
3969 |
|
|
|
3970 |
|
|
#if WITH_PROFILE_MODEL_P
|
3971 |
|
|
/* Record the fields for profiling. */
|
3972 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
3973 |
|
|
{
|
3974 |
|
|
FLD (in_GRi) = f_GRi;
|
3975 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
3976 |
|
|
}
|
3977 |
|
|
#endif
|
3978 |
|
|
#undef FLD
|
3979 |
|
|
return idesc;
|
3980 |
|
|
}
|
3981 |
|
|
|
3982 |
|
|
extract_sfmt_addicc:
|
3983 |
|
|
{
|
3984 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
3985 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
3986 |
|
|
#define FLD(f) abuf->fields.sfmt_addicc.f
|
3987 |
|
|
UINT f_GRk;
|
3988 |
|
|
UINT f_GRi;
|
3989 |
|
|
UINT f_ICCi_1;
|
3990 |
|
|
INT f_s10;
|
3991 |
|
|
|
3992 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
3993 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
3994 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
3995 |
|
|
f_s10 = EXTRACT_LSB0_SINT (insn, 32, 9, 10);
|
3996 |
|
|
|
3997 |
|
|
/* Record the fields for the semantic handler. */
|
3998 |
|
|
FLD (f_GRi) = f_GRi;
|
3999 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
4000 |
|
|
FLD (f_s10) = f_s10;
|
4001 |
|
|
FLD (f_GRk) = f_GRk;
|
4002 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addicc", "f_GRi 0x%x", 'x', f_GRi, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_s10 0x%x", 'x', f_s10, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4003 |
|
|
|
4004 |
|
|
#if WITH_PROFILE_MODEL_P
|
4005 |
|
|
/* Record the fields for profiling. */
|
4006 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4007 |
|
|
{
|
4008 |
|
|
FLD (in_GRi) = f_GRi;
|
4009 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
4010 |
|
|
FLD (out_GRk) = f_GRk;
|
4011 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
4012 |
|
|
}
|
4013 |
|
|
#endif
|
4014 |
|
|
#undef FLD
|
4015 |
|
|
return idesc;
|
4016 |
|
|
}
|
4017 |
|
|
|
4018 |
|
|
extract_sfmt_andicc:
|
4019 |
|
|
{
|
4020 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4021 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4022 |
|
|
#define FLD(f) abuf->fields.sfmt_addicc.f
|
4023 |
|
|
UINT f_GRk;
|
4024 |
|
|
UINT f_GRi;
|
4025 |
|
|
UINT f_ICCi_1;
|
4026 |
|
|
INT f_s10;
|
4027 |
|
|
|
4028 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4029 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4030 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
4031 |
|
|
f_s10 = EXTRACT_LSB0_SINT (insn, 32, 9, 10);
|
4032 |
|
|
|
4033 |
|
|
/* Record the fields for the semantic handler. */
|
4034 |
|
|
FLD (f_GRi) = f_GRi;
|
4035 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
4036 |
|
|
FLD (f_s10) = f_s10;
|
4037 |
|
|
FLD (f_GRk) = f_GRk;
|
4038 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andicc", "f_GRi 0x%x", 'x', f_GRi, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_s10 0x%x", 'x', f_s10, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4039 |
|
|
|
4040 |
|
|
#if WITH_PROFILE_MODEL_P
|
4041 |
|
|
/* Record the fields for profiling. */
|
4042 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4043 |
|
|
{
|
4044 |
|
|
FLD (in_GRi) = f_GRi;
|
4045 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
4046 |
|
|
FLD (out_GRk) = f_GRk;
|
4047 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
4048 |
|
|
}
|
4049 |
|
|
#endif
|
4050 |
|
|
#undef FLD
|
4051 |
|
|
return idesc;
|
4052 |
|
|
}
|
4053 |
|
|
|
4054 |
|
|
extract_sfmt_smulicc:
|
4055 |
|
|
{
|
4056 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4057 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4058 |
|
|
#define FLD(f) abuf->fields.sfmt_smulicc.f
|
4059 |
|
|
UINT f_GRk;
|
4060 |
|
|
UINT f_GRi;
|
4061 |
|
|
UINT f_ICCi_1;
|
4062 |
|
|
INT f_s10;
|
4063 |
|
|
|
4064 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4065 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4066 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
4067 |
|
|
f_s10 = EXTRACT_LSB0_SINT (insn, 32, 9, 10);
|
4068 |
|
|
|
4069 |
|
|
/* Record the fields for the semantic handler. */
|
4070 |
|
|
FLD (f_GRi) = f_GRi;
|
4071 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
4072 |
|
|
FLD (f_s10) = f_s10;
|
4073 |
|
|
FLD (f_GRk) = f_GRk;
|
4074 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_smulicc", "f_GRi 0x%x", 'x', f_GRi, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_s10 0x%x", 'x', f_s10, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4075 |
|
|
|
4076 |
|
|
#if WITH_PROFILE_MODEL_P
|
4077 |
|
|
/* Record the fields for profiling. */
|
4078 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4079 |
|
|
{
|
4080 |
|
|
FLD (in_GRi) = f_GRi;
|
4081 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
4082 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
4083 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
4084 |
|
|
}
|
4085 |
|
|
#endif
|
4086 |
|
|
#undef FLD
|
4087 |
|
|
return idesc;
|
4088 |
|
|
}
|
4089 |
|
|
|
4090 |
|
|
extract_sfmt_addxi:
|
4091 |
|
|
{
|
4092 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4093 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4094 |
|
|
#define FLD(f) abuf->fields.sfmt_addicc.f
|
4095 |
|
|
UINT f_GRk;
|
4096 |
|
|
UINT f_GRi;
|
4097 |
|
|
UINT f_ICCi_1;
|
4098 |
|
|
INT f_s10;
|
4099 |
|
|
|
4100 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4101 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4102 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
4103 |
|
|
f_s10 = EXTRACT_LSB0_SINT (insn, 32, 9, 10);
|
4104 |
|
|
|
4105 |
|
|
/* Record the fields for the semantic handler. */
|
4106 |
|
|
FLD (f_GRi) = f_GRi;
|
4107 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
4108 |
|
|
FLD (f_s10) = f_s10;
|
4109 |
|
|
FLD (f_GRk) = f_GRk;
|
4110 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_addxi", "f_GRi 0x%x", 'x', f_GRi, "f_ICCi_1 0x%x", 'x', f_ICCi_1, "f_s10 0x%x", 'x', f_s10, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4111 |
|
|
|
4112 |
|
|
#if WITH_PROFILE_MODEL_P
|
4113 |
|
|
/* Record the fields for profiling. */
|
4114 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4115 |
|
|
{
|
4116 |
|
|
FLD (in_GRi) = f_GRi;
|
4117 |
|
|
FLD (in_ICCi_1) = f_ICCi_1;
|
4118 |
|
|
FLD (out_GRk) = f_GRk;
|
4119 |
|
|
}
|
4120 |
|
|
#endif
|
4121 |
|
|
#undef FLD
|
4122 |
|
|
return idesc;
|
4123 |
|
|
}
|
4124 |
|
|
|
4125 |
|
|
extract_sfmt_cmpb:
|
4126 |
|
|
{
|
4127 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4128 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4129 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
4130 |
|
|
UINT f_GRi;
|
4131 |
|
|
UINT f_ICCi_1;
|
4132 |
|
|
UINT f_GRj;
|
4133 |
|
|
|
4134 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4135 |
|
|
f_ICCi_1 = EXTRACT_LSB0_UINT (insn, 32, 11, 2);
|
4136 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4137 |
|
|
|
4138 |
|
|
/* Record the fields for the semantic handler. */
|
4139 |
|
|
FLD (f_GRi) = f_GRi;
|
4140 |
|
|
FLD (f_GRj) = f_GRj;
|
4141 |
|
|
FLD (f_ICCi_1) = f_ICCi_1;
|
4142 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmpb", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ICCi_1 0x%x", 'x', f_ICCi_1, (char *) 0));
|
4143 |
|
|
|
4144 |
|
|
#if WITH_PROFILE_MODEL_P
|
4145 |
|
|
/* Record the fields for profiling. */
|
4146 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4147 |
|
|
{
|
4148 |
|
|
FLD (in_GRi) = f_GRi;
|
4149 |
|
|
FLD (in_GRj) = f_GRj;
|
4150 |
|
|
FLD (out_ICCi_1) = f_ICCi_1;
|
4151 |
|
|
}
|
4152 |
|
|
#endif
|
4153 |
|
|
#undef FLD
|
4154 |
|
|
return idesc;
|
4155 |
|
|
}
|
4156 |
|
|
|
4157 |
|
|
extract_sfmt_setlo:
|
4158 |
|
|
{
|
4159 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4160 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4161 |
|
|
#define FLD(f) abuf->fields.sfmt_setlo.f
|
4162 |
|
|
UINT f_GRk;
|
4163 |
|
|
UINT f_u16;
|
4164 |
|
|
|
4165 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4166 |
|
|
f_u16 = EXTRACT_LSB0_UINT (insn, 32, 15, 16);
|
4167 |
|
|
|
4168 |
|
|
/* Record the fields for the semantic handler. */
|
4169 |
|
|
FLD (f_u16) = f_u16;
|
4170 |
|
|
FLD (f_GRk) = f_GRk;
|
4171 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_setlo", "f_u16 0x%x", 'x', f_u16, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4172 |
|
|
|
4173 |
|
|
#if WITH_PROFILE_MODEL_P
|
4174 |
|
|
/* Record the fields for profiling. */
|
4175 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4176 |
|
|
{
|
4177 |
|
|
FLD (out_GRklo) = f_GRk;
|
4178 |
|
|
}
|
4179 |
|
|
#endif
|
4180 |
|
|
#undef FLD
|
4181 |
|
|
return idesc;
|
4182 |
|
|
}
|
4183 |
|
|
|
4184 |
|
|
extract_sfmt_sethi:
|
4185 |
|
|
{
|
4186 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4187 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4188 |
|
|
#define FLD(f) abuf->fields.sfmt_sethi.f
|
4189 |
|
|
UINT f_GRk;
|
4190 |
|
|
UINT f_u16;
|
4191 |
|
|
|
4192 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4193 |
|
|
f_u16 = EXTRACT_LSB0_UINT (insn, 32, 15, 16);
|
4194 |
|
|
|
4195 |
|
|
/* Record the fields for the semantic handler. */
|
4196 |
|
|
FLD (f_u16) = f_u16;
|
4197 |
|
|
FLD (f_GRk) = f_GRk;
|
4198 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_sethi", "f_u16 0x%x", 'x', f_u16, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4199 |
|
|
|
4200 |
|
|
#if WITH_PROFILE_MODEL_P
|
4201 |
|
|
/* Record the fields for profiling. */
|
4202 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4203 |
|
|
{
|
4204 |
|
|
FLD (out_GRkhi) = f_GRk;
|
4205 |
|
|
}
|
4206 |
|
|
#endif
|
4207 |
|
|
#undef FLD
|
4208 |
|
|
return idesc;
|
4209 |
|
|
}
|
4210 |
|
|
|
4211 |
|
|
extract_sfmt_setlos:
|
4212 |
|
|
{
|
4213 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4214 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4215 |
|
|
#define FLD(f) abuf->fields.sfmt_setlos.f
|
4216 |
|
|
UINT f_GRk;
|
4217 |
|
|
INT f_s16;
|
4218 |
|
|
|
4219 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4220 |
|
|
f_s16 = EXTRACT_LSB0_SINT (insn, 32, 15, 16);
|
4221 |
|
|
|
4222 |
|
|
/* Record the fields for the semantic handler. */
|
4223 |
|
|
FLD (f_s16) = f_s16;
|
4224 |
|
|
FLD (f_GRk) = f_GRk;
|
4225 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_setlos", "f_s16 0x%x", 'x', f_s16, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4226 |
|
|
|
4227 |
|
|
#if WITH_PROFILE_MODEL_P
|
4228 |
|
|
/* Record the fields for profiling. */
|
4229 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4230 |
|
|
{
|
4231 |
|
|
FLD (out_GRk) = f_GRk;
|
4232 |
|
|
}
|
4233 |
|
|
#endif
|
4234 |
|
|
#undef FLD
|
4235 |
|
|
return idesc;
|
4236 |
|
|
}
|
4237 |
|
|
|
4238 |
|
|
extract_sfmt_ldsb:
|
4239 |
|
|
{
|
4240 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4241 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4242 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
4243 |
|
|
UINT f_GRk;
|
4244 |
|
|
UINT f_GRi;
|
4245 |
|
|
UINT f_GRj;
|
4246 |
|
|
|
4247 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4248 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4249 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4250 |
|
|
|
4251 |
|
|
/* Record the fields for the semantic handler. */
|
4252 |
|
|
FLD (f_GRi) = f_GRi;
|
4253 |
|
|
FLD (f_GRj) = f_GRj;
|
4254 |
|
|
FLD (f_GRk) = f_GRk;
|
4255 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldsb", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4256 |
|
|
|
4257 |
|
|
#if WITH_PROFILE_MODEL_P
|
4258 |
|
|
/* Record the fields for profiling. */
|
4259 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4260 |
|
|
{
|
4261 |
|
|
FLD (in_GRi) = f_GRi;
|
4262 |
|
|
FLD (in_GRj) = f_GRj;
|
4263 |
|
|
FLD (out_GRk) = f_GRk;
|
4264 |
|
|
}
|
4265 |
|
|
#endif
|
4266 |
|
|
#undef FLD
|
4267 |
|
|
return idesc;
|
4268 |
|
|
}
|
4269 |
|
|
|
4270 |
|
|
extract_sfmt_ldbf:
|
4271 |
|
|
{
|
4272 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4273 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4274 |
|
|
#define FLD(f) abuf->fields.sfmt_cldbfu.f
|
4275 |
|
|
UINT f_FRk;
|
4276 |
|
|
UINT f_GRi;
|
4277 |
|
|
UINT f_GRj;
|
4278 |
|
|
|
4279 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4280 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4281 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4282 |
|
|
|
4283 |
|
|
/* Record the fields for the semantic handler. */
|
4284 |
|
|
FLD (f_GRi) = f_GRi;
|
4285 |
|
|
FLD (f_GRj) = f_GRj;
|
4286 |
|
|
FLD (f_FRk) = f_FRk;
|
4287 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldbf", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4288 |
|
|
|
4289 |
|
|
#if WITH_PROFILE_MODEL_P
|
4290 |
|
|
/* Record the fields for profiling. */
|
4291 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4292 |
|
|
{
|
4293 |
|
|
FLD (in_GRi) = f_GRi;
|
4294 |
|
|
FLD (in_GRj) = f_GRj;
|
4295 |
|
|
FLD (out_FRintk) = f_FRk;
|
4296 |
|
|
}
|
4297 |
|
|
#endif
|
4298 |
|
|
#undef FLD
|
4299 |
|
|
return idesc;
|
4300 |
|
|
}
|
4301 |
|
|
|
4302 |
|
|
extract_sfmt_ldc:
|
4303 |
|
|
{
|
4304 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4305 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4306 |
|
|
#define FLD(f) abuf->fields.sfmt_ldcu.f
|
4307 |
|
|
UINT f_CPRk;
|
4308 |
|
|
UINT f_GRi;
|
4309 |
|
|
UINT f_GRj;
|
4310 |
|
|
|
4311 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4312 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4313 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4314 |
|
|
|
4315 |
|
|
/* Record the fields for the semantic handler. */
|
4316 |
|
|
FLD (f_GRi) = f_GRi;
|
4317 |
|
|
FLD (f_GRj) = f_GRj;
|
4318 |
|
|
FLD (f_CPRk) = f_CPRk;
|
4319 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldc", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_CPRk 0x%x", 'x', f_CPRk, (char *) 0));
|
4320 |
|
|
|
4321 |
|
|
#if WITH_PROFILE_MODEL_P
|
4322 |
|
|
/* Record the fields for profiling. */
|
4323 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4324 |
|
|
{
|
4325 |
|
|
FLD (in_GRi) = f_GRi;
|
4326 |
|
|
FLD (in_GRj) = f_GRj;
|
4327 |
|
|
FLD (out_CPRk) = f_CPRk;
|
4328 |
|
|
}
|
4329 |
|
|
#endif
|
4330 |
|
|
#undef FLD
|
4331 |
|
|
return idesc;
|
4332 |
|
|
}
|
4333 |
|
|
|
4334 |
|
|
extract_sfmt_nldsb:
|
4335 |
|
|
{
|
4336 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4337 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4338 |
|
|
#define FLD(f) abuf->fields.sfmt_addcc.f
|
4339 |
|
|
UINT f_GRk;
|
4340 |
|
|
UINT f_GRi;
|
4341 |
|
|
UINT f_GRj;
|
4342 |
|
|
|
4343 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4344 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4345 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4346 |
|
|
|
4347 |
|
|
/* Record the fields for the semantic handler. */
|
4348 |
|
|
FLD (f_GRi) = f_GRi;
|
4349 |
|
|
FLD (f_GRj) = f_GRj;
|
4350 |
|
|
FLD (f_GRk) = f_GRk;
|
4351 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldsb", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4352 |
|
|
|
4353 |
|
|
#if WITH_PROFILE_MODEL_P
|
4354 |
|
|
/* Record the fields for profiling. */
|
4355 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4356 |
|
|
{
|
4357 |
|
|
FLD (in_GRi) = f_GRi;
|
4358 |
|
|
FLD (in_GRj) = f_GRj;
|
4359 |
|
|
FLD (out_GRk) = f_GRk;
|
4360 |
|
|
}
|
4361 |
|
|
#endif
|
4362 |
|
|
#undef FLD
|
4363 |
|
|
return idesc;
|
4364 |
|
|
}
|
4365 |
|
|
|
4366 |
|
|
extract_sfmt_nldbf:
|
4367 |
|
|
{
|
4368 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4369 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4370 |
|
|
#define FLD(f) abuf->fields.sfmt_cldbfu.f
|
4371 |
|
|
UINT f_FRk;
|
4372 |
|
|
UINT f_GRi;
|
4373 |
|
|
UINT f_GRj;
|
4374 |
|
|
|
4375 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4376 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4377 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4378 |
|
|
|
4379 |
|
|
/* Record the fields for the semantic handler. */
|
4380 |
|
|
FLD (f_GRi) = f_GRi;
|
4381 |
|
|
FLD (f_GRj) = f_GRj;
|
4382 |
|
|
FLD (f_FRk) = f_FRk;
|
4383 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldbf", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4384 |
|
|
|
4385 |
|
|
#if WITH_PROFILE_MODEL_P
|
4386 |
|
|
/* Record the fields for profiling. */
|
4387 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4388 |
|
|
{
|
4389 |
|
|
FLD (in_GRi) = f_GRi;
|
4390 |
|
|
FLD (in_GRj) = f_GRj;
|
4391 |
|
|
FLD (out_FRintk) = f_FRk;
|
4392 |
|
|
}
|
4393 |
|
|
#endif
|
4394 |
|
|
#undef FLD
|
4395 |
|
|
return idesc;
|
4396 |
|
|
}
|
4397 |
|
|
|
4398 |
|
|
extract_sfmt_ldd:
|
4399 |
|
|
{
|
4400 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4401 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4402 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
4403 |
|
|
UINT f_GRk;
|
4404 |
|
|
UINT f_GRi;
|
4405 |
|
|
UINT f_GRj;
|
4406 |
|
|
|
4407 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4408 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4409 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4410 |
|
|
|
4411 |
|
|
/* Record the fields for the semantic handler. */
|
4412 |
|
|
FLD (f_GRi) = f_GRi;
|
4413 |
|
|
FLD (f_GRj) = f_GRj;
|
4414 |
|
|
FLD (f_GRk) = f_GRk;
|
4415 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldd", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4416 |
|
|
|
4417 |
|
|
#if WITH_PROFILE_MODEL_P
|
4418 |
|
|
/* Record the fields for profiling. */
|
4419 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4420 |
|
|
{
|
4421 |
|
|
FLD (in_GRi) = f_GRi;
|
4422 |
|
|
FLD (in_GRj) = f_GRj;
|
4423 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
4424 |
|
|
}
|
4425 |
|
|
#endif
|
4426 |
|
|
#undef FLD
|
4427 |
|
|
return idesc;
|
4428 |
|
|
}
|
4429 |
|
|
|
4430 |
|
|
extract_sfmt_lddf:
|
4431 |
|
|
{
|
4432 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4433 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4434 |
|
|
#define FLD(f) abuf->fields.sfmt_clddfu.f
|
4435 |
|
|
UINT f_FRk;
|
4436 |
|
|
UINT f_GRi;
|
4437 |
|
|
UINT f_GRj;
|
4438 |
|
|
|
4439 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4440 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4441 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4442 |
|
|
|
4443 |
|
|
/* Record the fields for the semantic handler. */
|
4444 |
|
|
FLD (f_GRi) = f_GRi;
|
4445 |
|
|
FLD (f_GRj) = f_GRj;
|
4446 |
|
|
FLD (f_FRk) = f_FRk;
|
4447 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddf", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4448 |
|
|
|
4449 |
|
|
#if WITH_PROFILE_MODEL_P
|
4450 |
|
|
/* Record the fields for profiling. */
|
4451 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4452 |
|
|
{
|
4453 |
|
|
FLD (in_GRi) = f_GRi;
|
4454 |
|
|
FLD (in_GRj) = f_GRj;
|
4455 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
4456 |
|
|
}
|
4457 |
|
|
#endif
|
4458 |
|
|
#undef FLD
|
4459 |
|
|
return idesc;
|
4460 |
|
|
}
|
4461 |
|
|
|
4462 |
|
|
extract_sfmt_lddc:
|
4463 |
|
|
{
|
4464 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4465 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4466 |
|
|
#define FLD(f) abuf->fields.sfmt_lddcu.f
|
4467 |
|
|
UINT f_CPRk;
|
4468 |
|
|
UINT f_GRi;
|
4469 |
|
|
UINT f_GRj;
|
4470 |
|
|
|
4471 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4472 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4473 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4474 |
|
|
|
4475 |
|
|
/* Record the fields for the semantic handler. */
|
4476 |
|
|
FLD (f_GRi) = f_GRi;
|
4477 |
|
|
FLD (f_GRj) = f_GRj;
|
4478 |
|
|
FLD (f_CPRk) = f_CPRk;
|
4479 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddc", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_CPRk 0x%x", 'x', f_CPRk, (char *) 0));
|
4480 |
|
|
|
4481 |
|
|
#if WITH_PROFILE_MODEL_P
|
4482 |
|
|
/* Record the fields for profiling. */
|
4483 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4484 |
|
|
{
|
4485 |
|
|
FLD (in_GRi) = f_GRi;
|
4486 |
|
|
FLD (in_GRj) = f_GRj;
|
4487 |
|
|
FLD (out_CPRdoublek) = f_CPRk;
|
4488 |
|
|
}
|
4489 |
|
|
#endif
|
4490 |
|
|
#undef FLD
|
4491 |
|
|
return idesc;
|
4492 |
|
|
}
|
4493 |
|
|
|
4494 |
|
|
extract_sfmt_nldd:
|
4495 |
|
|
{
|
4496 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4497 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4498 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
4499 |
|
|
UINT f_GRk;
|
4500 |
|
|
UINT f_GRi;
|
4501 |
|
|
UINT f_GRj;
|
4502 |
|
|
|
4503 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4504 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4505 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4506 |
|
|
|
4507 |
|
|
/* Record the fields for the semantic handler. */
|
4508 |
|
|
FLD (f_GRi) = f_GRi;
|
4509 |
|
|
FLD (f_GRj) = f_GRj;
|
4510 |
|
|
FLD (f_GRk) = f_GRk;
|
4511 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldd", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4512 |
|
|
|
4513 |
|
|
#if WITH_PROFILE_MODEL_P
|
4514 |
|
|
/* Record the fields for profiling. */
|
4515 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4516 |
|
|
{
|
4517 |
|
|
FLD (in_GRi) = f_GRi;
|
4518 |
|
|
FLD (in_GRj) = f_GRj;
|
4519 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
4520 |
|
|
}
|
4521 |
|
|
#endif
|
4522 |
|
|
#undef FLD
|
4523 |
|
|
return idesc;
|
4524 |
|
|
}
|
4525 |
|
|
|
4526 |
|
|
extract_sfmt_nlddf:
|
4527 |
|
|
{
|
4528 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4529 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4530 |
|
|
#define FLD(f) abuf->fields.sfmt_clddfu.f
|
4531 |
|
|
UINT f_FRk;
|
4532 |
|
|
UINT f_GRi;
|
4533 |
|
|
UINT f_GRj;
|
4534 |
|
|
|
4535 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4536 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4537 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4538 |
|
|
|
4539 |
|
|
/* Record the fields for the semantic handler. */
|
4540 |
|
|
FLD (f_GRi) = f_GRi;
|
4541 |
|
|
FLD (f_GRj) = f_GRj;
|
4542 |
|
|
FLD (f_FRk) = f_FRk;
|
4543 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nlddf", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4544 |
|
|
|
4545 |
|
|
#if WITH_PROFILE_MODEL_P
|
4546 |
|
|
/* Record the fields for profiling. */
|
4547 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4548 |
|
|
{
|
4549 |
|
|
FLD (in_GRi) = f_GRi;
|
4550 |
|
|
FLD (in_GRj) = f_GRj;
|
4551 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
4552 |
|
|
}
|
4553 |
|
|
#endif
|
4554 |
|
|
#undef FLD
|
4555 |
|
|
return idesc;
|
4556 |
|
|
}
|
4557 |
|
|
|
4558 |
|
|
extract_sfmt_ldq:
|
4559 |
|
|
{
|
4560 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4561 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4562 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
4563 |
|
|
UINT f_GRk;
|
4564 |
|
|
UINT f_GRi;
|
4565 |
|
|
UINT f_GRj;
|
4566 |
|
|
|
4567 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4568 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4569 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4570 |
|
|
|
4571 |
|
|
/* Record the fields for the semantic handler. */
|
4572 |
|
|
FLD (f_GRi) = f_GRi;
|
4573 |
|
|
FLD (f_GRj) = f_GRj;
|
4574 |
|
|
FLD (f_GRk) = f_GRk;
|
4575 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldq", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4576 |
|
|
|
4577 |
|
|
#if WITH_PROFILE_MODEL_P
|
4578 |
|
|
/* Record the fields for profiling. */
|
4579 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4580 |
|
|
{
|
4581 |
|
|
FLD (in_GRi) = f_GRi;
|
4582 |
|
|
FLD (in_GRj) = f_GRj;
|
4583 |
|
|
}
|
4584 |
|
|
#endif
|
4585 |
|
|
#undef FLD
|
4586 |
|
|
return idesc;
|
4587 |
|
|
}
|
4588 |
|
|
|
4589 |
|
|
extract_sfmt_ldqf:
|
4590 |
|
|
{
|
4591 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4592 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4593 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
4594 |
|
|
UINT f_FRk;
|
4595 |
|
|
UINT f_GRi;
|
4596 |
|
|
UINT f_GRj;
|
4597 |
|
|
|
4598 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4599 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4600 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4601 |
|
|
|
4602 |
|
|
/* Record the fields for the semantic handler. */
|
4603 |
|
|
FLD (f_GRi) = f_GRi;
|
4604 |
|
|
FLD (f_GRj) = f_GRj;
|
4605 |
|
|
FLD (f_FRk) = f_FRk;
|
4606 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqf", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4607 |
|
|
|
4608 |
|
|
#if WITH_PROFILE_MODEL_P
|
4609 |
|
|
/* Record the fields for profiling. */
|
4610 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4611 |
|
|
{
|
4612 |
|
|
FLD (in_GRi) = f_GRi;
|
4613 |
|
|
FLD (in_GRj) = f_GRj;
|
4614 |
|
|
}
|
4615 |
|
|
#endif
|
4616 |
|
|
#undef FLD
|
4617 |
|
|
return idesc;
|
4618 |
|
|
}
|
4619 |
|
|
|
4620 |
|
|
extract_sfmt_ldqc:
|
4621 |
|
|
{
|
4622 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4623 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4624 |
|
|
#define FLD(f) abuf->fields.sfmt_stdcu.f
|
4625 |
|
|
UINT f_CPRk;
|
4626 |
|
|
UINT f_GRi;
|
4627 |
|
|
UINT f_GRj;
|
4628 |
|
|
|
4629 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4630 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4631 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4632 |
|
|
|
4633 |
|
|
/* Record the fields for the semantic handler. */
|
4634 |
|
|
FLD (f_GRi) = f_GRi;
|
4635 |
|
|
FLD (f_GRj) = f_GRj;
|
4636 |
|
|
FLD (f_CPRk) = f_CPRk;
|
4637 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqc", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_CPRk 0x%x", 'x', f_CPRk, (char *) 0));
|
4638 |
|
|
|
4639 |
|
|
#if WITH_PROFILE_MODEL_P
|
4640 |
|
|
/* Record the fields for profiling. */
|
4641 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4642 |
|
|
{
|
4643 |
|
|
FLD (in_GRi) = f_GRi;
|
4644 |
|
|
FLD (in_GRj) = f_GRj;
|
4645 |
|
|
}
|
4646 |
|
|
#endif
|
4647 |
|
|
#undef FLD
|
4648 |
|
|
return idesc;
|
4649 |
|
|
}
|
4650 |
|
|
|
4651 |
|
|
extract_sfmt_nldq:
|
4652 |
|
|
{
|
4653 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4654 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4655 |
|
|
#define FLD(f) abuf->fields.sfmt_smulcc.f
|
4656 |
|
|
UINT f_GRk;
|
4657 |
|
|
UINT f_GRi;
|
4658 |
|
|
UINT f_GRj;
|
4659 |
|
|
|
4660 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4661 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4662 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4663 |
|
|
|
4664 |
|
|
/* Record the fields for the semantic handler. */
|
4665 |
|
|
FLD (f_GRi) = f_GRi;
|
4666 |
|
|
FLD (f_GRj) = f_GRj;
|
4667 |
|
|
FLD (f_GRk) = f_GRk;
|
4668 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldq", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4669 |
|
|
|
4670 |
|
|
#if WITH_PROFILE_MODEL_P
|
4671 |
|
|
/* Record the fields for profiling. */
|
4672 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4673 |
|
|
{
|
4674 |
|
|
FLD (in_GRi) = f_GRi;
|
4675 |
|
|
FLD (in_GRj) = f_GRj;
|
4676 |
|
|
}
|
4677 |
|
|
#endif
|
4678 |
|
|
#undef FLD
|
4679 |
|
|
return idesc;
|
4680 |
|
|
}
|
4681 |
|
|
|
4682 |
|
|
extract_sfmt_nldqf:
|
4683 |
|
|
{
|
4684 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4685 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4686 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
4687 |
|
|
UINT f_FRk;
|
4688 |
|
|
UINT f_GRi;
|
4689 |
|
|
UINT f_GRj;
|
4690 |
|
|
|
4691 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4692 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4693 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4694 |
|
|
|
4695 |
|
|
/* Record the fields for the semantic handler. */
|
4696 |
|
|
FLD (f_GRi) = f_GRi;
|
4697 |
|
|
FLD (f_GRj) = f_GRj;
|
4698 |
|
|
FLD (f_FRk) = f_FRk;
|
4699 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldqf", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4700 |
|
|
|
4701 |
|
|
#if WITH_PROFILE_MODEL_P
|
4702 |
|
|
/* Record the fields for profiling. */
|
4703 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4704 |
|
|
{
|
4705 |
|
|
FLD (in_GRi) = f_GRi;
|
4706 |
|
|
FLD (in_GRj) = f_GRj;
|
4707 |
|
|
}
|
4708 |
|
|
#endif
|
4709 |
|
|
#undef FLD
|
4710 |
|
|
return idesc;
|
4711 |
|
|
}
|
4712 |
|
|
|
4713 |
|
|
extract_sfmt_ldsbu:
|
4714 |
|
|
{
|
4715 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4716 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4717 |
|
|
#define FLD(f) abuf->fields.sfmt_cldsbu.f
|
4718 |
|
|
UINT f_GRk;
|
4719 |
|
|
UINT f_GRi;
|
4720 |
|
|
UINT f_GRj;
|
4721 |
|
|
|
4722 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4723 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4724 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4725 |
|
|
|
4726 |
|
|
/* Record the fields for the semantic handler. */
|
4727 |
|
|
FLD (f_GRi) = f_GRi;
|
4728 |
|
|
FLD (f_GRj) = f_GRj;
|
4729 |
|
|
FLD (f_GRk) = f_GRk;
|
4730 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldsbu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4731 |
|
|
|
4732 |
|
|
#if WITH_PROFILE_MODEL_P
|
4733 |
|
|
/* Record the fields for profiling. */
|
4734 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4735 |
|
|
{
|
4736 |
|
|
FLD (in_GRi) = f_GRi;
|
4737 |
|
|
FLD (in_GRj) = f_GRj;
|
4738 |
|
|
FLD (out_GRi) = f_GRi;
|
4739 |
|
|
FLD (out_GRk) = f_GRk;
|
4740 |
|
|
}
|
4741 |
|
|
#endif
|
4742 |
|
|
#undef FLD
|
4743 |
|
|
return idesc;
|
4744 |
|
|
}
|
4745 |
|
|
|
4746 |
|
|
extract_sfmt_nldsbu:
|
4747 |
|
|
{
|
4748 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4749 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4750 |
|
|
#define FLD(f) abuf->fields.sfmt_cldsbu.f
|
4751 |
|
|
UINT f_GRk;
|
4752 |
|
|
UINT f_GRi;
|
4753 |
|
|
UINT f_GRj;
|
4754 |
|
|
|
4755 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4756 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4757 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4758 |
|
|
|
4759 |
|
|
/* Record the fields for the semantic handler. */
|
4760 |
|
|
FLD (f_GRi) = f_GRi;
|
4761 |
|
|
FLD (f_GRj) = f_GRj;
|
4762 |
|
|
FLD (f_GRk) = f_GRk;
|
4763 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldsbu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4764 |
|
|
|
4765 |
|
|
#if WITH_PROFILE_MODEL_P
|
4766 |
|
|
/* Record the fields for profiling. */
|
4767 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4768 |
|
|
{
|
4769 |
|
|
FLD (in_GRi) = f_GRi;
|
4770 |
|
|
FLD (in_GRj) = f_GRj;
|
4771 |
|
|
FLD (out_GRi) = f_GRi;
|
4772 |
|
|
FLD (out_GRk) = f_GRk;
|
4773 |
|
|
}
|
4774 |
|
|
#endif
|
4775 |
|
|
#undef FLD
|
4776 |
|
|
return idesc;
|
4777 |
|
|
}
|
4778 |
|
|
|
4779 |
|
|
extract_sfmt_ldbfu:
|
4780 |
|
|
{
|
4781 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4782 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4783 |
|
|
#define FLD(f) abuf->fields.sfmt_cldbfu.f
|
4784 |
|
|
UINT f_FRk;
|
4785 |
|
|
UINT f_GRi;
|
4786 |
|
|
UINT f_GRj;
|
4787 |
|
|
|
4788 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4789 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4790 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4791 |
|
|
|
4792 |
|
|
/* Record the fields for the semantic handler. */
|
4793 |
|
|
FLD (f_GRi) = f_GRi;
|
4794 |
|
|
FLD (f_GRj) = f_GRj;
|
4795 |
|
|
FLD (f_FRk) = f_FRk;
|
4796 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldbfu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4797 |
|
|
|
4798 |
|
|
#if WITH_PROFILE_MODEL_P
|
4799 |
|
|
/* Record the fields for profiling. */
|
4800 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4801 |
|
|
{
|
4802 |
|
|
FLD (in_GRi) = f_GRi;
|
4803 |
|
|
FLD (in_GRj) = f_GRj;
|
4804 |
|
|
FLD (out_FRintk) = f_FRk;
|
4805 |
|
|
FLD (out_GRi) = f_GRi;
|
4806 |
|
|
}
|
4807 |
|
|
#endif
|
4808 |
|
|
#undef FLD
|
4809 |
|
|
return idesc;
|
4810 |
|
|
}
|
4811 |
|
|
|
4812 |
|
|
extract_sfmt_ldcu:
|
4813 |
|
|
{
|
4814 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4815 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4816 |
|
|
#define FLD(f) abuf->fields.sfmt_ldcu.f
|
4817 |
|
|
UINT f_CPRk;
|
4818 |
|
|
UINT f_GRi;
|
4819 |
|
|
UINT f_GRj;
|
4820 |
|
|
|
4821 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4822 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4823 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4824 |
|
|
|
4825 |
|
|
/* Record the fields for the semantic handler. */
|
4826 |
|
|
FLD (f_GRi) = f_GRi;
|
4827 |
|
|
FLD (f_GRj) = f_GRj;
|
4828 |
|
|
FLD (f_CPRk) = f_CPRk;
|
4829 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldcu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_CPRk 0x%x", 'x', f_CPRk, (char *) 0));
|
4830 |
|
|
|
4831 |
|
|
#if WITH_PROFILE_MODEL_P
|
4832 |
|
|
/* Record the fields for profiling. */
|
4833 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4834 |
|
|
{
|
4835 |
|
|
FLD (in_GRi) = f_GRi;
|
4836 |
|
|
FLD (in_GRj) = f_GRj;
|
4837 |
|
|
FLD (out_CPRk) = f_CPRk;
|
4838 |
|
|
FLD (out_GRi) = f_GRi;
|
4839 |
|
|
}
|
4840 |
|
|
#endif
|
4841 |
|
|
#undef FLD
|
4842 |
|
|
return idesc;
|
4843 |
|
|
}
|
4844 |
|
|
|
4845 |
|
|
extract_sfmt_nldbfu:
|
4846 |
|
|
{
|
4847 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4848 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4849 |
|
|
#define FLD(f) abuf->fields.sfmt_cldbfu.f
|
4850 |
|
|
UINT f_FRk;
|
4851 |
|
|
UINT f_GRi;
|
4852 |
|
|
UINT f_GRj;
|
4853 |
|
|
|
4854 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4855 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4856 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4857 |
|
|
|
4858 |
|
|
/* Record the fields for the semantic handler. */
|
4859 |
|
|
FLD (f_GRi) = f_GRi;
|
4860 |
|
|
FLD (f_GRj) = f_GRj;
|
4861 |
|
|
FLD (f_FRk) = f_FRk;
|
4862 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldbfu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4863 |
|
|
|
4864 |
|
|
#if WITH_PROFILE_MODEL_P
|
4865 |
|
|
/* Record the fields for profiling. */
|
4866 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4867 |
|
|
{
|
4868 |
|
|
FLD (in_GRi) = f_GRi;
|
4869 |
|
|
FLD (in_GRj) = f_GRj;
|
4870 |
|
|
FLD (out_FRintk) = f_FRk;
|
4871 |
|
|
FLD (out_GRi) = f_GRi;
|
4872 |
|
|
}
|
4873 |
|
|
#endif
|
4874 |
|
|
#undef FLD
|
4875 |
|
|
return idesc;
|
4876 |
|
|
}
|
4877 |
|
|
|
4878 |
|
|
extract_sfmt_lddu:
|
4879 |
|
|
{
|
4880 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4881 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4882 |
|
|
#define FLD(f) abuf->fields.sfmt_clddu.f
|
4883 |
|
|
UINT f_GRk;
|
4884 |
|
|
UINT f_GRi;
|
4885 |
|
|
UINT f_GRj;
|
4886 |
|
|
|
4887 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4888 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4889 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4890 |
|
|
|
4891 |
|
|
/* Record the fields for the semantic handler. */
|
4892 |
|
|
FLD (f_GRi) = f_GRi;
|
4893 |
|
|
FLD (f_GRj) = f_GRj;
|
4894 |
|
|
FLD (f_GRk) = f_GRk;
|
4895 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4896 |
|
|
|
4897 |
|
|
#if WITH_PROFILE_MODEL_P
|
4898 |
|
|
/* Record the fields for profiling. */
|
4899 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4900 |
|
|
{
|
4901 |
|
|
FLD (in_GRi) = f_GRi;
|
4902 |
|
|
FLD (in_GRj) = f_GRj;
|
4903 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
4904 |
|
|
FLD (out_GRi) = f_GRi;
|
4905 |
|
|
}
|
4906 |
|
|
#endif
|
4907 |
|
|
#undef FLD
|
4908 |
|
|
return idesc;
|
4909 |
|
|
}
|
4910 |
|
|
|
4911 |
|
|
extract_sfmt_nlddu:
|
4912 |
|
|
{
|
4913 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4914 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4915 |
|
|
#define FLD(f) abuf->fields.sfmt_clddu.f
|
4916 |
|
|
UINT f_GRk;
|
4917 |
|
|
UINT f_GRi;
|
4918 |
|
|
UINT f_GRj;
|
4919 |
|
|
|
4920 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4921 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4922 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4923 |
|
|
|
4924 |
|
|
/* Record the fields for the semantic handler. */
|
4925 |
|
|
FLD (f_GRi) = f_GRi;
|
4926 |
|
|
FLD (f_GRj) = f_GRj;
|
4927 |
|
|
FLD (f_GRk) = f_GRk;
|
4928 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nlddu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
4929 |
|
|
|
4930 |
|
|
#if WITH_PROFILE_MODEL_P
|
4931 |
|
|
/* Record the fields for profiling. */
|
4932 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4933 |
|
|
{
|
4934 |
|
|
FLD (in_GRi) = f_GRi;
|
4935 |
|
|
FLD (in_GRj) = f_GRj;
|
4936 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
4937 |
|
|
FLD (out_GRi) = f_GRi;
|
4938 |
|
|
}
|
4939 |
|
|
#endif
|
4940 |
|
|
#undef FLD
|
4941 |
|
|
return idesc;
|
4942 |
|
|
}
|
4943 |
|
|
|
4944 |
|
|
extract_sfmt_lddfu:
|
4945 |
|
|
{
|
4946 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4947 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4948 |
|
|
#define FLD(f) abuf->fields.sfmt_clddfu.f
|
4949 |
|
|
UINT f_FRk;
|
4950 |
|
|
UINT f_GRi;
|
4951 |
|
|
UINT f_GRj;
|
4952 |
|
|
|
4953 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4954 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4955 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4956 |
|
|
|
4957 |
|
|
/* Record the fields for the semantic handler. */
|
4958 |
|
|
FLD (f_GRi) = f_GRi;
|
4959 |
|
|
FLD (f_GRj) = f_GRj;
|
4960 |
|
|
FLD (f_FRk) = f_FRk;
|
4961 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddfu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
4962 |
|
|
|
4963 |
|
|
#if WITH_PROFILE_MODEL_P
|
4964 |
|
|
/* Record the fields for profiling. */
|
4965 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4966 |
|
|
{
|
4967 |
|
|
FLD (in_GRi) = f_GRi;
|
4968 |
|
|
FLD (in_GRj) = f_GRj;
|
4969 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
4970 |
|
|
FLD (out_GRi) = f_GRi;
|
4971 |
|
|
}
|
4972 |
|
|
#endif
|
4973 |
|
|
#undef FLD
|
4974 |
|
|
return idesc;
|
4975 |
|
|
}
|
4976 |
|
|
|
4977 |
|
|
extract_sfmt_lddcu:
|
4978 |
|
|
{
|
4979 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
4980 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
4981 |
|
|
#define FLD(f) abuf->fields.sfmt_lddcu.f
|
4982 |
|
|
UINT f_CPRk;
|
4983 |
|
|
UINT f_GRi;
|
4984 |
|
|
UINT f_GRj;
|
4985 |
|
|
|
4986 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
4987 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
4988 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
4989 |
|
|
|
4990 |
|
|
/* Record the fields for the semantic handler. */
|
4991 |
|
|
FLD (f_GRi) = f_GRi;
|
4992 |
|
|
FLD (f_GRj) = f_GRj;
|
4993 |
|
|
FLD (f_CPRk) = f_CPRk;
|
4994 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddcu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_CPRk 0x%x", 'x', f_CPRk, (char *) 0));
|
4995 |
|
|
|
4996 |
|
|
#if WITH_PROFILE_MODEL_P
|
4997 |
|
|
/* Record the fields for profiling. */
|
4998 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
4999 |
|
|
{
|
5000 |
|
|
FLD (in_GRi) = f_GRi;
|
5001 |
|
|
FLD (in_GRj) = f_GRj;
|
5002 |
|
|
FLD (out_CPRdoublek) = f_CPRk;
|
5003 |
|
|
FLD (out_GRi) = f_GRi;
|
5004 |
|
|
}
|
5005 |
|
|
#endif
|
5006 |
|
|
#undef FLD
|
5007 |
|
|
return idesc;
|
5008 |
|
|
}
|
5009 |
|
|
|
5010 |
|
|
extract_sfmt_nlddfu:
|
5011 |
|
|
{
|
5012 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5013 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5014 |
|
|
#define FLD(f) abuf->fields.sfmt_clddfu.f
|
5015 |
|
|
UINT f_FRk;
|
5016 |
|
|
UINT f_GRi;
|
5017 |
|
|
UINT f_GRj;
|
5018 |
|
|
|
5019 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5020 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5021 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5022 |
|
|
|
5023 |
|
|
/* Record the fields for the semantic handler. */
|
5024 |
|
|
FLD (f_GRi) = f_GRi;
|
5025 |
|
|
FLD (f_GRj) = f_GRj;
|
5026 |
|
|
FLD (f_FRk) = f_FRk;
|
5027 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nlddfu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5028 |
|
|
|
5029 |
|
|
#if WITH_PROFILE_MODEL_P
|
5030 |
|
|
/* Record the fields for profiling. */
|
5031 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5032 |
|
|
{
|
5033 |
|
|
FLD (in_GRi) = f_GRi;
|
5034 |
|
|
FLD (in_GRj) = f_GRj;
|
5035 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
5036 |
|
|
FLD (out_GRi) = f_GRi;
|
5037 |
|
|
}
|
5038 |
|
|
#endif
|
5039 |
|
|
#undef FLD
|
5040 |
|
|
return idesc;
|
5041 |
|
|
}
|
5042 |
|
|
|
5043 |
|
|
extract_sfmt_ldqu:
|
5044 |
|
|
{
|
5045 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5046 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5047 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
5048 |
|
|
UINT f_GRk;
|
5049 |
|
|
UINT f_GRi;
|
5050 |
|
|
UINT f_GRj;
|
5051 |
|
|
|
5052 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5053 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5054 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5055 |
|
|
|
5056 |
|
|
/* Record the fields for the semantic handler. */
|
5057 |
|
|
FLD (f_GRi) = f_GRi;
|
5058 |
|
|
FLD (f_GRj) = f_GRj;
|
5059 |
|
|
FLD (f_GRk) = f_GRk;
|
5060 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5061 |
|
|
|
5062 |
|
|
#if WITH_PROFILE_MODEL_P
|
5063 |
|
|
/* Record the fields for profiling. */
|
5064 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5065 |
|
|
{
|
5066 |
|
|
FLD (in_GRi) = f_GRi;
|
5067 |
|
|
FLD (in_GRj) = f_GRj;
|
5068 |
|
|
FLD (out_GRi) = f_GRi;
|
5069 |
|
|
}
|
5070 |
|
|
#endif
|
5071 |
|
|
#undef FLD
|
5072 |
|
|
return idesc;
|
5073 |
|
|
}
|
5074 |
|
|
|
5075 |
|
|
extract_sfmt_nldqu:
|
5076 |
|
|
{
|
5077 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5078 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5079 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
5080 |
|
|
UINT f_GRk;
|
5081 |
|
|
UINT f_GRi;
|
5082 |
|
|
UINT f_GRj;
|
5083 |
|
|
|
5084 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5085 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5086 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5087 |
|
|
|
5088 |
|
|
/* Record the fields for the semantic handler. */
|
5089 |
|
|
FLD (f_GRi) = f_GRi;
|
5090 |
|
|
FLD (f_GRj) = f_GRj;
|
5091 |
|
|
FLD (f_GRk) = f_GRk;
|
5092 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldqu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5093 |
|
|
|
5094 |
|
|
#if WITH_PROFILE_MODEL_P
|
5095 |
|
|
/* Record the fields for profiling. */
|
5096 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5097 |
|
|
{
|
5098 |
|
|
FLD (in_GRi) = f_GRi;
|
5099 |
|
|
FLD (in_GRj) = f_GRj;
|
5100 |
|
|
FLD (out_GRi) = f_GRi;
|
5101 |
|
|
}
|
5102 |
|
|
#endif
|
5103 |
|
|
#undef FLD
|
5104 |
|
|
return idesc;
|
5105 |
|
|
}
|
5106 |
|
|
|
5107 |
|
|
extract_sfmt_ldqfu:
|
5108 |
|
|
{
|
5109 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5110 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5111 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
5112 |
|
|
UINT f_FRk;
|
5113 |
|
|
UINT f_GRi;
|
5114 |
|
|
UINT f_GRj;
|
5115 |
|
|
|
5116 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5117 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5118 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5119 |
|
|
|
5120 |
|
|
/* Record the fields for the semantic handler. */
|
5121 |
|
|
FLD (f_GRi) = f_GRi;
|
5122 |
|
|
FLD (f_GRj) = f_GRj;
|
5123 |
|
|
FLD (f_FRk) = f_FRk;
|
5124 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqfu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5125 |
|
|
|
5126 |
|
|
#if WITH_PROFILE_MODEL_P
|
5127 |
|
|
/* Record the fields for profiling. */
|
5128 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5129 |
|
|
{
|
5130 |
|
|
FLD (in_GRi) = f_GRi;
|
5131 |
|
|
FLD (in_GRj) = f_GRj;
|
5132 |
|
|
FLD (out_GRi) = f_GRi;
|
5133 |
|
|
}
|
5134 |
|
|
#endif
|
5135 |
|
|
#undef FLD
|
5136 |
|
|
return idesc;
|
5137 |
|
|
}
|
5138 |
|
|
|
5139 |
|
|
extract_sfmt_ldqcu:
|
5140 |
|
|
{
|
5141 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5142 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5143 |
|
|
#define FLD(f) abuf->fields.sfmt_stdcu.f
|
5144 |
|
|
UINT f_CPRk;
|
5145 |
|
|
UINT f_GRi;
|
5146 |
|
|
UINT f_GRj;
|
5147 |
|
|
|
5148 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5149 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5150 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5151 |
|
|
|
5152 |
|
|
/* Record the fields for the semantic handler. */
|
5153 |
|
|
FLD (f_GRi) = f_GRi;
|
5154 |
|
|
FLD (f_GRj) = f_GRj;
|
5155 |
|
|
FLD (f_CPRk) = f_CPRk;
|
5156 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqcu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_CPRk 0x%x", 'x', f_CPRk, (char *) 0));
|
5157 |
|
|
|
5158 |
|
|
#if WITH_PROFILE_MODEL_P
|
5159 |
|
|
/* Record the fields for profiling. */
|
5160 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5161 |
|
|
{
|
5162 |
|
|
FLD (in_GRi) = f_GRi;
|
5163 |
|
|
FLD (in_GRj) = f_GRj;
|
5164 |
|
|
FLD (out_GRi) = f_GRi;
|
5165 |
|
|
}
|
5166 |
|
|
#endif
|
5167 |
|
|
#undef FLD
|
5168 |
|
|
return idesc;
|
5169 |
|
|
}
|
5170 |
|
|
|
5171 |
|
|
extract_sfmt_nldqfu:
|
5172 |
|
|
{
|
5173 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5174 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5175 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
5176 |
|
|
UINT f_FRk;
|
5177 |
|
|
UINT f_GRi;
|
5178 |
|
|
UINT f_GRj;
|
5179 |
|
|
|
5180 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5181 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5182 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5183 |
|
|
|
5184 |
|
|
/* Record the fields for the semantic handler. */
|
5185 |
|
|
FLD (f_GRi) = f_GRi;
|
5186 |
|
|
FLD (f_GRj) = f_GRj;
|
5187 |
|
|
FLD (f_FRk) = f_FRk;
|
5188 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldqfu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5189 |
|
|
|
5190 |
|
|
#if WITH_PROFILE_MODEL_P
|
5191 |
|
|
/* Record the fields for profiling. */
|
5192 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5193 |
|
|
{
|
5194 |
|
|
FLD (in_GRi) = f_GRi;
|
5195 |
|
|
FLD (in_GRj) = f_GRj;
|
5196 |
|
|
FLD (out_GRi) = f_GRi;
|
5197 |
|
|
}
|
5198 |
|
|
#endif
|
5199 |
|
|
#undef FLD
|
5200 |
|
|
return idesc;
|
5201 |
|
|
}
|
5202 |
|
|
|
5203 |
|
|
extract_sfmt_ldsbi:
|
5204 |
|
|
{
|
5205 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5206 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5207 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
5208 |
|
|
UINT f_GRk;
|
5209 |
|
|
UINT f_GRi;
|
5210 |
|
|
INT f_d12;
|
5211 |
|
|
|
5212 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5213 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5214 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5215 |
|
|
|
5216 |
|
|
/* Record the fields for the semantic handler. */
|
5217 |
|
|
FLD (f_GRi) = f_GRi;
|
5218 |
|
|
FLD (f_d12) = f_d12;
|
5219 |
|
|
FLD (f_GRk) = f_GRk;
|
5220 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldsbi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5221 |
|
|
|
5222 |
|
|
#if WITH_PROFILE_MODEL_P
|
5223 |
|
|
/* Record the fields for profiling. */
|
5224 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5225 |
|
|
{
|
5226 |
|
|
FLD (in_GRi) = f_GRi;
|
5227 |
|
|
FLD (out_GRk) = f_GRk;
|
5228 |
|
|
}
|
5229 |
|
|
#endif
|
5230 |
|
|
#undef FLD
|
5231 |
|
|
return idesc;
|
5232 |
|
|
}
|
5233 |
|
|
|
5234 |
|
|
extract_sfmt_ldbfi:
|
5235 |
|
|
{
|
5236 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5237 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5238 |
|
|
#define FLD(f) abuf->fields.sfmt_ldbfi.f
|
5239 |
|
|
UINT f_FRk;
|
5240 |
|
|
UINT f_GRi;
|
5241 |
|
|
INT f_d12;
|
5242 |
|
|
|
5243 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5244 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5245 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5246 |
|
|
|
5247 |
|
|
/* Record the fields for the semantic handler. */
|
5248 |
|
|
FLD (f_GRi) = f_GRi;
|
5249 |
|
|
FLD (f_d12) = f_d12;
|
5250 |
|
|
FLD (f_FRk) = f_FRk;
|
5251 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldbfi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5252 |
|
|
|
5253 |
|
|
#if WITH_PROFILE_MODEL_P
|
5254 |
|
|
/* Record the fields for profiling. */
|
5255 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5256 |
|
|
{
|
5257 |
|
|
FLD (in_GRi) = f_GRi;
|
5258 |
|
|
FLD (out_FRintk) = f_FRk;
|
5259 |
|
|
}
|
5260 |
|
|
#endif
|
5261 |
|
|
#undef FLD
|
5262 |
|
|
return idesc;
|
5263 |
|
|
}
|
5264 |
|
|
|
5265 |
|
|
extract_sfmt_nldsbi:
|
5266 |
|
|
{
|
5267 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5268 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5269 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
5270 |
|
|
UINT f_GRk;
|
5271 |
|
|
UINT f_GRi;
|
5272 |
|
|
INT f_d12;
|
5273 |
|
|
|
5274 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5275 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5276 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5277 |
|
|
|
5278 |
|
|
/* Record the fields for the semantic handler. */
|
5279 |
|
|
FLD (f_GRi) = f_GRi;
|
5280 |
|
|
FLD (f_d12) = f_d12;
|
5281 |
|
|
FLD (f_GRk) = f_GRk;
|
5282 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldsbi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5283 |
|
|
|
5284 |
|
|
#if WITH_PROFILE_MODEL_P
|
5285 |
|
|
/* Record the fields for profiling. */
|
5286 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5287 |
|
|
{
|
5288 |
|
|
FLD (in_GRi) = f_GRi;
|
5289 |
|
|
FLD (out_GRk) = f_GRk;
|
5290 |
|
|
}
|
5291 |
|
|
#endif
|
5292 |
|
|
#undef FLD
|
5293 |
|
|
return idesc;
|
5294 |
|
|
}
|
5295 |
|
|
|
5296 |
|
|
extract_sfmt_nldbfi:
|
5297 |
|
|
{
|
5298 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5299 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5300 |
|
|
#define FLD(f) abuf->fields.sfmt_ldbfi.f
|
5301 |
|
|
UINT f_FRk;
|
5302 |
|
|
UINT f_GRi;
|
5303 |
|
|
INT f_d12;
|
5304 |
|
|
|
5305 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5306 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5307 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5308 |
|
|
|
5309 |
|
|
/* Record the fields for the semantic handler. */
|
5310 |
|
|
FLD (f_GRi) = f_GRi;
|
5311 |
|
|
FLD (f_d12) = f_d12;
|
5312 |
|
|
FLD (f_FRk) = f_FRk;
|
5313 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldbfi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5314 |
|
|
|
5315 |
|
|
#if WITH_PROFILE_MODEL_P
|
5316 |
|
|
/* Record the fields for profiling. */
|
5317 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5318 |
|
|
{
|
5319 |
|
|
FLD (in_GRi) = f_GRi;
|
5320 |
|
|
FLD (out_FRintk) = f_FRk;
|
5321 |
|
|
}
|
5322 |
|
|
#endif
|
5323 |
|
|
#undef FLD
|
5324 |
|
|
return idesc;
|
5325 |
|
|
}
|
5326 |
|
|
|
5327 |
|
|
extract_sfmt_lddi:
|
5328 |
|
|
{
|
5329 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5330 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5331 |
|
|
#define FLD(f) abuf->fields.sfmt_smuli.f
|
5332 |
|
|
UINT f_GRk;
|
5333 |
|
|
UINT f_GRi;
|
5334 |
|
|
INT f_d12;
|
5335 |
|
|
|
5336 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5337 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5338 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5339 |
|
|
|
5340 |
|
|
/* Record the fields for the semantic handler. */
|
5341 |
|
|
FLD (f_GRi) = f_GRi;
|
5342 |
|
|
FLD (f_d12) = f_d12;
|
5343 |
|
|
FLD (f_GRk) = f_GRk;
|
5344 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5345 |
|
|
|
5346 |
|
|
#if WITH_PROFILE_MODEL_P
|
5347 |
|
|
/* Record the fields for profiling. */
|
5348 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5349 |
|
|
{
|
5350 |
|
|
FLD (in_GRi) = f_GRi;
|
5351 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
5352 |
|
|
}
|
5353 |
|
|
#endif
|
5354 |
|
|
#undef FLD
|
5355 |
|
|
return idesc;
|
5356 |
|
|
}
|
5357 |
|
|
|
5358 |
|
|
extract_sfmt_lddfi:
|
5359 |
|
|
{
|
5360 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5361 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5362 |
|
|
#define FLD(f) abuf->fields.sfmt_lddfi.f
|
5363 |
|
|
UINT f_FRk;
|
5364 |
|
|
UINT f_GRi;
|
5365 |
|
|
INT f_d12;
|
5366 |
|
|
|
5367 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5368 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5369 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5370 |
|
|
|
5371 |
|
|
/* Record the fields for the semantic handler. */
|
5372 |
|
|
FLD (f_GRi) = f_GRi;
|
5373 |
|
|
FLD (f_d12) = f_d12;
|
5374 |
|
|
FLD (f_FRk) = f_FRk;
|
5375 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_lddfi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5376 |
|
|
|
5377 |
|
|
#if WITH_PROFILE_MODEL_P
|
5378 |
|
|
/* Record the fields for profiling. */
|
5379 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5380 |
|
|
{
|
5381 |
|
|
FLD (in_GRi) = f_GRi;
|
5382 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
5383 |
|
|
}
|
5384 |
|
|
#endif
|
5385 |
|
|
#undef FLD
|
5386 |
|
|
return idesc;
|
5387 |
|
|
}
|
5388 |
|
|
|
5389 |
|
|
extract_sfmt_nlddi:
|
5390 |
|
|
{
|
5391 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5392 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5393 |
|
|
#define FLD(f) abuf->fields.sfmt_smuli.f
|
5394 |
|
|
UINT f_GRk;
|
5395 |
|
|
UINT f_GRi;
|
5396 |
|
|
INT f_d12;
|
5397 |
|
|
|
5398 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5399 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5400 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5401 |
|
|
|
5402 |
|
|
/* Record the fields for the semantic handler. */
|
5403 |
|
|
FLD (f_GRi) = f_GRi;
|
5404 |
|
|
FLD (f_d12) = f_d12;
|
5405 |
|
|
FLD (f_GRk) = f_GRk;
|
5406 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nlddi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5407 |
|
|
|
5408 |
|
|
#if WITH_PROFILE_MODEL_P
|
5409 |
|
|
/* Record the fields for profiling. */
|
5410 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5411 |
|
|
{
|
5412 |
|
|
FLD (in_GRi) = f_GRi;
|
5413 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
5414 |
|
|
}
|
5415 |
|
|
#endif
|
5416 |
|
|
#undef FLD
|
5417 |
|
|
return idesc;
|
5418 |
|
|
}
|
5419 |
|
|
|
5420 |
|
|
extract_sfmt_nlddfi:
|
5421 |
|
|
{
|
5422 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5423 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5424 |
|
|
#define FLD(f) abuf->fields.sfmt_lddfi.f
|
5425 |
|
|
UINT f_FRk;
|
5426 |
|
|
UINT f_GRi;
|
5427 |
|
|
INT f_d12;
|
5428 |
|
|
|
5429 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5430 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5431 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5432 |
|
|
|
5433 |
|
|
/* Record the fields for the semantic handler. */
|
5434 |
|
|
FLD (f_GRi) = f_GRi;
|
5435 |
|
|
FLD (f_d12) = f_d12;
|
5436 |
|
|
FLD (f_FRk) = f_FRk;
|
5437 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nlddfi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5438 |
|
|
|
5439 |
|
|
#if WITH_PROFILE_MODEL_P
|
5440 |
|
|
/* Record the fields for profiling. */
|
5441 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5442 |
|
|
{
|
5443 |
|
|
FLD (in_GRi) = f_GRi;
|
5444 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
5445 |
|
|
}
|
5446 |
|
|
#endif
|
5447 |
|
|
#undef FLD
|
5448 |
|
|
return idesc;
|
5449 |
|
|
}
|
5450 |
|
|
|
5451 |
|
|
extract_sfmt_ldqi:
|
5452 |
|
|
{
|
5453 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5454 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5455 |
|
|
#define FLD(f) abuf->fields.sfmt_stdi.f
|
5456 |
|
|
UINT f_GRk;
|
5457 |
|
|
UINT f_GRi;
|
5458 |
|
|
INT f_d12;
|
5459 |
|
|
|
5460 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5461 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5462 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5463 |
|
|
|
5464 |
|
|
/* Record the fields for the semantic handler. */
|
5465 |
|
|
FLD (f_GRi) = f_GRi;
|
5466 |
|
|
FLD (f_d12) = f_d12;
|
5467 |
|
|
FLD (f_GRk) = f_GRk;
|
5468 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5469 |
|
|
|
5470 |
|
|
#if WITH_PROFILE_MODEL_P
|
5471 |
|
|
/* Record the fields for profiling. */
|
5472 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5473 |
|
|
{
|
5474 |
|
|
FLD (in_GRi) = f_GRi;
|
5475 |
|
|
}
|
5476 |
|
|
#endif
|
5477 |
|
|
#undef FLD
|
5478 |
|
|
return idesc;
|
5479 |
|
|
}
|
5480 |
|
|
|
5481 |
|
|
extract_sfmt_ldqfi:
|
5482 |
|
|
{
|
5483 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5484 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5485 |
|
|
#define FLD(f) abuf->fields.sfmt_stdfi.f
|
5486 |
|
|
UINT f_FRk;
|
5487 |
|
|
UINT f_GRi;
|
5488 |
|
|
INT f_d12;
|
5489 |
|
|
|
5490 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5491 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5492 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5493 |
|
|
|
5494 |
|
|
/* Record the fields for the semantic handler. */
|
5495 |
|
|
FLD (f_GRi) = f_GRi;
|
5496 |
|
|
FLD (f_d12) = f_d12;
|
5497 |
|
|
FLD (f_FRk) = f_FRk;
|
5498 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ldqfi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5499 |
|
|
|
5500 |
|
|
#if WITH_PROFILE_MODEL_P
|
5501 |
|
|
/* Record the fields for profiling. */
|
5502 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5503 |
|
|
{
|
5504 |
|
|
FLD (in_GRi) = f_GRi;
|
5505 |
|
|
}
|
5506 |
|
|
#endif
|
5507 |
|
|
#undef FLD
|
5508 |
|
|
return idesc;
|
5509 |
|
|
}
|
5510 |
|
|
|
5511 |
|
|
extract_sfmt_nldqfi:
|
5512 |
|
|
{
|
5513 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5514 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5515 |
|
|
#define FLD(f) abuf->fields.sfmt_stdfi.f
|
5516 |
|
|
UINT f_FRk;
|
5517 |
|
|
UINT f_GRi;
|
5518 |
|
|
INT f_d12;
|
5519 |
|
|
|
5520 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5521 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5522 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
5523 |
|
|
|
5524 |
|
|
/* Record the fields for the semantic handler. */
|
5525 |
|
|
FLD (f_GRi) = f_GRi;
|
5526 |
|
|
FLD (f_d12) = f_d12;
|
5527 |
|
|
FLD (f_FRk) = f_FRk;
|
5528 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nldqfi", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
5529 |
|
|
|
5530 |
|
|
#if WITH_PROFILE_MODEL_P
|
5531 |
|
|
/* Record the fields for profiling. */
|
5532 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5533 |
|
|
{
|
5534 |
|
|
FLD (in_GRi) = f_GRi;
|
5535 |
|
|
}
|
5536 |
|
|
#endif
|
5537 |
|
|
#undef FLD
|
5538 |
|
|
return idesc;
|
5539 |
|
|
}
|
5540 |
|
|
|
5541 |
|
|
extract_sfmt_stb:
|
5542 |
|
|
{
|
5543 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5544 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5545 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
5546 |
|
|
UINT f_GRk;
|
5547 |
|
|
UINT f_GRi;
|
5548 |
|
|
UINT f_GRj;
|
5549 |
|
|
|
5550 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5551 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5552 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5553 |
|
|
|
5554 |
|
|
/* Record the fields for the semantic handler. */
|
5555 |
|
|
FLD (f_GRi) = f_GRi;
|
5556 |
|
|
FLD (f_GRj) = f_GRj;
|
5557 |
|
|
FLD (f_GRk) = f_GRk;
|
5558 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stb", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5559 |
|
|
|
5560 |
|
|
#if WITH_PROFILE_MODEL_P
|
5561 |
|
|
/* Record the fields for profiling. */
|
5562 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5563 |
|
|
{
|
5564 |
|
|
FLD (in_GRi) = f_GRi;
|
5565 |
|
|
FLD (in_GRj) = f_GRj;
|
5566 |
|
|
FLD (in_GRk) = f_GRk;
|
5567 |
|
|
}
|
5568 |
|
|
#endif
|
5569 |
|
|
#undef FLD
|
5570 |
|
|
return idesc;
|
5571 |
|
|
}
|
5572 |
|
|
|
5573 |
|
|
extract_sfmt_stbf:
|
5574 |
|
|
{
|
5575 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5576 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5577 |
|
|
#define FLD(f) abuf->fields.sfmt_cstbfu.f
|
5578 |
|
|
UINT f_FRk;
|
5579 |
|
|
UINT f_GRi;
|
5580 |
|
|
UINT f_GRj;
|
5581 |
|
|
|
5582 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5583 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5584 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5585 |
|
|
|
5586 |
|
|
/* Record the fields for the semantic handler. */
|
5587 |
|
|
FLD (f_FRk) = f_FRk;
|
5588 |
|
|
FLD (f_GRi) = f_GRi;
|
5589 |
|
|
FLD (f_GRj) = f_GRj;
|
5590 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stbf", "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5591 |
|
|
|
5592 |
|
|
#if WITH_PROFILE_MODEL_P
|
5593 |
|
|
/* Record the fields for profiling. */
|
5594 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5595 |
|
|
{
|
5596 |
|
|
FLD (in_FRintk) = f_FRk;
|
5597 |
|
|
FLD (in_GRi) = f_GRi;
|
5598 |
|
|
FLD (in_GRj) = f_GRj;
|
5599 |
|
|
}
|
5600 |
|
|
#endif
|
5601 |
|
|
#undef FLD
|
5602 |
|
|
return idesc;
|
5603 |
|
|
}
|
5604 |
|
|
|
5605 |
|
|
extract_sfmt_stc:
|
5606 |
|
|
{
|
5607 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5608 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5609 |
|
|
#define FLD(f) abuf->fields.sfmt_stcu.f
|
5610 |
|
|
UINT f_CPRk;
|
5611 |
|
|
UINT f_GRi;
|
5612 |
|
|
UINT f_GRj;
|
5613 |
|
|
|
5614 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5615 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5616 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5617 |
|
|
|
5618 |
|
|
/* Record the fields for the semantic handler. */
|
5619 |
|
|
FLD (f_CPRk) = f_CPRk;
|
5620 |
|
|
FLD (f_GRi) = f_GRi;
|
5621 |
|
|
FLD (f_GRj) = f_GRj;
|
5622 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stc", "f_CPRk 0x%x", 'x', f_CPRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5623 |
|
|
|
5624 |
|
|
#if WITH_PROFILE_MODEL_P
|
5625 |
|
|
/* Record the fields for profiling. */
|
5626 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5627 |
|
|
{
|
5628 |
|
|
FLD (in_CPRk) = f_CPRk;
|
5629 |
|
|
FLD (in_GRi) = f_GRi;
|
5630 |
|
|
FLD (in_GRj) = f_GRj;
|
5631 |
|
|
}
|
5632 |
|
|
#endif
|
5633 |
|
|
#undef FLD
|
5634 |
|
|
return idesc;
|
5635 |
|
|
}
|
5636 |
|
|
|
5637 |
|
|
extract_sfmt_std:
|
5638 |
|
|
{
|
5639 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5640 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5641 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
5642 |
|
|
UINT f_GRk;
|
5643 |
|
|
UINT f_GRi;
|
5644 |
|
|
UINT f_GRj;
|
5645 |
|
|
|
5646 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5647 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5648 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5649 |
|
|
|
5650 |
|
|
/* Record the fields for the semantic handler. */
|
5651 |
|
|
FLD (f_GRk) = f_GRk;
|
5652 |
|
|
FLD (f_GRi) = f_GRi;
|
5653 |
|
|
FLD (f_GRj) = f_GRj;
|
5654 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_std", "f_GRk 0x%x", 'x', f_GRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5655 |
|
|
|
5656 |
|
|
#if WITH_PROFILE_MODEL_P
|
5657 |
|
|
/* Record the fields for profiling. */
|
5658 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5659 |
|
|
{
|
5660 |
|
|
FLD (in_GRdoublek) = f_GRk;
|
5661 |
|
|
FLD (in_GRi) = f_GRi;
|
5662 |
|
|
FLD (in_GRj) = f_GRj;
|
5663 |
|
|
}
|
5664 |
|
|
#endif
|
5665 |
|
|
#undef FLD
|
5666 |
|
|
return idesc;
|
5667 |
|
|
}
|
5668 |
|
|
|
5669 |
|
|
extract_sfmt_stdf:
|
5670 |
|
|
{
|
5671 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5672 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5673 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
5674 |
|
|
UINT f_FRk;
|
5675 |
|
|
UINT f_GRi;
|
5676 |
|
|
UINT f_GRj;
|
5677 |
|
|
|
5678 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5679 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5680 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5681 |
|
|
|
5682 |
|
|
/* Record the fields for the semantic handler. */
|
5683 |
|
|
FLD (f_FRk) = f_FRk;
|
5684 |
|
|
FLD (f_GRi) = f_GRi;
|
5685 |
|
|
FLD (f_GRj) = f_GRj;
|
5686 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdf", "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5687 |
|
|
|
5688 |
|
|
#if WITH_PROFILE_MODEL_P
|
5689 |
|
|
/* Record the fields for profiling. */
|
5690 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5691 |
|
|
{
|
5692 |
|
|
FLD (in_FRdoublek) = f_FRk;
|
5693 |
|
|
FLD (in_GRi) = f_GRi;
|
5694 |
|
|
FLD (in_GRj) = f_GRj;
|
5695 |
|
|
}
|
5696 |
|
|
#endif
|
5697 |
|
|
#undef FLD
|
5698 |
|
|
return idesc;
|
5699 |
|
|
}
|
5700 |
|
|
|
5701 |
|
|
extract_sfmt_stdc:
|
5702 |
|
|
{
|
5703 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5704 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5705 |
|
|
#define FLD(f) abuf->fields.sfmt_stdcu.f
|
5706 |
|
|
UINT f_CPRk;
|
5707 |
|
|
UINT f_GRi;
|
5708 |
|
|
UINT f_GRj;
|
5709 |
|
|
|
5710 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5711 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5712 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5713 |
|
|
|
5714 |
|
|
/* Record the fields for the semantic handler. */
|
5715 |
|
|
FLD (f_CPRk) = f_CPRk;
|
5716 |
|
|
FLD (f_GRi) = f_GRi;
|
5717 |
|
|
FLD (f_GRj) = f_GRj;
|
5718 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdc", "f_CPRk 0x%x", 'x', f_CPRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5719 |
|
|
|
5720 |
|
|
#if WITH_PROFILE_MODEL_P
|
5721 |
|
|
/* Record the fields for profiling. */
|
5722 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5723 |
|
|
{
|
5724 |
|
|
FLD (in_CPRdoublek) = f_CPRk;
|
5725 |
|
|
FLD (in_GRi) = f_GRi;
|
5726 |
|
|
FLD (in_GRj) = f_GRj;
|
5727 |
|
|
}
|
5728 |
|
|
#endif
|
5729 |
|
|
#undef FLD
|
5730 |
|
|
return idesc;
|
5731 |
|
|
}
|
5732 |
|
|
|
5733 |
|
|
extract_sfmt_stbu:
|
5734 |
|
|
{
|
5735 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5736 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5737 |
|
|
#define FLD(f) abuf->fields.sfmt_cstbu.f
|
5738 |
|
|
UINT f_GRk;
|
5739 |
|
|
UINT f_GRi;
|
5740 |
|
|
UINT f_GRj;
|
5741 |
|
|
|
5742 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5743 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5744 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5745 |
|
|
|
5746 |
|
|
/* Record the fields for the semantic handler. */
|
5747 |
|
|
FLD (f_GRi) = f_GRi;
|
5748 |
|
|
FLD (f_GRj) = f_GRj;
|
5749 |
|
|
FLD (f_GRk) = f_GRk;
|
5750 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stbu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5751 |
|
|
|
5752 |
|
|
#if WITH_PROFILE_MODEL_P
|
5753 |
|
|
/* Record the fields for profiling. */
|
5754 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5755 |
|
|
{
|
5756 |
|
|
FLD (in_GRi) = f_GRi;
|
5757 |
|
|
FLD (in_GRj) = f_GRj;
|
5758 |
|
|
FLD (in_GRk) = f_GRk;
|
5759 |
|
|
FLD (out_GRi) = f_GRi;
|
5760 |
|
|
}
|
5761 |
|
|
#endif
|
5762 |
|
|
#undef FLD
|
5763 |
|
|
return idesc;
|
5764 |
|
|
}
|
5765 |
|
|
|
5766 |
|
|
extract_sfmt_stbfu:
|
5767 |
|
|
{
|
5768 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5769 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5770 |
|
|
#define FLD(f) abuf->fields.sfmt_cstbfu.f
|
5771 |
|
|
UINT f_FRk;
|
5772 |
|
|
UINT f_GRi;
|
5773 |
|
|
UINT f_GRj;
|
5774 |
|
|
|
5775 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5776 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5777 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5778 |
|
|
|
5779 |
|
|
/* Record the fields for the semantic handler. */
|
5780 |
|
|
FLD (f_FRk) = f_FRk;
|
5781 |
|
|
FLD (f_GRi) = f_GRi;
|
5782 |
|
|
FLD (f_GRj) = f_GRj;
|
5783 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stbfu", "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5784 |
|
|
|
5785 |
|
|
#if WITH_PROFILE_MODEL_P
|
5786 |
|
|
/* Record the fields for profiling. */
|
5787 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5788 |
|
|
{
|
5789 |
|
|
FLD (in_FRintk) = f_FRk;
|
5790 |
|
|
FLD (in_GRi) = f_GRi;
|
5791 |
|
|
FLD (in_GRj) = f_GRj;
|
5792 |
|
|
FLD (out_GRi) = f_GRi;
|
5793 |
|
|
}
|
5794 |
|
|
#endif
|
5795 |
|
|
#undef FLD
|
5796 |
|
|
return idesc;
|
5797 |
|
|
}
|
5798 |
|
|
|
5799 |
|
|
extract_sfmt_stcu:
|
5800 |
|
|
{
|
5801 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5802 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5803 |
|
|
#define FLD(f) abuf->fields.sfmt_stcu.f
|
5804 |
|
|
UINT f_CPRk;
|
5805 |
|
|
UINT f_GRi;
|
5806 |
|
|
UINT f_GRj;
|
5807 |
|
|
|
5808 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5809 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5810 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5811 |
|
|
|
5812 |
|
|
/* Record the fields for the semantic handler. */
|
5813 |
|
|
FLD (f_CPRk) = f_CPRk;
|
5814 |
|
|
FLD (f_GRi) = f_GRi;
|
5815 |
|
|
FLD (f_GRj) = f_GRj;
|
5816 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stcu", "f_CPRk 0x%x", 'x', f_CPRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5817 |
|
|
|
5818 |
|
|
#if WITH_PROFILE_MODEL_P
|
5819 |
|
|
/* Record the fields for profiling. */
|
5820 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5821 |
|
|
{
|
5822 |
|
|
FLD (in_CPRk) = f_CPRk;
|
5823 |
|
|
FLD (in_GRi) = f_GRi;
|
5824 |
|
|
FLD (in_GRj) = f_GRj;
|
5825 |
|
|
FLD (out_GRi) = f_GRi;
|
5826 |
|
|
}
|
5827 |
|
|
#endif
|
5828 |
|
|
#undef FLD
|
5829 |
|
|
return idesc;
|
5830 |
|
|
}
|
5831 |
|
|
|
5832 |
|
|
extract_sfmt_stdu:
|
5833 |
|
|
{
|
5834 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5835 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5836 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
5837 |
|
|
UINT f_GRk;
|
5838 |
|
|
UINT f_GRi;
|
5839 |
|
|
UINT f_GRj;
|
5840 |
|
|
|
5841 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5842 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5843 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5844 |
|
|
|
5845 |
|
|
/* Record the fields for the semantic handler. */
|
5846 |
|
|
FLD (f_GRk) = f_GRk;
|
5847 |
|
|
FLD (f_GRi) = f_GRi;
|
5848 |
|
|
FLD (f_GRj) = f_GRj;
|
5849 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdu", "f_GRk 0x%x", 'x', f_GRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5850 |
|
|
|
5851 |
|
|
#if WITH_PROFILE_MODEL_P
|
5852 |
|
|
/* Record the fields for profiling. */
|
5853 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5854 |
|
|
{
|
5855 |
|
|
FLD (in_GRdoublek) = f_GRk;
|
5856 |
|
|
FLD (in_GRi) = f_GRi;
|
5857 |
|
|
FLD (in_GRj) = f_GRj;
|
5858 |
|
|
FLD (out_GRi) = f_GRi;
|
5859 |
|
|
}
|
5860 |
|
|
#endif
|
5861 |
|
|
#undef FLD
|
5862 |
|
|
return idesc;
|
5863 |
|
|
}
|
5864 |
|
|
|
5865 |
|
|
extract_sfmt_stdfu:
|
5866 |
|
|
{
|
5867 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5868 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5869 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
5870 |
|
|
UINT f_FRk;
|
5871 |
|
|
UINT f_GRi;
|
5872 |
|
|
UINT f_GRj;
|
5873 |
|
|
|
5874 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5875 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5876 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5877 |
|
|
|
5878 |
|
|
/* Record the fields for the semantic handler. */
|
5879 |
|
|
FLD (f_FRk) = f_FRk;
|
5880 |
|
|
FLD (f_GRi) = f_GRi;
|
5881 |
|
|
FLD (f_GRj) = f_GRj;
|
5882 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdfu", "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5883 |
|
|
|
5884 |
|
|
#if WITH_PROFILE_MODEL_P
|
5885 |
|
|
/* Record the fields for profiling. */
|
5886 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5887 |
|
|
{
|
5888 |
|
|
FLD (in_FRdoublek) = f_FRk;
|
5889 |
|
|
FLD (in_GRi) = f_GRi;
|
5890 |
|
|
FLD (in_GRj) = f_GRj;
|
5891 |
|
|
FLD (out_GRi) = f_GRi;
|
5892 |
|
|
}
|
5893 |
|
|
#endif
|
5894 |
|
|
#undef FLD
|
5895 |
|
|
return idesc;
|
5896 |
|
|
}
|
5897 |
|
|
|
5898 |
|
|
extract_sfmt_stdcu:
|
5899 |
|
|
{
|
5900 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5901 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5902 |
|
|
#define FLD(f) abuf->fields.sfmt_stdcu.f
|
5903 |
|
|
UINT f_CPRk;
|
5904 |
|
|
UINT f_GRi;
|
5905 |
|
|
UINT f_GRj;
|
5906 |
|
|
|
5907 |
|
|
f_CPRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5908 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5909 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5910 |
|
|
|
5911 |
|
|
/* Record the fields for the semantic handler. */
|
5912 |
|
|
FLD (f_CPRk) = f_CPRk;
|
5913 |
|
|
FLD (f_GRi) = f_GRi;
|
5914 |
|
|
FLD (f_GRj) = f_GRj;
|
5915 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdcu", "f_CPRk 0x%x", 'x', f_CPRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
5916 |
|
|
|
5917 |
|
|
#if WITH_PROFILE_MODEL_P
|
5918 |
|
|
/* Record the fields for profiling. */
|
5919 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5920 |
|
|
{
|
5921 |
|
|
FLD (in_CPRdoublek) = f_CPRk;
|
5922 |
|
|
FLD (in_GRi) = f_GRi;
|
5923 |
|
|
FLD (in_GRj) = f_GRj;
|
5924 |
|
|
FLD (out_GRi) = f_GRi;
|
5925 |
|
|
}
|
5926 |
|
|
#endif
|
5927 |
|
|
#undef FLD
|
5928 |
|
|
return idesc;
|
5929 |
|
|
}
|
5930 |
|
|
|
5931 |
|
|
extract_sfmt_stqu:
|
5932 |
|
|
{
|
5933 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5934 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5935 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
5936 |
|
|
UINT f_GRk;
|
5937 |
|
|
UINT f_GRi;
|
5938 |
|
|
UINT f_GRj;
|
5939 |
|
|
|
5940 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5941 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5942 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5943 |
|
|
|
5944 |
|
|
/* Record the fields for the semantic handler. */
|
5945 |
|
|
FLD (f_GRi) = f_GRi;
|
5946 |
|
|
FLD (f_GRj) = f_GRj;
|
5947 |
|
|
FLD (f_GRk) = f_GRk;
|
5948 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stqu", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5949 |
|
|
|
5950 |
|
|
#if WITH_PROFILE_MODEL_P
|
5951 |
|
|
/* Record the fields for profiling. */
|
5952 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5953 |
|
|
{
|
5954 |
|
|
FLD (in_GRi) = f_GRi;
|
5955 |
|
|
FLD (in_GRj) = f_GRj;
|
5956 |
|
|
FLD (out_GRi) = f_GRi;
|
5957 |
|
|
}
|
5958 |
|
|
#endif
|
5959 |
|
|
#undef FLD
|
5960 |
|
|
return idesc;
|
5961 |
|
|
}
|
5962 |
|
|
|
5963 |
|
|
extract_sfmt_cldsb:
|
5964 |
|
|
{
|
5965 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
5966 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
5967 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
5968 |
|
|
UINT f_GRk;
|
5969 |
|
|
UINT f_GRi;
|
5970 |
|
|
UINT f_CCi;
|
5971 |
|
|
UINT f_cond;
|
5972 |
|
|
UINT f_GRj;
|
5973 |
|
|
|
5974 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
5975 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
5976 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
5977 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
5978 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
5979 |
|
|
|
5980 |
|
|
/* Record the fields for the semantic handler. */
|
5981 |
|
|
FLD (f_CCi) = f_CCi;
|
5982 |
|
|
FLD (f_GRi) = f_GRi;
|
5983 |
|
|
FLD (f_GRj) = f_GRj;
|
5984 |
|
|
FLD (f_cond) = f_cond;
|
5985 |
|
|
FLD (f_GRk) = f_GRk;
|
5986 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldsb", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
5987 |
|
|
|
5988 |
|
|
#if WITH_PROFILE_MODEL_P
|
5989 |
|
|
/* Record the fields for profiling. */
|
5990 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
5991 |
|
|
{
|
5992 |
|
|
FLD (in_CCi) = f_CCi;
|
5993 |
|
|
FLD (in_GRi) = f_GRi;
|
5994 |
|
|
FLD (in_GRj) = f_GRj;
|
5995 |
|
|
FLD (out_GRk) = f_GRk;
|
5996 |
|
|
}
|
5997 |
|
|
#endif
|
5998 |
|
|
#undef FLD
|
5999 |
|
|
return idesc;
|
6000 |
|
|
}
|
6001 |
|
|
|
6002 |
|
|
extract_sfmt_cldbf:
|
6003 |
|
|
{
|
6004 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6005 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6006 |
|
|
#define FLD(f) abuf->fields.sfmt_cldbfu.f
|
6007 |
|
|
UINT f_FRk;
|
6008 |
|
|
UINT f_GRi;
|
6009 |
|
|
UINT f_CCi;
|
6010 |
|
|
UINT f_cond;
|
6011 |
|
|
UINT f_GRj;
|
6012 |
|
|
|
6013 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6014 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6015 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6016 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6017 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6018 |
|
|
|
6019 |
|
|
/* Record the fields for the semantic handler. */
|
6020 |
|
|
FLD (f_CCi) = f_CCi;
|
6021 |
|
|
FLD (f_GRi) = f_GRi;
|
6022 |
|
|
FLD (f_GRj) = f_GRj;
|
6023 |
|
|
FLD (f_cond) = f_cond;
|
6024 |
|
|
FLD (f_FRk) = f_FRk;
|
6025 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldbf", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
6026 |
|
|
|
6027 |
|
|
#if WITH_PROFILE_MODEL_P
|
6028 |
|
|
/* Record the fields for profiling. */
|
6029 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6030 |
|
|
{
|
6031 |
|
|
FLD (in_CCi) = f_CCi;
|
6032 |
|
|
FLD (in_GRi) = f_GRi;
|
6033 |
|
|
FLD (in_GRj) = f_GRj;
|
6034 |
|
|
FLD (out_FRintk) = f_FRk;
|
6035 |
|
|
}
|
6036 |
|
|
#endif
|
6037 |
|
|
#undef FLD
|
6038 |
|
|
return idesc;
|
6039 |
|
|
}
|
6040 |
|
|
|
6041 |
|
|
extract_sfmt_cldd:
|
6042 |
|
|
{
|
6043 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6044 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6045 |
|
|
#define FLD(f) abuf->fields.sfmt_clddu.f
|
6046 |
|
|
UINT f_GRk;
|
6047 |
|
|
UINT f_GRi;
|
6048 |
|
|
UINT f_CCi;
|
6049 |
|
|
UINT f_cond;
|
6050 |
|
|
UINT f_GRj;
|
6051 |
|
|
|
6052 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6053 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6054 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6055 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6056 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6057 |
|
|
|
6058 |
|
|
/* Record the fields for the semantic handler. */
|
6059 |
|
|
FLD (f_CCi) = f_CCi;
|
6060 |
|
|
FLD (f_GRi) = f_GRi;
|
6061 |
|
|
FLD (f_GRj) = f_GRj;
|
6062 |
|
|
FLD (f_cond) = f_cond;
|
6063 |
|
|
FLD (f_GRk) = f_GRk;
|
6064 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldd", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
6065 |
|
|
|
6066 |
|
|
#if WITH_PROFILE_MODEL_P
|
6067 |
|
|
/* Record the fields for profiling. */
|
6068 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6069 |
|
|
{
|
6070 |
|
|
FLD (in_CCi) = f_CCi;
|
6071 |
|
|
FLD (in_GRi) = f_GRi;
|
6072 |
|
|
FLD (in_GRj) = f_GRj;
|
6073 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
6074 |
|
|
}
|
6075 |
|
|
#endif
|
6076 |
|
|
#undef FLD
|
6077 |
|
|
return idesc;
|
6078 |
|
|
}
|
6079 |
|
|
|
6080 |
|
|
extract_sfmt_clddf:
|
6081 |
|
|
{
|
6082 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6083 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6084 |
|
|
#define FLD(f) abuf->fields.sfmt_clddfu.f
|
6085 |
|
|
UINT f_FRk;
|
6086 |
|
|
UINT f_GRi;
|
6087 |
|
|
UINT f_CCi;
|
6088 |
|
|
UINT f_cond;
|
6089 |
|
|
UINT f_GRj;
|
6090 |
|
|
|
6091 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6092 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6093 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6094 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6095 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6096 |
|
|
|
6097 |
|
|
/* Record the fields for the semantic handler. */
|
6098 |
|
|
FLD (f_CCi) = f_CCi;
|
6099 |
|
|
FLD (f_GRi) = f_GRi;
|
6100 |
|
|
FLD (f_GRj) = f_GRj;
|
6101 |
|
|
FLD (f_cond) = f_cond;
|
6102 |
|
|
FLD (f_FRk) = f_FRk;
|
6103 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_clddf", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
6104 |
|
|
|
6105 |
|
|
#if WITH_PROFILE_MODEL_P
|
6106 |
|
|
/* Record the fields for profiling. */
|
6107 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6108 |
|
|
{
|
6109 |
|
|
FLD (in_CCi) = f_CCi;
|
6110 |
|
|
FLD (in_GRi) = f_GRi;
|
6111 |
|
|
FLD (in_GRj) = f_GRj;
|
6112 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
6113 |
|
|
}
|
6114 |
|
|
#endif
|
6115 |
|
|
#undef FLD
|
6116 |
|
|
return idesc;
|
6117 |
|
|
}
|
6118 |
|
|
|
6119 |
|
|
extract_sfmt_cldq:
|
6120 |
|
|
{
|
6121 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6122 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6123 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
6124 |
|
|
UINT f_GRk;
|
6125 |
|
|
UINT f_GRi;
|
6126 |
|
|
UINT f_CCi;
|
6127 |
|
|
UINT f_cond;
|
6128 |
|
|
UINT f_GRj;
|
6129 |
|
|
|
6130 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6131 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6132 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6133 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6134 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6135 |
|
|
|
6136 |
|
|
/* Record the fields for the semantic handler. */
|
6137 |
|
|
FLD (f_CCi) = f_CCi;
|
6138 |
|
|
FLD (f_GRi) = f_GRi;
|
6139 |
|
|
FLD (f_GRj) = f_GRj;
|
6140 |
|
|
FLD (f_cond) = f_cond;
|
6141 |
|
|
FLD (f_GRk) = f_GRk;
|
6142 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldq", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
6143 |
|
|
|
6144 |
|
|
#if WITH_PROFILE_MODEL_P
|
6145 |
|
|
/* Record the fields for profiling. */
|
6146 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6147 |
|
|
{
|
6148 |
|
|
FLD (in_CCi) = f_CCi;
|
6149 |
|
|
FLD (in_GRi) = f_GRi;
|
6150 |
|
|
FLD (in_GRj) = f_GRj;
|
6151 |
|
|
}
|
6152 |
|
|
#endif
|
6153 |
|
|
#undef FLD
|
6154 |
|
|
return idesc;
|
6155 |
|
|
}
|
6156 |
|
|
|
6157 |
|
|
extract_sfmt_cldsbu:
|
6158 |
|
|
{
|
6159 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6160 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6161 |
|
|
#define FLD(f) abuf->fields.sfmt_cldsbu.f
|
6162 |
|
|
UINT f_GRk;
|
6163 |
|
|
UINT f_GRi;
|
6164 |
|
|
UINT f_CCi;
|
6165 |
|
|
UINT f_cond;
|
6166 |
|
|
UINT f_GRj;
|
6167 |
|
|
|
6168 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6169 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6170 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6171 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6172 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6173 |
|
|
|
6174 |
|
|
/* Record the fields for the semantic handler. */
|
6175 |
|
|
FLD (f_CCi) = f_CCi;
|
6176 |
|
|
FLD (f_GRi) = f_GRi;
|
6177 |
|
|
FLD (f_GRj) = f_GRj;
|
6178 |
|
|
FLD (f_cond) = f_cond;
|
6179 |
|
|
FLD (f_GRk) = f_GRk;
|
6180 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldsbu", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
6181 |
|
|
|
6182 |
|
|
#if WITH_PROFILE_MODEL_P
|
6183 |
|
|
/* Record the fields for profiling. */
|
6184 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6185 |
|
|
{
|
6186 |
|
|
FLD (in_CCi) = f_CCi;
|
6187 |
|
|
FLD (in_GRi) = f_GRi;
|
6188 |
|
|
FLD (in_GRj) = f_GRj;
|
6189 |
|
|
FLD (out_GRi) = f_GRi;
|
6190 |
|
|
FLD (out_GRk) = f_GRk;
|
6191 |
|
|
}
|
6192 |
|
|
#endif
|
6193 |
|
|
#undef FLD
|
6194 |
|
|
return idesc;
|
6195 |
|
|
}
|
6196 |
|
|
|
6197 |
|
|
extract_sfmt_cldbfu:
|
6198 |
|
|
{
|
6199 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6200 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6201 |
|
|
#define FLD(f) abuf->fields.sfmt_cldbfu.f
|
6202 |
|
|
UINT f_FRk;
|
6203 |
|
|
UINT f_GRi;
|
6204 |
|
|
UINT f_CCi;
|
6205 |
|
|
UINT f_cond;
|
6206 |
|
|
UINT f_GRj;
|
6207 |
|
|
|
6208 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6209 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6210 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6211 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6212 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6213 |
|
|
|
6214 |
|
|
/* Record the fields for the semantic handler. */
|
6215 |
|
|
FLD (f_CCi) = f_CCi;
|
6216 |
|
|
FLD (f_GRi) = f_GRi;
|
6217 |
|
|
FLD (f_GRj) = f_GRj;
|
6218 |
|
|
FLD (f_cond) = f_cond;
|
6219 |
|
|
FLD (f_FRk) = f_FRk;
|
6220 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldbfu", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
6221 |
|
|
|
6222 |
|
|
#if WITH_PROFILE_MODEL_P
|
6223 |
|
|
/* Record the fields for profiling. */
|
6224 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6225 |
|
|
{
|
6226 |
|
|
FLD (in_CCi) = f_CCi;
|
6227 |
|
|
FLD (in_GRi) = f_GRi;
|
6228 |
|
|
FLD (in_GRj) = f_GRj;
|
6229 |
|
|
FLD (out_FRintk) = f_FRk;
|
6230 |
|
|
FLD (out_GRi) = f_GRi;
|
6231 |
|
|
}
|
6232 |
|
|
#endif
|
6233 |
|
|
#undef FLD
|
6234 |
|
|
return idesc;
|
6235 |
|
|
}
|
6236 |
|
|
|
6237 |
|
|
extract_sfmt_clddu:
|
6238 |
|
|
{
|
6239 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6240 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6241 |
|
|
#define FLD(f) abuf->fields.sfmt_clddu.f
|
6242 |
|
|
UINT f_GRk;
|
6243 |
|
|
UINT f_GRi;
|
6244 |
|
|
UINT f_CCi;
|
6245 |
|
|
UINT f_cond;
|
6246 |
|
|
UINT f_GRj;
|
6247 |
|
|
|
6248 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6249 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6250 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6251 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6252 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6253 |
|
|
|
6254 |
|
|
/* Record the fields for the semantic handler. */
|
6255 |
|
|
FLD (f_CCi) = f_CCi;
|
6256 |
|
|
FLD (f_GRi) = f_GRi;
|
6257 |
|
|
FLD (f_GRj) = f_GRj;
|
6258 |
|
|
FLD (f_cond) = f_cond;
|
6259 |
|
|
FLD (f_GRk) = f_GRk;
|
6260 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_clddu", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
6261 |
|
|
|
6262 |
|
|
#if WITH_PROFILE_MODEL_P
|
6263 |
|
|
/* Record the fields for profiling. */
|
6264 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6265 |
|
|
{
|
6266 |
|
|
FLD (in_CCi) = f_CCi;
|
6267 |
|
|
FLD (in_GRi) = f_GRi;
|
6268 |
|
|
FLD (in_GRj) = f_GRj;
|
6269 |
|
|
FLD (out_GRdoublek) = f_GRk;
|
6270 |
|
|
FLD (out_GRi) = f_GRi;
|
6271 |
|
|
}
|
6272 |
|
|
#endif
|
6273 |
|
|
#undef FLD
|
6274 |
|
|
return idesc;
|
6275 |
|
|
}
|
6276 |
|
|
|
6277 |
|
|
extract_sfmt_clddfu:
|
6278 |
|
|
{
|
6279 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6280 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6281 |
|
|
#define FLD(f) abuf->fields.sfmt_clddfu.f
|
6282 |
|
|
UINT f_FRk;
|
6283 |
|
|
UINT f_GRi;
|
6284 |
|
|
UINT f_CCi;
|
6285 |
|
|
UINT f_cond;
|
6286 |
|
|
UINT f_GRj;
|
6287 |
|
|
|
6288 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6289 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6290 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6291 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6292 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6293 |
|
|
|
6294 |
|
|
/* Record the fields for the semantic handler. */
|
6295 |
|
|
FLD (f_CCi) = f_CCi;
|
6296 |
|
|
FLD (f_GRi) = f_GRi;
|
6297 |
|
|
FLD (f_GRj) = f_GRj;
|
6298 |
|
|
FLD (f_cond) = f_cond;
|
6299 |
|
|
FLD (f_FRk) = f_FRk;
|
6300 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_clddfu", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
6301 |
|
|
|
6302 |
|
|
#if WITH_PROFILE_MODEL_P
|
6303 |
|
|
/* Record the fields for profiling. */
|
6304 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6305 |
|
|
{
|
6306 |
|
|
FLD (in_CCi) = f_CCi;
|
6307 |
|
|
FLD (in_GRi) = f_GRi;
|
6308 |
|
|
FLD (in_GRj) = f_GRj;
|
6309 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
6310 |
|
|
FLD (out_GRi) = f_GRi;
|
6311 |
|
|
}
|
6312 |
|
|
#endif
|
6313 |
|
|
#undef FLD
|
6314 |
|
|
return idesc;
|
6315 |
|
|
}
|
6316 |
|
|
|
6317 |
|
|
extract_sfmt_cldqu:
|
6318 |
|
|
{
|
6319 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6320 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6321 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
6322 |
|
|
UINT f_GRk;
|
6323 |
|
|
UINT f_GRi;
|
6324 |
|
|
UINT f_CCi;
|
6325 |
|
|
UINT f_cond;
|
6326 |
|
|
UINT f_GRj;
|
6327 |
|
|
|
6328 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6329 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6330 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6331 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6332 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6333 |
|
|
|
6334 |
|
|
/* Record the fields for the semantic handler. */
|
6335 |
|
|
FLD (f_CCi) = f_CCi;
|
6336 |
|
|
FLD (f_GRi) = f_GRi;
|
6337 |
|
|
FLD (f_GRj) = f_GRj;
|
6338 |
|
|
FLD (f_cond) = f_cond;
|
6339 |
|
|
FLD (f_GRk) = f_GRk;
|
6340 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cldqu", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
6341 |
|
|
|
6342 |
|
|
#if WITH_PROFILE_MODEL_P
|
6343 |
|
|
/* Record the fields for profiling. */
|
6344 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6345 |
|
|
{
|
6346 |
|
|
FLD (in_CCi) = f_CCi;
|
6347 |
|
|
FLD (in_GRi) = f_GRi;
|
6348 |
|
|
FLD (in_GRj) = f_GRj;
|
6349 |
|
|
FLD (out_GRi) = f_GRi;
|
6350 |
|
|
}
|
6351 |
|
|
#endif
|
6352 |
|
|
#undef FLD
|
6353 |
|
|
return idesc;
|
6354 |
|
|
}
|
6355 |
|
|
|
6356 |
|
|
extract_sfmt_cstb:
|
6357 |
|
|
{
|
6358 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6359 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6360 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
6361 |
|
|
UINT f_GRk;
|
6362 |
|
|
UINT f_GRi;
|
6363 |
|
|
UINT f_CCi;
|
6364 |
|
|
UINT f_cond;
|
6365 |
|
|
UINT f_GRj;
|
6366 |
|
|
|
6367 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6368 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6369 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6370 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6371 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6372 |
|
|
|
6373 |
|
|
/* Record the fields for the semantic handler. */
|
6374 |
|
|
FLD (f_CCi) = f_CCi;
|
6375 |
|
|
FLD (f_GRi) = f_GRi;
|
6376 |
|
|
FLD (f_GRj) = f_GRj;
|
6377 |
|
|
FLD (f_GRk) = f_GRk;
|
6378 |
|
|
FLD (f_cond) = f_cond;
|
6379 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstb", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6380 |
|
|
|
6381 |
|
|
#if WITH_PROFILE_MODEL_P
|
6382 |
|
|
/* Record the fields for profiling. */
|
6383 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6384 |
|
|
{
|
6385 |
|
|
FLD (in_CCi) = f_CCi;
|
6386 |
|
|
FLD (in_GRi) = f_GRi;
|
6387 |
|
|
FLD (in_GRj) = f_GRj;
|
6388 |
|
|
FLD (in_GRk) = f_GRk;
|
6389 |
|
|
}
|
6390 |
|
|
#endif
|
6391 |
|
|
#undef FLD
|
6392 |
|
|
return idesc;
|
6393 |
|
|
}
|
6394 |
|
|
|
6395 |
|
|
extract_sfmt_cstbf:
|
6396 |
|
|
{
|
6397 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6398 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6399 |
|
|
#define FLD(f) abuf->fields.sfmt_cstbfu.f
|
6400 |
|
|
UINT f_FRk;
|
6401 |
|
|
UINT f_GRi;
|
6402 |
|
|
UINT f_CCi;
|
6403 |
|
|
UINT f_cond;
|
6404 |
|
|
UINT f_GRj;
|
6405 |
|
|
|
6406 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6407 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6408 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6409 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6410 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6411 |
|
|
|
6412 |
|
|
/* Record the fields for the semantic handler. */
|
6413 |
|
|
FLD (f_CCi) = f_CCi;
|
6414 |
|
|
FLD (f_FRk) = f_FRk;
|
6415 |
|
|
FLD (f_GRi) = f_GRi;
|
6416 |
|
|
FLD (f_GRj) = f_GRj;
|
6417 |
|
|
FLD (f_cond) = f_cond;
|
6418 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstbf", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6419 |
|
|
|
6420 |
|
|
#if WITH_PROFILE_MODEL_P
|
6421 |
|
|
/* Record the fields for profiling. */
|
6422 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6423 |
|
|
{
|
6424 |
|
|
FLD (in_CCi) = f_CCi;
|
6425 |
|
|
FLD (in_FRintk) = f_FRk;
|
6426 |
|
|
FLD (in_GRi) = f_GRi;
|
6427 |
|
|
FLD (in_GRj) = f_GRj;
|
6428 |
|
|
}
|
6429 |
|
|
#endif
|
6430 |
|
|
#undef FLD
|
6431 |
|
|
return idesc;
|
6432 |
|
|
}
|
6433 |
|
|
|
6434 |
|
|
extract_sfmt_cstd:
|
6435 |
|
|
{
|
6436 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6437 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6438 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
6439 |
|
|
UINT f_GRk;
|
6440 |
|
|
UINT f_GRi;
|
6441 |
|
|
UINT f_CCi;
|
6442 |
|
|
UINT f_cond;
|
6443 |
|
|
UINT f_GRj;
|
6444 |
|
|
|
6445 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6446 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6447 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6448 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6449 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6450 |
|
|
|
6451 |
|
|
/* Record the fields for the semantic handler. */
|
6452 |
|
|
FLD (f_CCi) = f_CCi;
|
6453 |
|
|
FLD (f_GRk) = f_GRk;
|
6454 |
|
|
FLD (f_GRi) = f_GRi;
|
6455 |
|
|
FLD (f_GRj) = f_GRj;
|
6456 |
|
|
FLD (f_cond) = f_cond;
|
6457 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstd", "f_CCi 0x%x", 'x', f_CCi, "f_GRk 0x%x", 'x', f_GRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6458 |
|
|
|
6459 |
|
|
#if WITH_PROFILE_MODEL_P
|
6460 |
|
|
/* Record the fields for profiling. */
|
6461 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6462 |
|
|
{
|
6463 |
|
|
FLD (in_CCi) = f_CCi;
|
6464 |
|
|
FLD (in_GRdoublek) = f_GRk;
|
6465 |
|
|
FLD (in_GRi) = f_GRi;
|
6466 |
|
|
FLD (in_GRj) = f_GRj;
|
6467 |
|
|
}
|
6468 |
|
|
#endif
|
6469 |
|
|
#undef FLD
|
6470 |
|
|
return idesc;
|
6471 |
|
|
}
|
6472 |
|
|
|
6473 |
|
|
extract_sfmt_cstdf:
|
6474 |
|
|
{
|
6475 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6476 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6477 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
6478 |
|
|
UINT f_FRk;
|
6479 |
|
|
UINT f_GRi;
|
6480 |
|
|
UINT f_CCi;
|
6481 |
|
|
UINT f_cond;
|
6482 |
|
|
UINT f_GRj;
|
6483 |
|
|
|
6484 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6485 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6486 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6487 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6488 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6489 |
|
|
|
6490 |
|
|
/* Record the fields for the semantic handler. */
|
6491 |
|
|
FLD (f_CCi) = f_CCi;
|
6492 |
|
|
FLD (f_FRk) = f_FRk;
|
6493 |
|
|
FLD (f_GRi) = f_GRi;
|
6494 |
|
|
FLD (f_GRj) = f_GRj;
|
6495 |
|
|
FLD (f_cond) = f_cond;
|
6496 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstdf", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6497 |
|
|
|
6498 |
|
|
#if WITH_PROFILE_MODEL_P
|
6499 |
|
|
/* Record the fields for profiling. */
|
6500 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6501 |
|
|
{
|
6502 |
|
|
FLD (in_CCi) = f_CCi;
|
6503 |
|
|
FLD (in_FRdoublek) = f_FRk;
|
6504 |
|
|
FLD (in_GRi) = f_GRi;
|
6505 |
|
|
FLD (in_GRj) = f_GRj;
|
6506 |
|
|
}
|
6507 |
|
|
#endif
|
6508 |
|
|
#undef FLD
|
6509 |
|
|
return idesc;
|
6510 |
|
|
}
|
6511 |
|
|
|
6512 |
|
|
extract_sfmt_cstbu:
|
6513 |
|
|
{
|
6514 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6515 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6516 |
|
|
#define FLD(f) abuf->fields.sfmt_cstbu.f
|
6517 |
|
|
UINT f_GRk;
|
6518 |
|
|
UINT f_GRi;
|
6519 |
|
|
UINT f_CCi;
|
6520 |
|
|
UINT f_cond;
|
6521 |
|
|
UINT f_GRj;
|
6522 |
|
|
|
6523 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6524 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6525 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6526 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6527 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6528 |
|
|
|
6529 |
|
|
/* Record the fields for the semantic handler. */
|
6530 |
|
|
FLD (f_CCi) = f_CCi;
|
6531 |
|
|
FLD (f_GRi) = f_GRi;
|
6532 |
|
|
FLD (f_GRj) = f_GRj;
|
6533 |
|
|
FLD (f_GRk) = f_GRk;
|
6534 |
|
|
FLD (f_cond) = f_cond;
|
6535 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstbu", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6536 |
|
|
|
6537 |
|
|
#if WITH_PROFILE_MODEL_P
|
6538 |
|
|
/* Record the fields for profiling. */
|
6539 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6540 |
|
|
{
|
6541 |
|
|
FLD (in_CCi) = f_CCi;
|
6542 |
|
|
FLD (in_GRi) = f_GRi;
|
6543 |
|
|
FLD (in_GRj) = f_GRj;
|
6544 |
|
|
FLD (in_GRk) = f_GRk;
|
6545 |
|
|
FLD (out_GRi) = f_GRi;
|
6546 |
|
|
}
|
6547 |
|
|
#endif
|
6548 |
|
|
#undef FLD
|
6549 |
|
|
return idesc;
|
6550 |
|
|
}
|
6551 |
|
|
|
6552 |
|
|
extract_sfmt_cstbfu:
|
6553 |
|
|
{
|
6554 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6555 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6556 |
|
|
#define FLD(f) abuf->fields.sfmt_cstbfu.f
|
6557 |
|
|
UINT f_FRk;
|
6558 |
|
|
UINT f_GRi;
|
6559 |
|
|
UINT f_CCi;
|
6560 |
|
|
UINT f_cond;
|
6561 |
|
|
UINT f_GRj;
|
6562 |
|
|
|
6563 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6564 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6565 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6566 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6567 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6568 |
|
|
|
6569 |
|
|
/* Record the fields for the semantic handler. */
|
6570 |
|
|
FLD (f_CCi) = f_CCi;
|
6571 |
|
|
FLD (f_FRk) = f_FRk;
|
6572 |
|
|
FLD (f_GRi) = f_GRi;
|
6573 |
|
|
FLD (f_GRj) = f_GRj;
|
6574 |
|
|
FLD (f_cond) = f_cond;
|
6575 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstbfu", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6576 |
|
|
|
6577 |
|
|
#if WITH_PROFILE_MODEL_P
|
6578 |
|
|
/* Record the fields for profiling. */
|
6579 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6580 |
|
|
{
|
6581 |
|
|
FLD (in_CCi) = f_CCi;
|
6582 |
|
|
FLD (in_FRintk) = f_FRk;
|
6583 |
|
|
FLD (in_GRi) = f_GRi;
|
6584 |
|
|
FLD (in_GRj) = f_GRj;
|
6585 |
|
|
FLD (out_GRi) = f_GRi;
|
6586 |
|
|
}
|
6587 |
|
|
#endif
|
6588 |
|
|
#undef FLD
|
6589 |
|
|
return idesc;
|
6590 |
|
|
}
|
6591 |
|
|
|
6592 |
|
|
extract_sfmt_cstdu:
|
6593 |
|
|
{
|
6594 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6595 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6596 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdu.f
|
6597 |
|
|
UINT f_GRk;
|
6598 |
|
|
UINT f_GRi;
|
6599 |
|
|
UINT f_CCi;
|
6600 |
|
|
UINT f_cond;
|
6601 |
|
|
UINT f_GRj;
|
6602 |
|
|
|
6603 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6604 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6605 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6606 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6607 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6608 |
|
|
|
6609 |
|
|
/* Record the fields for the semantic handler. */
|
6610 |
|
|
FLD (f_CCi) = f_CCi;
|
6611 |
|
|
FLD (f_GRk) = f_GRk;
|
6612 |
|
|
FLD (f_GRi) = f_GRi;
|
6613 |
|
|
FLD (f_GRj) = f_GRj;
|
6614 |
|
|
FLD (f_cond) = f_cond;
|
6615 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstdu", "f_CCi 0x%x", 'x', f_CCi, "f_GRk 0x%x", 'x', f_GRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6616 |
|
|
|
6617 |
|
|
#if WITH_PROFILE_MODEL_P
|
6618 |
|
|
/* Record the fields for profiling. */
|
6619 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6620 |
|
|
{
|
6621 |
|
|
FLD (in_CCi) = f_CCi;
|
6622 |
|
|
FLD (in_GRdoublek) = f_GRk;
|
6623 |
|
|
FLD (in_GRi) = f_GRi;
|
6624 |
|
|
FLD (in_GRj) = f_GRj;
|
6625 |
|
|
FLD (out_GRi) = f_GRi;
|
6626 |
|
|
}
|
6627 |
|
|
#endif
|
6628 |
|
|
#undef FLD
|
6629 |
|
|
return idesc;
|
6630 |
|
|
}
|
6631 |
|
|
|
6632 |
|
|
extract_sfmt_cstdfu:
|
6633 |
|
|
{
|
6634 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6635 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6636 |
|
|
#define FLD(f) abuf->fields.sfmt_cstdfu.f
|
6637 |
|
|
UINT f_FRk;
|
6638 |
|
|
UINT f_GRi;
|
6639 |
|
|
UINT f_CCi;
|
6640 |
|
|
UINT f_cond;
|
6641 |
|
|
UINT f_GRj;
|
6642 |
|
|
|
6643 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6644 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6645 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6646 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6647 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6648 |
|
|
|
6649 |
|
|
/* Record the fields for the semantic handler. */
|
6650 |
|
|
FLD (f_CCi) = f_CCi;
|
6651 |
|
|
FLD (f_FRk) = f_FRk;
|
6652 |
|
|
FLD (f_GRi) = f_GRi;
|
6653 |
|
|
FLD (f_GRj) = f_GRj;
|
6654 |
|
|
FLD (f_cond) = f_cond;
|
6655 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cstdfu", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6656 |
|
|
|
6657 |
|
|
#if WITH_PROFILE_MODEL_P
|
6658 |
|
|
/* Record the fields for profiling. */
|
6659 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6660 |
|
|
{
|
6661 |
|
|
FLD (in_CCi) = f_CCi;
|
6662 |
|
|
FLD (in_FRdoublek) = f_FRk;
|
6663 |
|
|
FLD (in_GRi) = f_GRi;
|
6664 |
|
|
FLD (in_GRj) = f_GRj;
|
6665 |
|
|
FLD (out_GRi) = f_GRi;
|
6666 |
|
|
}
|
6667 |
|
|
#endif
|
6668 |
|
|
#undef FLD
|
6669 |
|
|
return idesc;
|
6670 |
|
|
}
|
6671 |
|
|
|
6672 |
|
|
extract_sfmt_stbi:
|
6673 |
|
|
{
|
6674 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6675 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6676 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
6677 |
|
|
UINT f_GRk;
|
6678 |
|
|
UINT f_GRi;
|
6679 |
|
|
INT f_d12;
|
6680 |
|
|
|
6681 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6682 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6683 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
6684 |
|
|
|
6685 |
|
|
/* Record the fields for the semantic handler. */
|
6686 |
|
|
FLD (f_GRi) = f_GRi;
|
6687 |
|
|
FLD (f_GRk) = f_GRk;
|
6688 |
|
|
FLD (f_d12) = f_d12;
|
6689 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stbi", "f_GRi 0x%x", 'x', f_GRi, "f_GRk 0x%x", 'x', f_GRk, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
6690 |
|
|
|
6691 |
|
|
#if WITH_PROFILE_MODEL_P
|
6692 |
|
|
/* Record the fields for profiling. */
|
6693 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6694 |
|
|
{
|
6695 |
|
|
FLD (in_GRi) = f_GRi;
|
6696 |
|
|
FLD (in_GRk) = f_GRk;
|
6697 |
|
|
}
|
6698 |
|
|
#endif
|
6699 |
|
|
#undef FLD
|
6700 |
|
|
return idesc;
|
6701 |
|
|
}
|
6702 |
|
|
|
6703 |
|
|
extract_sfmt_stbfi:
|
6704 |
|
|
{
|
6705 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6706 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6707 |
|
|
#define FLD(f) abuf->fields.sfmt_stbfi.f
|
6708 |
|
|
UINT f_FRk;
|
6709 |
|
|
UINT f_GRi;
|
6710 |
|
|
INT f_d12;
|
6711 |
|
|
|
6712 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6713 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6714 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
6715 |
|
|
|
6716 |
|
|
/* Record the fields for the semantic handler. */
|
6717 |
|
|
FLD (f_FRk) = f_FRk;
|
6718 |
|
|
FLD (f_GRi) = f_GRi;
|
6719 |
|
|
FLD (f_d12) = f_d12;
|
6720 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stbfi", "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
6721 |
|
|
|
6722 |
|
|
#if WITH_PROFILE_MODEL_P
|
6723 |
|
|
/* Record the fields for profiling. */
|
6724 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6725 |
|
|
{
|
6726 |
|
|
FLD (in_FRintk) = f_FRk;
|
6727 |
|
|
FLD (in_GRi) = f_GRi;
|
6728 |
|
|
}
|
6729 |
|
|
#endif
|
6730 |
|
|
#undef FLD
|
6731 |
|
|
return idesc;
|
6732 |
|
|
}
|
6733 |
|
|
|
6734 |
|
|
extract_sfmt_stdi:
|
6735 |
|
|
{
|
6736 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6737 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6738 |
|
|
#define FLD(f) abuf->fields.sfmt_stdi.f
|
6739 |
|
|
UINT f_GRk;
|
6740 |
|
|
UINT f_GRi;
|
6741 |
|
|
INT f_d12;
|
6742 |
|
|
|
6743 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6744 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6745 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
6746 |
|
|
|
6747 |
|
|
/* Record the fields for the semantic handler. */
|
6748 |
|
|
FLD (f_GRk) = f_GRk;
|
6749 |
|
|
FLD (f_GRi) = f_GRi;
|
6750 |
|
|
FLD (f_d12) = f_d12;
|
6751 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdi", "f_GRk 0x%x", 'x', f_GRk, "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
6752 |
|
|
|
6753 |
|
|
#if WITH_PROFILE_MODEL_P
|
6754 |
|
|
/* Record the fields for profiling. */
|
6755 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6756 |
|
|
{
|
6757 |
|
|
FLD (in_GRdoublek) = f_GRk;
|
6758 |
|
|
FLD (in_GRi) = f_GRi;
|
6759 |
|
|
}
|
6760 |
|
|
#endif
|
6761 |
|
|
#undef FLD
|
6762 |
|
|
return idesc;
|
6763 |
|
|
}
|
6764 |
|
|
|
6765 |
|
|
extract_sfmt_stdfi:
|
6766 |
|
|
{
|
6767 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6768 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6769 |
|
|
#define FLD(f) abuf->fields.sfmt_stdfi.f
|
6770 |
|
|
UINT f_FRk;
|
6771 |
|
|
UINT f_GRi;
|
6772 |
|
|
INT f_d12;
|
6773 |
|
|
|
6774 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6775 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6776 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
6777 |
|
|
|
6778 |
|
|
/* Record the fields for the semantic handler. */
|
6779 |
|
|
FLD (f_FRk) = f_FRk;
|
6780 |
|
|
FLD (f_GRi) = f_GRi;
|
6781 |
|
|
FLD (f_d12) = f_d12;
|
6782 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_stdfi", "f_FRk 0x%x", 'x', f_FRk, "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
6783 |
|
|
|
6784 |
|
|
#if WITH_PROFILE_MODEL_P
|
6785 |
|
|
/* Record the fields for profiling. */
|
6786 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6787 |
|
|
{
|
6788 |
|
|
FLD (in_FRdoublek) = f_FRk;
|
6789 |
|
|
FLD (in_GRi) = f_GRi;
|
6790 |
|
|
}
|
6791 |
|
|
#endif
|
6792 |
|
|
#undef FLD
|
6793 |
|
|
return idesc;
|
6794 |
|
|
}
|
6795 |
|
|
|
6796 |
|
|
extract_sfmt_swap:
|
6797 |
|
|
{
|
6798 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6799 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6800 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
6801 |
|
|
UINT f_GRk;
|
6802 |
|
|
UINT f_GRi;
|
6803 |
|
|
UINT f_GRj;
|
6804 |
|
|
|
6805 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6806 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6807 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6808 |
|
|
|
6809 |
|
|
/* Record the fields for the semantic handler. */
|
6810 |
|
|
FLD (f_GRi) = f_GRi;
|
6811 |
|
|
FLD (f_GRj) = f_GRj;
|
6812 |
|
|
FLD (f_GRk) = f_GRk;
|
6813 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_swap", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
6814 |
|
|
|
6815 |
|
|
#if WITH_PROFILE_MODEL_P
|
6816 |
|
|
/* Record the fields for profiling. */
|
6817 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6818 |
|
|
{
|
6819 |
|
|
FLD (in_GRi) = f_GRi;
|
6820 |
|
|
FLD (in_GRj) = f_GRj;
|
6821 |
|
|
FLD (in_GRk) = f_GRk;
|
6822 |
|
|
FLD (out_GRk) = f_GRk;
|
6823 |
|
|
}
|
6824 |
|
|
#endif
|
6825 |
|
|
#undef FLD
|
6826 |
|
|
return idesc;
|
6827 |
|
|
}
|
6828 |
|
|
|
6829 |
|
|
extract_sfmt_swapi:
|
6830 |
|
|
{
|
6831 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6832 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6833 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
6834 |
|
|
UINT f_GRk;
|
6835 |
|
|
UINT f_GRi;
|
6836 |
|
|
INT f_d12;
|
6837 |
|
|
|
6838 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6839 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6840 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
6841 |
|
|
|
6842 |
|
|
/* Record the fields for the semantic handler. */
|
6843 |
|
|
FLD (f_GRi) = f_GRi;
|
6844 |
|
|
FLD (f_GRk) = f_GRk;
|
6845 |
|
|
FLD (f_d12) = f_d12;
|
6846 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_swapi", "f_GRi 0x%x", 'x', f_GRi, "f_GRk 0x%x", 'x', f_GRk, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
6847 |
|
|
|
6848 |
|
|
#if WITH_PROFILE_MODEL_P
|
6849 |
|
|
/* Record the fields for profiling. */
|
6850 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6851 |
|
|
{
|
6852 |
|
|
FLD (in_GRi) = f_GRi;
|
6853 |
|
|
FLD (in_GRk) = f_GRk;
|
6854 |
|
|
FLD (out_GRk) = f_GRk;
|
6855 |
|
|
}
|
6856 |
|
|
#endif
|
6857 |
|
|
#undef FLD
|
6858 |
|
|
return idesc;
|
6859 |
|
|
}
|
6860 |
|
|
|
6861 |
|
|
extract_sfmt_cswap:
|
6862 |
|
|
{
|
6863 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6864 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6865 |
|
|
#define FLD(f) abuf->fields.sfmt_cswap.f
|
6866 |
|
|
UINT f_GRk;
|
6867 |
|
|
UINT f_GRi;
|
6868 |
|
|
UINT f_CCi;
|
6869 |
|
|
UINT f_cond;
|
6870 |
|
|
UINT f_GRj;
|
6871 |
|
|
|
6872 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6873 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
6874 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
6875 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
6876 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6877 |
|
|
|
6878 |
|
|
/* Record the fields for the semantic handler. */
|
6879 |
|
|
FLD (f_CCi) = f_CCi;
|
6880 |
|
|
FLD (f_GRi) = f_GRi;
|
6881 |
|
|
FLD (f_GRj) = f_GRj;
|
6882 |
|
|
FLD (f_GRk) = f_GRk;
|
6883 |
|
|
FLD (f_cond) = f_cond;
|
6884 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cswap", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_GRk 0x%x", 'x', f_GRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
6885 |
|
|
|
6886 |
|
|
#if WITH_PROFILE_MODEL_P
|
6887 |
|
|
/* Record the fields for profiling. */
|
6888 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6889 |
|
|
{
|
6890 |
|
|
FLD (in_CCi) = f_CCi;
|
6891 |
|
|
FLD (in_GRi) = f_GRi;
|
6892 |
|
|
FLD (in_GRj) = f_GRj;
|
6893 |
|
|
FLD (in_GRk) = f_GRk;
|
6894 |
|
|
FLD (out_GRk) = f_GRk;
|
6895 |
|
|
}
|
6896 |
|
|
#endif
|
6897 |
|
|
#undef FLD
|
6898 |
|
|
return idesc;
|
6899 |
|
|
}
|
6900 |
|
|
|
6901 |
|
|
extract_sfmt_movgf:
|
6902 |
|
|
{
|
6903 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6904 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6905 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovgfd.f
|
6906 |
|
|
UINT f_FRk;
|
6907 |
|
|
UINT f_GRj;
|
6908 |
|
|
|
6909 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6910 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6911 |
|
|
|
6912 |
|
|
/* Record the fields for the semantic handler. */
|
6913 |
|
|
FLD (f_GRj) = f_GRj;
|
6914 |
|
|
FLD (f_FRk) = f_FRk;
|
6915 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movgf", "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
6916 |
|
|
|
6917 |
|
|
#if WITH_PROFILE_MODEL_P
|
6918 |
|
|
/* Record the fields for profiling. */
|
6919 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6920 |
|
|
{
|
6921 |
|
|
FLD (in_GRj) = f_GRj;
|
6922 |
|
|
FLD (out_FRintk) = f_FRk;
|
6923 |
|
|
}
|
6924 |
|
|
#endif
|
6925 |
|
|
#undef FLD
|
6926 |
|
|
return idesc;
|
6927 |
|
|
}
|
6928 |
|
|
|
6929 |
|
|
extract_sfmt_movfg:
|
6930 |
|
|
{
|
6931 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6932 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6933 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovfgd.f
|
6934 |
|
|
UINT f_FRk;
|
6935 |
|
|
UINT f_GRj;
|
6936 |
|
|
|
6937 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6938 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6939 |
|
|
|
6940 |
|
|
/* Record the fields for the semantic handler. */
|
6941 |
|
|
FLD (f_FRk) = f_FRk;
|
6942 |
|
|
FLD (f_GRj) = f_GRj;
|
6943 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movfg", "f_FRk 0x%x", 'x', f_FRk, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
6944 |
|
|
|
6945 |
|
|
#if WITH_PROFILE_MODEL_P
|
6946 |
|
|
/* Record the fields for profiling. */
|
6947 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6948 |
|
|
{
|
6949 |
|
|
FLD (in_FRintk) = f_FRk;
|
6950 |
|
|
FLD (out_GRj) = f_GRj;
|
6951 |
|
|
}
|
6952 |
|
|
#endif
|
6953 |
|
|
#undef FLD
|
6954 |
|
|
return idesc;
|
6955 |
|
|
}
|
6956 |
|
|
|
6957 |
|
|
extract_sfmt_movgfd:
|
6958 |
|
|
{
|
6959 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6960 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6961 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovgfd.f
|
6962 |
|
|
UINT f_FRk;
|
6963 |
|
|
UINT f_GRj;
|
6964 |
|
|
|
6965 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6966 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6967 |
|
|
|
6968 |
|
|
/* Record the fields for the semantic handler. */
|
6969 |
|
|
FLD (f_GRj) = f_GRj;
|
6970 |
|
|
FLD (f_FRk) = f_FRk;
|
6971 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movgfd", "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
6972 |
|
|
|
6973 |
|
|
#if WITH_PROFILE_MODEL_P
|
6974 |
|
|
/* Record the fields for profiling. */
|
6975 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
6976 |
|
|
{
|
6977 |
|
|
FLD (in_GRj) = f_GRj;
|
6978 |
|
|
FLD (in_h_gr_USI_add__INT_index_of__INT_GRj_1) = ((FLD (f_GRj)) + (1));
|
6979 |
|
|
FLD (out_FRintk) = f_FRk;
|
6980 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
6981 |
|
|
}
|
6982 |
|
|
#endif
|
6983 |
|
|
#undef FLD
|
6984 |
|
|
return idesc;
|
6985 |
|
|
}
|
6986 |
|
|
|
6987 |
|
|
extract_sfmt_movfgd:
|
6988 |
|
|
{
|
6989 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
6990 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
6991 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovfgd.f
|
6992 |
|
|
UINT f_FRk;
|
6993 |
|
|
UINT f_GRj;
|
6994 |
|
|
|
6995 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
6996 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
6997 |
|
|
|
6998 |
|
|
/* Record the fields for the semantic handler. */
|
6999 |
|
|
FLD (f_FRk) = f_FRk;
|
7000 |
|
|
FLD (f_GRj) = f_GRj;
|
7001 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movfgd", "f_FRk 0x%x", 'x', f_FRk, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
7002 |
|
|
|
7003 |
|
|
#if WITH_PROFILE_MODEL_P
|
7004 |
|
|
/* Record the fields for profiling. */
|
7005 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7006 |
|
|
{
|
7007 |
|
|
FLD (in_FRintk) = f_FRk;
|
7008 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
7009 |
|
|
FLD (out_GRj) = f_GRj;
|
7010 |
|
|
FLD (out_h_gr_USI_add__INT_index_of__INT_GRj_1) = ((FLD (f_GRj)) + (1));
|
7011 |
|
|
}
|
7012 |
|
|
#endif
|
7013 |
|
|
#undef FLD
|
7014 |
|
|
return idesc;
|
7015 |
|
|
}
|
7016 |
|
|
|
7017 |
|
|
extract_sfmt_movgfq:
|
7018 |
|
|
{
|
7019 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7020 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7021 |
|
|
#define FLD(f) abuf->fields.sfmt_movgfq.f
|
7022 |
|
|
UINT f_FRk;
|
7023 |
|
|
UINT f_GRj;
|
7024 |
|
|
|
7025 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7026 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7027 |
|
|
|
7028 |
|
|
/* Record the fields for the semantic handler. */
|
7029 |
|
|
FLD (f_GRj) = f_GRj;
|
7030 |
|
|
FLD (f_FRk) = f_FRk;
|
7031 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movgfq", "f_GRj 0x%x", 'x', f_GRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
7032 |
|
|
|
7033 |
|
|
#if WITH_PROFILE_MODEL_P
|
7034 |
|
|
/* Record the fields for profiling. */
|
7035 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7036 |
|
|
{
|
7037 |
|
|
FLD (in_GRj) = f_GRj;
|
7038 |
|
|
FLD (in_h_gr_USI_add__INT_index_of__INT_GRj_1) = ((FLD (f_GRj)) + (1));
|
7039 |
|
|
FLD (in_h_gr_USI_add__INT_index_of__INT_GRj_2) = ((FLD (f_GRj)) + (2));
|
7040 |
|
|
FLD (in_h_gr_USI_add__INT_index_of__INT_GRj_3) = ((FLD (f_GRj)) + (3));
|
7041 |
|
|
FLD (out_FRintk) = f_FRk;
|
7042 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
7043 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
7044 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintk_3) = ((FLD (f_FRk)) + (3));
|
7045 |
|
|
}
|
7046 |
|
|
#endif
|
7047 |
|
|
#undef FLD
|
7048 |
|
|
return idesc;
|
7049 |
|
|
}
|
7050 |
|
|
|
7051 |
|
|
extract_sfmt_movfgq:
|
7052 |
|
|
{
|
7053 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7054 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7055 |
|
|
#define FLD(f) abuf->fields.sfmt_movfgq.f
|
7056 |
|
|
UINT f_FRk;
|
7057 |
|
|
UINT f_GRj;
|
7058 |
|
|
|
7059 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7060 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7061 |
|
|
|
7062 |
|
|
/* Record the fields for the semantic handler. */
|
7063 |
|
|
FLD (f_FRk) = f_FRk;
|
7064 |
|
|
FLD (f_GRj) = f_GRj;
|
7065 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movfgq", "f_FRk 0x%x", 'x', f_FRk, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
7066 |
|
|
|
7067 |
|
|
#if WITH_PROFILE_MODEL_P
|
7068 |
|
|
/* Record the fields for profiling. */
|
7069 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7070 |
|
|
{
|
7071 |
|
|
FLD (in_FRintk) = f_FRk;
|
7072 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
7073 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
7074 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintk_3) = ((FLD (f_FRk)) + (3));
|
7075 |
|
|
FLD (out_GRj) = f_GRj;
|
7076 |
|
|
FLD (out_h_gr_USI_add__INT_index_of__INT_GRj_1) = ((FLD (f_GRj)) + (1));
|
7077 |
|
|
FLD (out_h_gr_USI_add__INT_index_of__INT_GRj_2) = ((FLD (f_GRj)) + (2));
|
7078 |
|
|
FLD (out_h_gr_USI_add__INT_index_of__INT_GRj_3) = ((FLD (f_GRj)) + (3));
|
7079 |
|
|
}
|
7080 |
|
|
#endif
|
7081 |
|
|
#undef FLD
|
7082 |
|
|
return idesc;
|
7083 |
|
|
}
|
7084 |
|
|
|
7085 |
|
|
extract_sfmt_cmovgf:
|
7086 |
|
|
{
|
7087 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7088 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7089 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovgfd.f
|
7090 |
|
|
UINT f_FRk;
|
7091 |
|
|
UINT f_CCi;
|
7092 |
|
|
UINT f_cond;
|
7093 |
|
|
UINT f_GRj;
|
7094 |
|
|
|
7095 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7096 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
7097 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
7098 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7099 |
|
|
|
7100 |
|
|
/* Record the fields for the semantic handler. */
|
7101 |
|
|
FLD (f_CCi) = f_CCi;
|
7102 |
|
|
FLD (f_GRj) = f_GRj;
|
7103 |
|
|
FLD (f_cond) = f_cond;
|
7104 |
|
|
FLD (f_FRk) = f_FRk;
|
7105 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmovgf", "f_CCi 0x%x", 'x', f_CCi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
7106 |
|
|
|
7107 |
|
|
#if WITH_PROFILE_MODEL_P
|
7108 |
|
|
/* Record the fields for profiling. */
|
7109 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7110 |
|
|
{
|
7111 |
|
|
FLD (in_CCi) = f_CCi;
|
7112 |
|
|
FLD (in_GRj) = f_GRj;
|
7113 |
|
|
FLD (out_FRintk) = f_FRk;
|
7114 |
|
|
}
|
7115 |
|
|
#endif
|
7116 |
|
|
#undef FLD
|
7117 |
|
|
return idesc;
|
7118 |
|
|
}
|
7119 |
|
|
|
7120 |
|
|
extract_sfmt_cmovfg:
|
7121 |
|
|
{
|
7122 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7123 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7124 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovfgd.f
|
7125 |
|
|
UINT f_FRk;
|
7126 |
|
|
UINT f_CCi;
|
7127 |
|
|
UINT f_cond;
|
7128 |
|
|
UINT f_GRj;
|
7129 |
|
|
|
7130 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7131 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
7132 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
7133 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7134 |
|
|
|
7135 |
|
|
/* Record the fields for the semantic handler. */
|
7136 |
|
|
FLD (f_CCi) = f_CCi;
|
7137 |
|
|
FLD (f_FRk) = f_FRk;
|
7138 |
|
|
FLD (f_cond) = f_cond;
|
7139 |
|
|
FLD (f_GRj) = f_GRj;
|
7140 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmovfg", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
7141 |
|
|
|
7142 |
|
|
#if WITH_PROFILE_MODEL_P
|
7143 |
|
|
/* Record the fields for profiling. */
|
7144 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7145 |
|
|
{
|
7146 |
|
|
FLD (in_CCi) = f_CCi;
|
7147 |
|
|
FLD (in_FRintk) = f_FRk;
|
7148 |
|
|
FLD (out_GRj) = f_GRj;
|
7149 |
|
|
}
|
7150 |
|
|
#endif
|
7151 |
|
|
#undef FLD
|
7152 |
|
|
return idesc;
|
7153 |
|
|
}
|
7154 |
|
|
|
7155 |
|
|
extract_sfmt_cmovgfd:
|
7156 |
|
|
{
|
7157 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7158 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7159 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovgfd.f
|
7160 |
|
|
UINT f_FRk;
|
7161 |
|
|
UINT f_CCi;
|
7162 |
|
|
UINT f_cond;
|
7163 |
|
|
UINT f_GRj;
|
7164 |
|
|
|
7165 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7166 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
7167 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
7168 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7169 |
|
|
|
7170 |
|
|
/* Record the fields for the semantic handler. */
|
7171 |
|
|
FLD (f_CCi) = f_CCi;
|
7172 |
|
|
FLD (f_GRj) = f_GRj;
|
7173 |
|
|
FLD (f_cond) = f_cond;
|
7174 |
|
|
FLD (f_FRk) = f_FRk;
|
7175 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmovgfd", "f_CCi 0x%x", 'x', f_CCi, "f_GRj 0x%x", 'x', f_GRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
7176 |
|
|
|
7177 |
|
|
#if WITH_PROFILE_MODEL_P
|
7178 |
|
|
/* Record the fields for profiling. */
|
7179 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7180 |
|
|
{
|
7181 |
|
|
FLD (in_CCi) = f_CCi;
|
7182 |
|
|
FLD (in_GRj) = f_GRj;
|
7183 |
|
|
FLD (in_h_gr_USI_add__INT_index_of__INT_GRj_1) = ((FLD (f_GRj)) + (1));
|
7184 |
|
|
FLD (out_FRintk) = f_FRk;
|
7185 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
7186 |
|
|
}
|
7187 |
|
|
#endif
|
7188 |
|
|
#undef FLD
|
7189 |
|
|
return idesc;
|
7190 |
|
|
}
|
7191 |
|
|
|
7192 |
|
|
extract_sfmt_cmovfgd:
|
7193 |
|
|
{
|
7194 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7195 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7196 |
|
|
#define FLD(f) abuf->fields.sfmt_cmovfgd.f
|
7197 |
|
|
UINT f_FRk;
|
7198 |
|
|
UINT f_CCi;
|
7199 |
|
|
UINT f_cond;
|
7200 |
|
|
UINT f_GRj;
|
7201 |
|
|
|
7202 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7203 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
7204 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
7205 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7206 |
|
|
|
7207 |
|
|
/* Record the fields for the semantic handler. */
|
7208 |
|
|
FLD (f_CCi) = f_CCi;
|
7209 |
|
|
FLD (f_FRk) = f_FRk;
|
7210 |
|
|
FLD (f_cond) = f_cond;
|
7211 |
|
|
FLD (f_GRj) = f_GRj;
|
7212 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmovfgd", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
7213 |
|
|
|
7214 |
|
|
#if WITH_PROFILE_MODEL_P
|
7215 |
|
|
/* Record the fields for profiling. */
|
7216 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7217 |
|
|
{
|
7218 |
|
|
FLD (in_CCi) = f_CCi;
|
7219 |
|
|
FLD (in_FRintk) = f_FRk;
|
7220 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
7221 |
|
|
FLD (out_GRj) = f_GRj;
|
7222 |
|
|
FLD (out_h_gr_USI_add__INT_index_of__INT_GRj_1) = ((FLD (f_GRj)) + (1));
|
7223 |
|
|
}
|
7224 |
|
|
#endif
|
7225 |
|
|
#undef FLD
|
7226 |
|
|
return idesc;
|
7227 |
|
|
}
|
7228 |
|
|
|
7229 |
|
|
extract_sfmt_movgs:
|
7230 |
|
|
{
|
7231 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7232 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7233 |
|
|
#define FLD(f) abuf->fields.sfmt_movgs.f
|
7234 |
|
|
UINT f_spr_h;
|
7235 |
|
|
UINT f_spr_l;
|
7236 |
|
|
UINT f_GRj;
|
7237 |
|
|
UINT f_spr;
|
7238 |
|
|
|
7239 |
|
|
f_spr_h = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7240 |
|
|
f_spr_l = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
7241 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7242 |
|
|
{
|
7243 |
|
|
f_spr = ((((f_spr_h) << (6))) | (f_spr_l));
|
7244 |
|
|
}
|
7245 |
|
|
|
7246 |
|
|
/* Record the fields for the semantic handler. */
|
7247 |
|
|
FLD (f_GRj) = f_GRj;
|
7248 |
|
|
FLD (f_spr) = f_spr;
|
7249 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movgs", "f_GRj 0x%x", 'x', f_GRj, "f_spr 0x%x", 'x', f_spr, (char *) 0));
|
7250 |
|
|
|
7251 |
|
|
#if WITH_PROFILE_MODEL_P
|
7252 |
|
|
/* Record the fields for profiling. */
|
7253 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7254 |
|
|
{
|
7255 |
|
|
FLD (in_GRj) = f_GRj;
|
7256 |
|
|
FLD (out_spr) = f_spr;
|
7257 |
|
|
}
|
7258 |
|
|
#endif
|
7259 |
|
|
#undef FLD
|
7260 |
|
|
return idesc;
|
7261 |
|
|
}
|
7262 |
|
|
|
7263 |
|
|
extract_sfmt_movsg:
|
7264 |
|
|
{
|
7265 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7266 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7267 |
|
|
#define FLD(f) abuf->fields.sfmt_movsg.f
|
7268 |
|
|
UINT f_spr_h;
|
7269 |
|
|
UINT f_spr_l;
|
7270 |
|
|
UINT f_GRj;
|
7271 |
|
|
UINT f_spr;
|
7272 |
|
|
|
7273 |
|
|
f_spr_h = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
7274 |
|
|
f_spr_l = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
7275 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7276 |
|
|
{
|
7277 |
|
|
f_spr = ((((f_spr_h) << (6))) | (f_spr_l));
|
7278 |
|
|
}
|
7279 |
|
|
|
7280 |
|
|
/* Record the fields for the semantic handler. */
|
7281 |
|
|
FLD (f_spr) = f_spr;
|
7282 |
|
|
FLD (f_GRj) = f_GRj;
|
7283 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_movsg", "f_spr 0x%x", 'x', f_spr, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
7284 |
|
|
|
7285 |
|
|
#if WITH_PROFILE_MODEL_P
|
7286 |
|
|
/* Record the fields for profiling. */
|
7287 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7288 |
|
|
{
|
7289 |
|
|
FLD (in_spr) = f_spr;
|
7290 |
|
|
FLD (out_GRj) = f_GRj;
|
7291 |
|
|
}
|
7292 |
|
|
#endif
|
7293 |
|
|
#undef FLD
|
7294 |
|
|
return idesc;
|
7295 |
|
|
}
|
7296 |
|
|
|
7297 |
|
|
extract_sfmt_bra:
|
7298 |
|
|
{
|
7299 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7300 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7301 |
|
|
#define FLD(f) abuf->fields.sfmt_fbne.f
|
7302 |
|
|
UINT f_hint;
|
7303 |
|
|
SI f_label16;
|
7304 |
|
|
|
7305 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7306 |
|
|
f_label16 = ((((EXTRACT_LSB0_SINT (insn, 32, 15, 16)) << (2))) + (pc));
|
7307 |
|
|
|
7308 |
|
|
/* Record the fields for the semantic handler. */
|
7309 |
|
|
FLD (f_hint) = f_hint;
|
7310 |
|
|
FLD (i_label16) = f_label16;
|
7311 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bra", "f_hint 0x%x", 'x', f_hint, "label16 0x%x", 'x', f_label16, (char *) 0));
|
7312 |
|
|
|
7313 |
|
|
#if WITH_PROFILE_MODEL_P
|
7314 |
|
|
/* Record the fields for profiling. */
|
7315 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7316 |
|
|
{
|
7317 |
|
|
}
|
7318 |
|
|
#endif
|
7319 |
|
|
#undef FLD
|
7320 |
|
|
return idesc;
|
7321 |
|
|
}
|
7322 |
|
|
|
7323 |
|
|
extract_sfmt_bno:
|
7324 |
|
|
{
|
7325 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7326 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7327 |
|
|
#define FLD(f) abuf->fields.sfmt_fbne.f
|
7328 |
|
|
UINT f_hint;
|
7329 |
|
|
SI f_label16;
|
7330 |
|
|
|
7331 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7332 |
|
|
f_label16 = ((((EXTRACT_LSB0_SINT (insn, 32, 15, 16)) << (2))) + (pc));
|
7333 |
|
|
|
7334 |
|
|
/* Record the fields for the semantic handler. */
|
7335 |
|
|
FLD (f_hint) = f_hint;
|
7336 |
|
|
FLD (i_label16) = f_label16;
|
7337 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bno", "f_hint 0x%x", 'x', f_hint, "label16 0x%x", 'x', f_label16, (char *) 0));
|
7338 |
|
|
|
7339 |
|
|
#undef FLD
|
7340 |
|
|
return idesc;
|
7341 |
|
|
}
|
7342 |
|
|
|
7343 |
|
|
extract_sfmt_beq:
|
7344 |
|
|
{
|
7345 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7346 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7347 |
|
|
#define FLD(f) abuf->fields.sfmt_beq.f
|
7348 |
|
|
UINT f_ICCi_2;
|
7349 |
|
|
UINT f_hint;
|
7350 |
|
|
SI f_label16;
|
7351 |
|
|
|
7352 |
|
|
f_ICCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
7353 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7354 |
|
|
f_label16 = ((((EXTRACT_LSB0_SINT (insn, 32, 15, 16)) << (2))) + (pc));
|
7355 |
|
|
|
7356 |
|
|
/* Record the fields for the semantic handler. */
|
7357 |
|
|
FLD (f_ICCi_2) = f_ICCi_2;
|
7358 |
|
|
FLD (f_hint) = f_hint;
|
7359 |
|
|
FLD (i_label16) = f_label16;
|
7360 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_beq", "f_ICCi_2 0x%x", 'x', f_ICCi_2, "f_hint 0x%x", 'x', f_hint, "label16 0x%x", 'x', f_label16, (char *) 0));
|
7361 |
|
|
|
7362 |
|
|
#if WITH_PROFILE_MODEL_P
|
7363 |
|
|
/* Record the fields for profiling. */
|
7364 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7365 |
|
|
{
|
7366 |
|
|
FLD (in_ICCi_2) = f_ICCi_2;
|
7367 |
|
|
}
|
7368 |
|
|
#endif
|
7369 |
|
|
#undef FLD
|
7370 |
|
|
return idesc;
|
7371 |
|
|
}
|
7372 |
|
|
|
7373 |
|
|
extract_sfmt_fbra:
|
7374 |
|
|
{
|
7375 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7376 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7377 |
|
|
#define FLD(f) abuf->fields.sfmt_fbne.f
|
7378 |
|
|
UINT f_hint;
|
7379 |
|
|
SI f_label16;
|
7380 |
|
|
|
7381 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7382 |
|
|
f_label16 = ((((EXTRACT_LSB0_SINT (insn, 32, 15, 16)) << (2))) + (pc));
|
7383 |
|
|
|
7384 |
|
|
/* Record the fields for the semantic handler. */
|
7385 |
|
|
FLD (f_hint) = f_hint;
|
7386 |
|
|
FLD (i_label16) = f_label16;
|
7387 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fbra", "f_hint 0x%x", 'x', f_hint, "label16 0x%x", 'x', f_label16, (char *) 0));
|
7388 |
|
|
|
7389 |
|
|
#if WITH_PROFILE_MODEL_P
|
7390 |
|
|
/* Record the fields for profiling. */
|
7391 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7392 |
|
|
{
|
7393 |
|
|
}
|
7394 |
|
|
#endif
|
7395 |
|
|
#undef FLD
|
7396 |
|
|
return idesc;
|
7397 |
|
|
}
|
7398 |
|
|
|
7399 |
|
|
extract_sfmt_fbno:
|
7400 |
|
|
{
|
7401 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7402 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7403 |
|
|
#define FLD(f) abuf->fields.sfmt_fbne.f
|
7404 |
|
|
UINT f_hint;
|
7405 |
|
|
SI f_label16;
|
7406 |
|
|
|
7407 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7408 |
|
|
f_label16 = ((((EXTRACT_LSB0_SINT (insn, 32, 15, 16)) << (2))) + (pc));
|
7409 |
|
|
|
7410 |
|
|
/* Record the fields for the semantic handler. */
|
7411 |
|
|
FLD (f_hint) = f_hint;
|
7412 |
|
|
FLD (i_label16) = f_label16;
|
7413 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fbno", "f_hint 0x%x", 'x', f_hint, "label16 0x%x", 'x', f_label16, (char *) 0));
|
7414 |
|
|
|
7415 |
|
|
#undef FLD
|
7416 |
|
|
return idesc;
|
7417 |
|
|
}
|
7418 |
|
|
|
7419 |
|
|
extract_sfmt_fbne:
|
7420 |
|
|
{
|
7421 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7422 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7423 |
|
|
#define FLD(f) abuf->fields.sfmt_fbne.f
|
7424 |
|
|
UINT f_FCCi_2;
|
7425 |
|
|
UINT f_hint;
|
7426 |
|
|
SI f_label16;
|
7427 |
|
|
|
7428 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
7429 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7430 |
|
|
f_label16 = ((((EXTRACT_LSB0_SINT (insn, 32, 15, 16)) << (2))) + (pc));
|
7431 |
|
|
|
7432 |
|
|
/* Record the fields for the semantic handler. */
|
7433 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
7434 |
|
|
FLD (f_hint) = f_hint;
|
7435 |
|
|
FLD (i_label16) = f_label16;
|
7436 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fbne", "f_FCCi_2 0x%x", 'x', f_FCCi_2, "f_hint 0x%x", 'x', f_hint, "label16 0x%x", 'x', f_label16, (char *) 0));
|
7437 |
|
|
|
7438 |
|
|
#if WITH_PROFILE_MODEL_P
|
7439 |
|
|
/* Record the fields for profiling. */
|
7440 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7441 |
|
|
{
|
7442 |
|
|
FLD (in_FCCi_2) = f_FCCi_2;
|
7443 |
|
|
}
|
7444 |
|
|
#endif
|
7445 |
|
|
#undef FLD
|
7446 |
|
|
return idesc;
|
7447 |
|
|
}
|
7448 |
|
|
|
7449 |
|
|
extract_sfmt_bctrlr:
|
7450 |
|
|
{
|
7451 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7452 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7453 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7454 |
|
|
UINT f_hint;
|
7455 |
|
|
UINT f_ccond;
|
7456 |
|
|
|
7457 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7458 |
|
|
f_ccond = EXTRACT_LSB0_UINT (insn, 32, 12, 1);
|
7459 |
|
|
|
7460 |
|
|
/* Record the fields for the semantic handler. */
|
7461 |
|
|
FLD (f_ccond) = f_ccond;
|
7462 |
|
|
FLD (f_hint) = f_hint;
|
7463 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bctrlr", "f_ccond 0x%x", 'x', f_ccond, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7464 |
|
|
|
7465 |
|
|
#if WITH_PROFILE_MODEL_P
|
7466 |
|
|
/* Record the fields for profiling. */
|
7467 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7468 |
|
|
{
|
7469 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7470 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7471 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7472 |
|
|
}
|
7473 |
|
|
#endif
|
7474 |
|
|
#undef FLD
|
7475 |
|
|
return idesc;
|
7476 |
|
|
}
|
7477 |
|
|
|
7478 |
|
|
extract_sfmt_bralr:
|
7479 |
|
|
{
|
7480 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7481 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7482 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7483 |
|
|
UINT f_hint;
|
7484 |
|
|
|
7485 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7486 |
|
|
|
7487 |
|
|
/* Record the fields for the semantic handler. */
|
7488 |
|
|
FLD (f_hint) = f_hint;
|
7489 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bralr", "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7490 |
|
|
|
7491 |
|
|
#if WITH_PROFILE_MODEL_P
|
7492 |
|
|
/* Record the fields for profiling. */
|
7493 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7494 |
|
|
{
|
7495 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7496 |
|
|
}
|
7497 |
|
|
#endif
|
7498 |
|
|
#undef FLD
|
7499 |
|
|
return idesc;
|
7500 |
|
|
}
|
7501 |
|
|
|
7502 |
|
|
extract_sfmt_bnolr:
|
7503 |
|
|
{
|
7504 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7505 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7506 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7507 |
|
|
UINT f_hint;
|
7508 |
|
|
|
7509 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7510 |
|
|
|
7511 |
|
|
/* Record the fields for the semantic handler. */
|
7512 |
|
|
FLD (f_hint) = f_hint;
|
7513 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bnolr", "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7514 |
|
|
|
7515 |
|
|
#if WITH_PROFILE_MODEL_P
|
7516 |
|
|
/* Record the fields for profiling. */
|
7517 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7518 |
|
|
{
|
7519 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7520 |
|
|
}
|
7521 |
|
|
#endif
|
7522 |
|
|
#undef FLD
|
7523 |
|
|
return idesc;
|
7524 |
|
|
}
|
7525 |
|
|
|
7526 |
|
|
extract_sfmt_beqlr:
|
7527 |
|
|
{
|
7528 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7529 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7530 |
|
|
#define FLD(f) abuf->fields.sfmt_bceqlr.f
|
7531 |
|
|
UINT f_ICCi_2;
|
7532 |
|
|
UINT f_hint;
|
7533 |
|
|
|
7534 |
|
|
f_ICCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
7535 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7536 |
|
|
|
7537 |
|
|
/* Record the fields for the semantic handler. */
|
7538 |
|
|
FLD (f_ICCi_2) = f_ICCi_2;
|
7539 |
|
|
FLD (f_hint) = f_hint;
|
7540 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_beqlr", "f_ICCi_2 0x%x", 'x', f_ICCi_2, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7541 |
|
|
|
7542 |
|
|
#if WITH_PROFILE_MODEL_P
|
7543 |
|
|
/* Record the fields for profiling. */
|
7544 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7545 |
|
|
{
|
7546 |
|
|
FLD (in_ICCi_2) = f_ICCi_2;
|
7547 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7548 |
|
|
}
|
7549 |
|
|
#endif
|
7550 |
|
|
#undef FLD
|
7551 |
|
|
return idesc;
|
7552 |
|
|
}
|
7553 |
|
|
|
7554 |
|
|
extract_sfmt_fbralr:
|
7555 |
|
|
{
|
7556 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7557 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7558 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7559 |
|
|
UINT f_hint;
|
7560 |
|
|
|
7561 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7562 |
|
|
|
7563 |
|
|
/* Record the fields for the semantic handler. */
|
7564 |
|
|
FLD (f_hint) = f_hint;
|
7565 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fbralr", "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7566 |
|
|
|
7567 |
|
|
#if WITH_PROFILE_MODEL_P
|
7568 |
|
|
/* Record the fields for profiling. */
|
7569 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7570 |
|
|
{
|
7571 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7572 |
|
|
}
|
7573 |
|
|
#endif
|
7574 |
|
|
#undef FLD
|
7575 |
|
|
return idesc;
|
7576 |
|
|
}
|
7577 |
|
|
|
7578 |
|
|
extract_sfmt_fbnolr:
|
7579 |
|
|
{
|
7580 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7581 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7582 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7583 |
|
|
UINT f_hint;
|
7584 |
|
|
|
7585 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7586 |
|
|
|
7587 |
|
|
/* Record the fields for the semantic handler. */
|
7588 |
|
|
FLD (f_hint) = f_hint;
|
7589 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fbnolr", "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7590 |
|
|
|
7591 |
|
|
#if WITH_PROFILE_MODEL_P
|
7592 |
|
|
/* Record the fields for profiling. */
|
7593 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7594 |
|
|
{
|
7595 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7596 |
|
|
}
|
7597 |
|
|
#endif
|
7598 |
|
|
#undef FLD
|
7599 |
|
|
return idesc;
|
7600 |
|
|
}
|
7601 |
|
|
|
7602 |
|
|
extract_sfmt_fbeqlr:
|
7603 |
|
|
{
|
7604 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7605 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7606 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7607 |
|
|
UINT f_FCCi_2;
|
7608 |
|
|
UINT f_hint;
|
7609 |
|
|
|
7610 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
7611 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7612 |
|
|
|
7613 |
|
|
/* Record the fields for the semantic handler. */
|
7614 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
7615 |
|
|
FLD (f_hint) = f_hint;
|
7616 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fbeqlr", "f_FCCi_2 0x%x", 'x', f_FCCi_2, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7617 |
|
|
|
7618 |
|
|
#if WITH_PROFILE_MODEL_P
|
7619 |
|
|
/* Record the fields for profiling. */
|
7620 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7621 |
|
|
{
|
7622 |
|
|
FLD (in_FCCi_2) = f_FCCi_2;
|
7623 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7624 |
|
|
}
|
7625 |
|
|
#endif
|
7626 |
|
|
#undef FLD
|
7627 |
|
|
return idesc;
|
7628 |
|
|
}
|
7629 |
|
|
|
7630 |
|
|
extract_sfmt_bcralr:
|
7631 |
|
|
{
|
7632 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7633 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7634 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7635 |
|
|
UINT f_hint;
|
7636 |
|
|
UINT f_ccond;
|
7637 |
|
|
|
7638 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7639 |
|
|
f_ccond = EXTRACT_LSB0_UINT (insn, 32, 12, 1);
|
7640 |
|
|
|
7641 |
|
|
/* Record the fields for the semantic handler. */
|
7642 |
|
|
FLD (f_ccond) = f_ccond;
|
7643 |
|
|
FLD (f_hint) = f_hint;
|
7644 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bcralr", "f_ccond 0x%x", 'x', f_ccond, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7645 |
|
|
|
7646 |
|
|
#if WITH_PROFILE_MODEL_P
|
7647 |
|
|
/* Record the fields for profiling. */
|
7648 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7649 |
|
|
{
|
7650 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7651 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7652 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7653 |
|
|
}
|
7654 |
|
|
#endif
|
7655 |
|
|
#undef FLD
|
7656 |
|
|
return idesc;
|
7657 |
|
|
}
|
7658 |
|
|
|
7659 |
|
|
extract_sfmt_bcnolr:
|
7660 |
|
|
{
|
7661 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7662 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7663 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7664 |
|
|
UINT f_hint;
|
7665 |
|
|
|
7666 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7667 |
|
|
|
7668 |
|
|
/* Record the fields for the semantic handler. */
|
7669 |
|
|
FLD (f_hint) = f_hint;
|
7670 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bcnolr", "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7671 |
|
|
|
7672 |
|
|
#if WITH_PROFILE_MODEL_P
|
7673 |
|
|
/* Record the fields for profiling. */
|
7674 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7675 |
|
|
{
|
7676 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7677 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7678 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7679 |
|
|
}
|
7680 |
|
|
#endif
|
7681 |
|
|
#undef FLD
|
7682 |
|
|
return idesc;
|
7683 |
|
|
}
|
7684 |
|
|
|
7685 |
|
|
extract_sfmt_bceqlr:
|
7686 |
|
|
{
|
7687 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7688 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7689 |
|
|
#define FLD(f) abuf->fields.sfmt_bceqlr.f
|
7690 |
|
|
UINT f_ICCi_2;
|
7691 |
|
|
UINT f_hint;
|
7692 |
|
|
UINT f_ccond;
|
7693 |
|
|
|
7694 |
|
|
f_ICCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
7695 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7696 |
|
|
f_ccond = EXTRACT_LSB0_UINT (insn, 32, 12, 1);
|
7697 |
|
|
|
7698 |
|
|
/* Record the fields for the semantic handler. */
|
7699 |
|
|
FLD (f_ICCi_2) = f_ICCi_2;
|
7700 |
|
|
FLD (f_ccond) = f_ccond;
|
7701 |
|
|
FLD (f_hint) = f_hint;
|
7702 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_bceqlr", "f_ICCi_2 0x%x", 'x', f_ICCi_2, "f_ccond 0x%x", 'x', f_ccond, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7703 |
|
|
|
7704 |
|
|
#if WITH_PROFILE_MODEL_P
|
7705 |
|
|
/* Record the fields for profiling. */
|
7706 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7707 |
|
|
{
|
7708 |
|
|
FLD (in_ICCi_2) = f_ICCi_2;
|
7709 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7710 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7711 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7712 |
|
|
}
|
7713 |
|
|
#endif
|
7714 |
|
|
#undef FLD
|
7715 |
|
|
return idesc;
|
7716 |
|
|
}
|
7717 |
|
|
|
7718 |
|
|
extract_sfmt_fcbralr:
|
7719 |
|
|
{
|
7720 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7721 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7722 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7723 |
|
|
UINT f_hint;
|
7724 |
|
|
UINT f_ccond;
|
7725 |
|
|
|
7726 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7727 |
|
|
f_ccond = EXTRACT_LSB0_UINT (insn, 32, 12, 1);
|
7728 |
|
|
|
7729 |
|
|
/* Record the fields for the semantic handler. */
|
7730 |
|
|
FLD (f_ccond) = f_ccond;
|
7731 |
|
|
FLD (f_hint) = f_hint;
|
7732 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fcbralr", "f_ccond 0x%x", 'x', f_ccond, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7733 |
|
|
|
7734 |
|
|
#if WITH_PROFILE_MODEL_P
|
7735 |
|
|
/* Record the fields for profiling. */
|
7736 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7737 |
|
|
{
|
7738 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7739 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7740 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7741 |
|
|
}
|
7742 |
|
|
#endif
|
7743 |
|
|
#undef FLD
|
7744 |
|
|
return idesc;
|
7745 |
|
|
}
|
7746 |
|
|
|
7747 |
|
|
extract_sfmt_fcbnolr:
|
7748 |
|
|
{
|
7749 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7750 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7751 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7752 |
|
|
UINT f_hint;
|
7753 |
|
|
|
7754 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7755 |
|
|
|
7756 |
|
|
/* Record the fields for the semantic handler. */
|
7757 |
|
|
FLD (f_hint) = f_hint;
|
7758 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fcbnolr", "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7759 |
|
|
|
7760 |
|
|
#if WITH_PROFILE_MODEL_P
|
7761 |
|
|
/* Record the fields for profiling. */
|
7762 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7763 |
|
|
{
|
7764 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7765 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7766 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7767 |
|
|
}
|
7768 |
|
|
#endif
|
7769 |
|
|
#undef FLD
|
7770 |
|
|
return idesc;
|
7771 |
|
|
}
|
7772 |
|
|
|
7773 |
|
|
extract_sfmt_fcbeqlr:
|
7774 |
|
|
{
|
7775 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7776 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7777 |
|
|
#define FLD(f) abuf->fields.sfmt_fcbeqlr.f
|
7778 |
|
|
UINT f_FCCi_2;
|
7779 |
|
|
UINT f_hint;
|
7780 |
|
|
UINT f_ccond;
|
7781 |
|
|
|
7782 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
7783 |
|
|
f_hint = EXTRACT_LSB0_UINT (insn, 32, 17, 2);
|
7784 |
|
|
f_ccond = EXTRACT_LSB0_UINT (insn, 32, 12, 1);
|
7785 |
|
|
|
7786 |
|
|
/* Record the fields for the semantic handler. */
|
7787 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
7788 |
|
|
FLD (f_ccond) = f_ccond;
|
7789 |
|
|
FLD (f_hint) = f_hint;
|
7790 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fcbeqlr", "f_FCCi_2 0x%x", 'x', f_FCCi_2, "f_ccond 0x%x", 'x', f_ccond, "f_hint 0x%x", 'x', f_hint, (char *) 0));
|
7791 |
|
|
|
7792 |
|
|
#if WITH_PROFILE_MODEL_P
|
7793 |
|
|
/* Record the fields for profiling. */
|
7794 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7795 |
|
|
{
|
7796 |
|
|
FLD (in_FCCi_2) = f_FCCi_2;
|
7797 |
|
|
FLD (in_h_spr_USI_272) = 272;
|
7798 |
|
|
FLD (in_h_spr_USI_273) = 273;
|
7799 |
|
|
FLD (out_h_spr_USI_273) = 273;
|
7800 |
|
|
}
|
7801 |
|
|
#endif
|
7802 |
|
|
#undef FLD
|
7803 |
|
|
return idesc;
|
7804 |
|
|
}
|
7805 |
|
|
|
7806 |
|
|
extract_sfmt_jmpl:
|
7807 |
|
|
{
|
7808 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7809 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7810 |
|
|
#define FLD(f) abuf->fields.sfmt_cjmpl.f
|
7811 |
|
|
UINT f_LI;
|
7812 |
|
|
UINT f_GRi;
|
7813 |
|
|
UINT f_GRj;
|
7814 |
|
|
|
7815 |
|
|
f_LI = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
7816 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
7817 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7818 |
|
|
|
7819 |
|
|
/* Record the fields for the semantic handler. */
|
7820 |
|
|
FLD (f_GRi) = f_GRi;
|
7821 |
|
|
FLD (f_GRj) = f_GRj;
|
7822 |
|
|
FLD (f_LI) = f_LI;
|
7823 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_jmpl", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_LI 0x%x", 'x', f_LI, (char *) 0));
|
7824 |
|
|
|
7825 |
|
|
#if WITH_PROFILE_MODEL_P
|
7826 |
|
|
/* Record the fields for profiling. */
|
7827 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7828 |
|
|
{
|
7829 |
|
|
FLD (in_GRi) = f_GRi;
|
7830 |
|
|
FLD (in_GRj) = f_GRj;
|
7831 |
|
|
}
|
7832 |
|
|
#endif
|
7833 |
|
|
#undef FLD
|
7834 |
|
|
return idesc;
|
7835 |
|
|
}
|
7836 |
|
|
|
7837 |
|
|
extract_sfmt_calll:
|
7838 |
|
|
{
|
7839 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7840 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7841 |
|
|
#define FLD(f) abuf->fields.sfmt_cjmpl.f
|
7842 |
|
|
UINT f_LI;
|
7843 |
|
|
UINT f_GRi;
|
7844 |
|
|
UINT f_GRj;
|
7845 |
|
|
|
7846 |
|
|
f_LI = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
7847 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
7848 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
7849 |
|
|
|
7850 |
|
|
/* Record the fields for the semantic handler. */
|
7851 |
|
|
FLD (f_GRi) = f_GRi;
|
7852 |
|
|
FLD (f_GRj) = f_GRj;
|
7853 |
|
|
FLD (f_LI) = f_LI;
|
7854 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_calll", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_LI 0x%x", 'x', f_LI, (char *) 0));
|
7855 |
|
|
|
7856 |
|
|
#if WITH_PROFILE_MODEL_P
|
7857 |
|
|
/* Record the fields for profiling. */
|
7858 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7859 |
|
|
{
|
7860 |
|
|
FLD (in_GRi) = f_GRi;
|
7861 |
|
|
FLD (in_GRj) = f_GRj;
|
7862 |
|
|
}
|
7863 |
|
|
#endif
|
7864 |
|
|
#undef FLD
|
7865 |
|
|
return idesc;
|
7866 |
|
|
}
|
7867 |
|
|
|
7868 |
|
|
extract_sfmt_jmpil:
|
7869 |
|
|
{
|
7870 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7871 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7872 |
|
|
#define FLD(f) abuf->fields.sfmt_jmpil.f
|
7873 |
|
|
UINT f_LI;
|
7874 |
|
|
UINT f_GRi;
|
7875 |
|
|
INT f_d12;
|
7876 |
|
|
|
7877 |
|
|
f_LI = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
7878 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
7879 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
7880 |
|
|
|
7881 |
|
|
/* Record the fields for the semantic handler. */
|
7882 |
|
|
FLD (f_GRi) = f_GRi;
|
7883 |
|
|
FLD (f_LI) = f_LI;
|
7884 |
|
|
FLD (f_d12) = f_d12;
|
7885 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_jmpil", "f_GRi 0x%x", 'x', f_GRi, "f_LI 0x%x", 'x', f_LI, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
7886 |
|
|
|
7887 |
|
|
#if WITH_PROFILE_MODEL_P
|
7888 |
|
|
/* Record the fields for profiling. */
|
7889 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7890 |
|
|
{
|
7891 |
|
|
FLD (in_GRi) = f_GRi;
|
7892 |
|
|
}
|
7893 |
|
|
#endif
|
7894 |
|
|
#undef FLD
|
7895 |
|
|
return idesc;
|
7896 |
|
|
}
|
7897 |
|
|
|
7898 |
|
|
extract_sfmt_callil:
|
7899 |
|
|
{
|
7900 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7901 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7902 |
|
|
#define FLD(f) abuf->fields.sfmt_jmpil.f
|
7903 |
|
|
UINT f_LI;
|
7904 |
|
|
UINT f_GRi;
|
7905 |
|
|
INT f_d12;
|
7906 |
|
|
|
7907 |
|
|
f_LI = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
7908 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
7909 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
7910 |
|
|
|
7911 |
|
|
/* Record the fields for the semantic handler. */
|
7912 |
|
|
FLD (f_GRi) = f_GRi;
|
7913 |
|
|
FLD (f_LI) = f_LI;
|
7914 |
|
|
FLD (f_d12) = f_d12;
|
7915 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_callil", "f_GRi 0x%x", 'x', f_GRi, "f_LI 0x%x", 'x', f_LI, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
7916 |
|
|
|
7917 |
|
|
#if WITH_PROFILE_MODEL_P
|
7918 |
|
|
/* Record the fields for profiling. */
|
7919 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7920 |
|
|
{
|
7921 |
|
|
FLD (in_GRi) = f_GRi;
|
7922 |
|
|
}
|
7923 |
|
|
#endif
|
7924 |
|
|
#undef FLD
|
7925 |
|
|
return idesc;
|
7926 |
|
|
}
|
7927 |
|
|
|
7928 |
|
|
extract_sfmt_call:
|
7929 |
|
|
{
|
7930 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7931 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7932 |
|
|
#define FLD(f) abuf->fields.sfmt_call.f
|
7933 |
|
|
INT f_labelH6;
|
7934 |
|
|
UINT f_labelL18;
|
7935 |
|
|
INT f_label24;
|
7936 |
|
|
|
7937 |
|
|
f_labelH6 = EXTRACT_LSB0_SINT (insn, 32, 30, 6);
|
7938 |
|
|
f_labelL18 = EXTRACT_LSB0_UINT (insn, 32, 17, 18);
|
7939 |
|
|
{
|
7940 |
|
|
f_label24 = ((((((((f_labelH6) << (18))) | (f_labelL18))) << (2))) + (pc));
|
7941 |
|
|
}
|
7942 |
|
|
|
7943 |
|
|
/* Record the fields for the semantic handler. */
|
7944 |
|
|
FLD (i_label24) = f_label24;
|
7945 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_call", "label24 0x%x", 'x', f_label24, (char *) 0));
|
7946 |
|
|
|
7947 |
|
|
#if WITH_PROFILE_MODEL_P
|
7948 |
|
|
/* Record the fields for profiling. */
|
7949 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7950 |
|
|
{
|
7951 |
|
|
}
|
7952 |
|
|
#endif
|
7953 |
|
|
#undef FLD
|
7954 |
|
|
return idesc;
|
7955 |
|
|
}
|
7956 |
|
|
|
7957 |
|
|
extract_sfmt_rett:
|
7958 |
|
|
{
|
7959 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7960 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7961 |
|
|
#define FLD(f) abuf->fields.sfmt_rett.f
|
7962 |
|
|
UINT f_debug;
|
7963 |
|
|
|
7964 |
|
|
f_debug = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
7965 |
|
|
|
7966 |
|
|
/* Record the fields for the semantic handler. */
|
7967 |
|
|
FLD (f_debug) = f_debug;
|
7968 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_rett", "f_debug 0x%x", 'x', f_debug, (char *) 0));
|
7969 |
|
|
|
7970 |
|
|
#if WITH_PROFILE_MODEL_P
|
7971 |
|
|
/* Record the fields for profiling. */
|
7972 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
7973 |
|
|
{
|
7974 |
|
|
}
|
7975 |
|
|
#endif
|
7976 |
|
|
#undef FLD
|
7977 |
|
|
return idesc;
|
7978 |
|
|
}
|
7979 |
|
|
|
7980 |
|
|
extract_sfmt_rei:
|
7981 |
|
|
{
|
7982 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7983 |
|
|
#define FLD(f) abuf->fields.sfmt_empty.f
|
7984 |
|
|
|
7985 |
|
|
|
7986 |
|
|
/* Record the fields for the semantic handler. */
|
7987 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_rei", (char *) 0));
|
7988 |
|
|
|
7989 |
|
|
#undef FLD
|
7990 |
|
|
return idesc;
|
7991 |
|
|
}
|
7992 |
|
|
|
7993 |
|
|
extract_sfmt_tra:
|
7994 |
|
|
{
|
7995 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
7996 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
7997 |
|
|
#define FLD(f) abuf->fields.sfmt_ftne.f
|
7998 |
|
|
UINT f_GRi;
|
7999 |
|
|
UINT f_GRj;
|
8000 |
|
|
|
8001 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8002 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8003 |
|
|
|
8004 |
|
|
/* Record the fields for the semantic handler. */
|
8005 |
|
|
FLD (f_GRi) = f_GRi;
|
8006 |
|
|
FLD (f_GRj) = f_GRj;
|
8007 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_tra", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
8008 |
|
|
|
8009 |
|
|
#if WITH_PROFILE_MODEL_P
|
8010 |
|
|
/* Record the fields for profiling. */
|
8011 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8012 |
|
|
{
|
8013 |
|
|
FLD (in_GRi) = f_GRi;
|
8014 |
|
|
FLD (in_GRj) = f_GRj;
|
8015 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8016 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8017 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8018 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8019 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8020 |
|
|
}
|
8021 |
|
|
#endif
|
8022 |
|
|
#undef FLD
|
8023 |
|
|
return idesc;
|
8024 |
|
|
}
|
8025 |
|
|
|
8026 |
|
|
extract_sfmt_teq:
|
8027 |
|
|
{
|
8028 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8029 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8030 |
|
|
#define FLD(f) abuf->fields.sfmt_teq.f
|
8031 |
|
|
UINT f_ICCi_2;
|
8032 |
|
|
UINT f_GRi;
|
8033 |
|
|
UINT f_GRj;
|
8034 |
|
|
|
8035 |
|
|
f_ICCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8036 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8037 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8038 |
|
|
|
8039 |
|
|
/* Record the fields for the semantic handler. */
|
8040 |
|
|
FLD (f_GRi) = f_GRi;
|
8041 |
|
|
FLD (f_GRj) = f_GRj;
|
8042 |
|
|
FLD (f_ICCi_2) = f_ICCi_2;
|
8043 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_teq", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ICCi_2 0x%x", 'x', f_ICCi_2, (char *) 0));
|
8044 |
|
|
|
8045 |
|
|
#if WITH_PROFILE_MODEL_P
|
8046 |
|
|
/* Record the fields for profiling. */
|
8047 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8048 |
|
|
{
|
8049 |
|
|
FLD (in_GRi) = f_GRi;
|
8050 |
|
|
FLD (in_GRj) = f_GRj;
|
8051 |
|
|
FLD (in_ICCi_2) = f_ICCi_2;
|
8052 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8053 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8054 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8055 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8056 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8057 |
|
|
}
|
8058 |
|
|
#endif
|
8059 |
|
|
#undef FLD
|
8060 |
|
|
return idesc;
|
8061 |
|
|
}
|
8062 |
|
|
|
8063 |
|
|
extract_sfmt_ftra:
|
8064 |
|
|
{
|
8065 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8066 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8067 |
|
|
#define FLD(f) abuf->fields.sfmt_ftne.f
|
8068 |
|
|
UINT f_GRi;
|
8069 |
|
|
UINT f_GRj;
|
8070 |
|
|
|
8071 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8072 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8073 |
|
|
|
8074 |
|
|
/* Record the fields for the semantic handler. */
|
8075 |
|
|
FLD (f_GRi) = f_GRi;
|
8076 |
|
|
FLD (f_GRj) = f_GRj;
|
8077 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ftra", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
8078 |
|
|
|
8079 |
|
|
#if WITH_PROFILE_MODEL_P
|
8080 |
|
|
/* Record the fields for profiling. */
|
8081 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8082 |
|
|
{
|
8083 |
|
|
FLD (in_GRi) = f_GRi;
|
8084 |
|
|
FLD (in_GRj) = f_GRj;
|
8085 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8086 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8087 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8088 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8089 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8090 |
|
|
}
|
8091 |
|
|
#endif
|
8092 |
|
|
#undef FLD
|
8093 |
|
|
return idesc;
|
8094 |
|
|
}
|
8095 |
|
|
|
8096 |
|
|
extract_sfmt_ftne:
|
8097 |
|
|
{
|
8098 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8099 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8100 |
|
|
#define FLD(f) abuf->fields.sfmt_ftne.f
|
8101 |
|
|
UINT f_FCCi_2;
|
8102 |
|
|
UINT f_GRi;
|
8103 |
|
|
UINT f_GRj;
|
8104 |
|
|
|
8105 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8106 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8107 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8108 |
|
|
|
8109 |
|
|
/* Record the fields for the semantic handler. */
|
8110 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
8111 |
|
|
FLD (f_GRi) = f_GRi;
|
8112 |
|
|
FLD (f_GRj) = f_GRj;
|
8113 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ftne", "f_FCCi_2 0x%x", 'x', f_FCCi_2, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
8114 |
|
|
|
8115 |
|
|
#if WITH_PROFILE_MODEL_P
|
8116 |
|
|
/* Record the fields for profiling. */
|
8117 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8118 |
|
|
{
|
8119 |
|
|
FLD (in_FCCi_2) = f_FCCi_2;
|
8120 |
|
|
FLD (in_GRi) = f_GRi;
|
8121 |
|
|
FLD (in_GRj) = f_GRj;
|
8122 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8123 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8124 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8125 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8126 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8127 |
|
|
}
|
8128 |
|
|
#endif
|
8129 |
|
|
#undef FLD
|
8130 |
|
|
return idesc;
|
8131 |
|
|
}
|
8132 |
|
|
|
8133 |
|
|
extract_sfmt_tira:
|
8134 |
|
|
{
|
8135 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8136 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8137 |
|
|
#define FLD(f) abuf->fields.sfmt_ftine.f
|
8138 |
|
|
UINT f_GRi;
|
8139 |
|
|
INT f_d12;
|
8140 |
|
|
|
8141 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8142 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
8143 |
|
|
|
8144 |
|
|
/* Record the fields for the semantic handler. */
|
8145 |
|
|
FLD (f_GRi) = f_GRi;
|
8146 |
|
|
FLD (f_d12) = f_d12;
|
8147 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_tira", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
8148 |
|
|
|
8149 |
|
|
#if WITH_PROFILE_MODEL_P
|
8150 |
|
|
/* Record the fields for profiling. */
|
8151 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8152 |
|
|
{
|
8153 |
|
|
FLD (in_GRi) = f_GRi;
|
8154 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8155 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8156 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8157 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8158 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8159 |
|
|
}
|
8160 |
|
|
#endif
|
8161 |
|
|
#undef FLD
|
8162 |
|
|
return idesc;
|
8163 |
|
|
}
|
8164 |
|
|
|
8165 |
|
|
extract_sfmt_tieq:
|
8166 |
|
|
{
|
8167 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8168 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8169 |
|
|
#define FLD(f) abuf->fields.sfmt_tieq.f
|
8170 |
|
|
UINT f_ICCi_2;
|
8171 |
|
|
UINT f_GRi;
|
8172 |
|
|
INT f_d12;
|
8173 |
|
|
|
8174 |
|
|
f_ICCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8175 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8176 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
8177 |
|
|
|
8178 |
|
|
/* Record the fields for the semantic handler. */
|
8179 |
|
|
FLD (f_GRi) = f_GRi;
|
8180 |
|
|
FLD (f_ICCi_2) = f_ICCi_2;
|
8181 |
|
|
FLD (f_d12) = f_d12;
|
8182 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_tieq", "f_GRi 0x%x", 'x', f_GRi, "f_ICCi_2 0x%x", 'x', f_ICCi_2, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
8183 |
|
|
|
8184 |
|
|
#if WITH_PROFILE_MODEL_P
|
8185 |
|
|
/* Record the fields for profiling. */
|
8186 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8187 |
|
|
{
|
8188 |
|
|
FLD (in_GRi) = f_GRi;
|
8189 |
|
|
FLD (in_ICCi_2) = f_ICCi_2;
|
8190 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8191 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8192 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8193 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8194 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8195 |
|
|
}
|
8196 |
|
|
#endif
|
8197 |
|
|
#undef FLD
|
8198 |
|
|
return idesc;
|
8199 |
|
|
}
|
8200 |
|
|
|
8201 |
|
|
extract_sfmt_ftira:
|
8202 |
|
|
{
|
8203 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8204 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8205 |
|
|
#define FLD(f) abuf->fields.sfmt_ftine.f
|
8206 |
|
|
UINT f_GRi;
|
8207 |
|
|
INT f_d12;
|
8208 |
|
|
|
8209 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8210 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
8211 |
|
|
|
8212 |
|
|
/* Record the fields for the semantic handler. */
|
8213 |
|
|
FLD (f_GRi) = f_GRi;
|
8214 |
|
|
FLD (f_d12) = f_d12;
|
8215 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ftira", "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
8216 |
|
|
|
8217 |
|
|
#if WITH_PROFILE_MODEL_P
|
8218 |
|
|
/* Record the fields for profiling. */
|
8219 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8220 |
|
|
{
|
8221 |
|
|
FLD (in_GRi) = f_GRi;
|
8222 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8223 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8224 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8225 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8226 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8227 |
|
|
}
|
8228 |
|
|
#endif
|
8229 |
|
|
#undef FLD
|
8230 |
|
|
return idesc;
|
8231 |
|
|
}
|
8232 |
|
|
|
8233 |
|
|
extract_sfmt_ftine:
|
8234 |
|
|
{
|
8235 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8236 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8237 |
|
|
#define FLD(f) abuf->fields.sfmt_ftine.f
|
8238 |
|
|
UINT f_FCCi_2;
|
8239 |
|
|
UINT f_GRi;
|
8240 |
|
|
INT f_d12;
|
8241 |
|
|
|
8242 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8243 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8244 |
|
|
f_d12 = EXTRACT_LSB0_SINT (insn, 32, 11, 12);
|
8245 |
|
|
|
8246 |
|
|
/* Record the fields for the semantic handler. */
|
8247 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
8248 |
|
|
FLD (f_GRi) = f_GRi;
|
8249 |
|
|
FLD (f_d12) = f_d12;
|
8250 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ftine", "f_FCCi_2 0x%x", 'x', f_FCCi_2, "f_GRi 0x%x", 'x', f_GRi, "f_d12 0x%x", 'x', f_d12, (char *) 0));
|
8251 |
|
|
|
8252 |
|
|
#if WITH_PROFILE_MODEL_P
|
8253 |
|
|
/* Record the fields for profiling. */
|
8254 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8255 |
|
|
{
|
8256 |
|
|
FLD (in_FCCi_2) = f_FCCi_2;
|
8257 |
|
|
FLD (in_GRi) = f_GRi;
|
8258 |
|
|
FLD (out_h_spr_USI_1) = 1;
|
8259 |
|
|
FLD (out_h_spr_USI_768) = 768;
|
8260 |
|
|
FLD (out_h_spr_USI_769) = 769;
|
8261 |
|
|
FLD (out_h_spr_USI_770) = 770;
|
8262 |
|
|
FLD (out_h_spr_USI_771) = 771;
|
8263 |
|
|
}
|
8264 |
|
|
#endif
|
8265 |
|
|
#undef FLD
|
8266 |
|
|
return idesc;
|
8267 |
|
|
}
|
8268 |
|
|
|
8269 |
|
|
extract_sfmt_break:
|
8270 |
|
|
{
|
8271 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8272 |
|
|
#define FLD(f) abuf->fields.sfmt_break.f
|
8273 |
|
|
|
8274 |
|
|
|
8275 |
|
|
/* Record the fields for the semantic handler. */
|
8276 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_break", (char *) 0));
|
8277 |
|
|
|
8278 |
|
|
#if WITH_PROFILE_MODEL_P
|
8279 |
|
|
/* Record the fields for profiling. */
|
8280 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8281 |
|
|
{
|
8282 |
|
|
FLD (out_h_spr_USI_2) = 2;
|
8283 |
|
|
}
|
8284 |
|
|
#endif
|
8285 |
|
|
#undef FLD
|
8286 |
|
|
return idesc;
|
8287 |
|
|
}
|
8288 |
|
|
|
8289 |
|
|
extract_sfmt_andcr:
|
8290 |
|
|
{
|
8291 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8292 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8293 |
|
|
#define FLD(f) abuf->fields.sfmt_andcr.f
|
8294 |
|
|
UINT f_CRk;
|
8295 |
|
|
UINT f_CRi;
|
8296 |
|
|
UINT f_CRj;
|
8297 |
|
|
|
8298 |
|
|
f_CRk = EXTRACT_LSB0_UINT (insn, 32, 27, 3);
|
8299 |
|
|
f_CRi = EXTRACT_LSB0_UINT (insn, 32, 14, 3);
|
8300 |
|
|
f_CRj = EXTRACT_LSB0_UINT (insn, 32, 2, 3);
|
8301 |
|
|
|
8302 |
|
|
/* Record the fields for the semantic handler. */
|
8303 |
|
|
FLD (f_CRi) = f_CRi;
|
8304 |
|
|
FLD (f_CRj) = f_CRj;
|
8305 |
|
|
FLD (f_CRk) = f_CRk;
|
8306 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_andcr", "f_CRi 0x%x", 'x', f_CRi, "f_CRj 0x%x", 'x', f_CRj, "f_CRk 0x%x", 'x', f_CRk, (char *) 0));
|
8307 |
|
|
|
8308 |
|
|
#if WITH_PROFILE_MODEL_P
|
8309 |
|
|
/* Record the fields for profiling. */
|
8310 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8311 |
|
|
{
|
8312 |
|
|
FLD (in_CRi) = f_CRi;
|
8313 |
|
|
FLD (in_CRj) = f_CRj;
|
8314 |
|
|
FLD (out_CRk) = f_CRk;
|
8315 |
|
|
}
|
8316 |
|
|
#endif
|
8317 |
|
|
#undef FLD
|
8318 |
|
|
return idesc;
|
8319 |
|
|
}
|
8320 |
|
|
|
8321 |
|
|
extract_sfmt_notcr:
|
8322 |
|
|
{
|
8323 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8324 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8325 |
|
|
#define FLD(f) abuf->fields.sfmt_andcr.f
|
8326 |
|
|
UINT f_CRk;
|
8327 |
|
|
UINT f_CRj;
|
8328 |
|
|
|
8329 |
|
|
f_CRk = EXTRACT_LSB0_UINT (insn, 32, 27, 3);
|
8330 |
|
|
f_CRj = EXTRACT_LSB0_UINT (insn, 32, 2, 3);
|
8331 |
|
|
|
8332 |
|
|
/* Record the fields for the semantic handler. */
|
8333 |
|
|
FLD (f_CRj) = f_CRj;
|
8334 |
|
|
FLD (f_CRk) = f_CRk;
|
8335 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_notcr", "f_CRj 0x%x", 'x', f_CRj, "f_CRk 0x%x", 'x', f_CRk, (char *) 0));
|
8336 |
|
|
|
8337 |
|
|
#if WITH_PROFILE_MODEL_P
|
8338 |
|
|
/* Record the fields for profiling. */
|
8339 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8340 |
|
|
{
|
8341 |
|
|
FLD (in_CRj) = f_CRj;
|
8342 |
|
|
FLD (out_CRk) = f_CRk;
|
8343 |
|
|
}
|
8344 |
|
|
#endif
|
8345 |
|
|
#undef FLD
|
8346 |
|
|
return idesc;
|
8347 |
|
|
}
|
8348 |
|
|
|
8349 |
|
|
extract_sfmt_ckra:
|
8350 |
|
|
{
|
8351 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8352 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8353 |
|
|
#define FLD(f) abuf->fields.sfmt_cckeq.f
|
8354 |
|
|
SI f_CRj_int;
|
8355 |
|
|
|
8356 |
|
|
f_CRj_int = ((EXTRACT_LSB0_UINT (insn, 32, 26, 2)) + (4));
|
8357 |
|
|
|
8358 |
|
|
/* Record the fields for the semantic handler. */
|
8359 |
|
|
FLD (f_CRj_int) = f_CRj_int;
|
8360 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ckra", "f_CRj_int 0x%x", 'x', f_CRj_int, (char *) 0));
|
8361 |
|
|
|
8362 |
|
|
#if WITH_PROFILE_MODEL_P
|
8363 |
|
|
/* Record the fields for profiling. */
|
8364 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8365 |
|
|
{
|
8366 |
|
|
FLD (out_CRj_int) = f_CRj_int;
|
8367 |
|
|
}
|
8368 |
|
|
#endif
|
8369 |
|
|
#undef FLD
|
8370 |
|
|
return idesc;
|
8371 |
|
|
}
|
8372 |
|
|
|
8373 |
|
|
extract_sfmt_ckeq:
|
8374 |
|
|
{
|
8375 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8376 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8377 |
|
|
#define FLD(f) abuf->fields.sfmt_cckeq.f
|
8378 |
|
|
SI f_CRj_int;
|
8379 |
|
|
UINT f_ICCi_3;
|
8380 |
|
|
|
8381 |
|
|
f_CRj_int = ((EXTRACT_LSB0_UINT (insn, 32, 26, 2)) + (4));
|
8382 |
|
|
f_ICCi_3 = EXTRACT_LSB0_UINT (insn, 32, 1, 2);
|
8383 |
|
|
|
8384 |
|
|
/* Record the fields for the semantic handler. */
|
8385 |
|
|
FLD (f_ICCi_3) = f_ICCi_3;
|
8386 |
|
|
FLD (f_CRj_int) = f_CRj_int;
|
8387 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ckeq", "f_ICCi_3 0x%x", 'x', f_ICCi_3, "f_CRj_int 0x%x", 'x', f_CRj_int, (char *) 0));
|
8388 |
|
|
|
8389 |
|
|
#if WITH_PROFILE_MODEL_P
|
8390 |
|
|
/* Record the fields for profiling. */
|
8391 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8392 |
|
|
{
|
8393 |
|
|
FLD (in_ICCi_3) = f_ICCi_3;
|
8394 |
|
|
FLD (out_CRj_int) = f_CRj_int;
|
8395 |
|
|
}
|
8396 |
|
|
#endif
|
8397 |
|
|
#undef FLD
|
8398 |
|
|
return idesc;
|
8399 |
|
|
}
|
8400 |
|
|
|
8401 |
|
|
extract_sfmt_fckra:
|
8402 |
|
|
{
|
8403 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8404 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8405 |
|
|
#define FLD(f) abuf->fields.sfmt_cfckne.f
|
8406 |
|
|
UINT f_CRj_float;
|
8407 |
|
|
|
8408 |
|
|
f_CRj_float = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8409 |
|
|
|
8410 |
|
|
/* Record the fields for the semantic handler. */
|
8411 |
|
|
FLD (f_CRj_float) = f_CRj_float;
|
8412 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fckra", "f_CRj_float 0x%x", 'x', f_CRj_float, (char *) 0));
|
8413 |
|
|
|
8414 |
|
|
#if WITH_PROFILE_MODEL_P
|
8415 |
|
|
/* Record the fields for profiling. */
|
8416 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8417 |
|
|
{
|
8418 |
|
|
FLD (out_CRj_float) = f_CRj_float;
|
8419 |
|
|
}
|
8420 |
|
|
#endif
|
8421 |
|
|
#undef FLD
|
8422 |
|
|
return idesc;
|
8423 |
|
|
}
|
8424 |
|
|
|
8425 |
|
|
extract_sfmt_fckne:
|
8426 |
|
|
{
|
8427 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8428 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8429 |
|
|
#define FLD(f) abuf->fields.sfmt_cfckne.f
|
8430 |
|
|
UINT f_CRj_float;
|
8431 |
|
|
UINT f_FCCi_3;
|
8432 |
|
|
|
8433 |
|
|
f_CRj_float = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8434 |
|
|
f_FCCi_3 = EXTRACT_LSB0_UINT (insn, 32, 1, 2);
|
8435 |
|
|
|
8436 |
|
|
/* Record the fields for the semantic handler. */
|
8437 |
|
|
FLD (f_FCCi_3) = f_FCCi_3;
|
8438 |
|
|
FLD (f_CRj_float) = f_CRj_float;
|
8439 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fckne", "f_FCCi_3 0x%x", 'x', f_FCCi_3, "f_CRj_float 0x%x", 'x', f_CRj_float, (char *) 0));
|
8440 |
|
|
|
8441 |
|
|
#if WITH_PROFILE_MODEL_P
|
8442 |
|
|
/* Record the fields for profiling. */
|
8443 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8444 |
|
|
{
|
8445 |
|
|
FLD (in_FCCi_3) = f_FCCi_3;
|
8446 |
|
|
FLD (out_CRj_float) = f_CRj_float;
|
8447 |
|
|
}
|
8448 |
|
|
#endif
|
8449 |
|
|
#undef FLD
|
8450 |
|
|
return idesc;
|
8451 |
|
|
}
|
8452 |
|
|
|
8453 |
|
|
extract_sfmt_cckra:
|
8454 |
|
|
{
|
8455 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8456 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8457 |
|
|
#define FLD(f) abuf->fields.sfmt_cckeq.f
|
8458 |
|
|
SI f_CRj_int;
|
8459 |
|
|
UINT f_CCi;
|
8460 |
|
|
UINT f_cond;
|
8461 |
|
|
|
8462 |
|
|
f_CRj_int = ((EXTRACT_LSB0_UINT (insn, 32, 26, 2)) + (4));
|
8463 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
8464 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
8465 |
|
|
|
8466 |
|
|
/* Record the fields for the semantic handler. */
|
8467 |
|
|
FLD (f_CCi) = f_CCi;
|
8468 |
|
|
FLD (f_cond) = f_cond;
|
8469 |
|
|
FLD (f_CRj_int) = f_CRj_int;
|
8470 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cckra", "f_CCi 0x%x", 'x', f_CCi, "f_cond 0x%x", 'x', f_cond, "f_CRj_int 0x%x", 'x', f_CRj_int, (char *) 0));
|
8471 |
|
|
|
8472 |
|
|
#if WITH_PROFILE_MODEL_P
|
8473 |
|
|
/* Record the fields for profiling. */
|
8474 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8475 |
|
|
{
|
8476 |
|
|
FLD (in_CCi) = f_CCi;
|
8477 |
|
|
FLD (out_CRj_int) = f_CRj_int;
|
8478 |
|
|
}
|
8479 |
|
|
#endif
|
8480 |
|
|
#undef FLD
|
8481 |
|
|
return idesc;
|
8482 |
|
|
}
|
8483 |
|
|
|
8484 |
|
|
extract_sfmt_cckeq:
|
8485 |
|
|
{
|
8486 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8487 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8488 |
|
|
#define FLD(f) abuf->fields.sfmt_cckeq.f
|
8489 |
|
|
SI f_CRj_int;
|
8490 |
|
|
UINT f_CCi;
|
8491 |
|
|
UINT f_cond;
|
8492 |
|
|
UINT f_ICCi_3;
|
8493 |
|
|
|
8494 |
|
|
f_CRj_int = ((EXTRACT_LSB0_UINT (insn, 32, 26, 2)) + (4));
|
8495 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
8496 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
8497 |
|
|
f_ICCi_3 = EXTRACT_LSB0_UINT (insn, 32, 1, 2);
|
8498 |
|
|
|
8499 |
|
|
/* Record the fields for the semantic handler. */
|
8500 |
|
|
FLD (f_CCi) = f_CCi;
|
8501 |
|
|
FLD (f_ICCi_3) = f_ICCi_3;
|
8502 |
|
|
FLD (f_cond) = f_cond;
|
8503 |
|
|
FLD (f_CRj_int) = f_CRj_int;
|
8504 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cckeq", "f_CCi 0x%x", 'x', f_CCi, "f_ICCi_3 0x%x", 'x', f_ICCi_3, "f_cond 0x%x", 'x', f_cond, "f_CRj_int 0x%x", 'x', f_CRj_int, (char *) 0));
|
8505 |
|
|
|
8506 |
|
|
#if WITH_PROFILE_MODEL_P
|
8507 |
|
|
/* Record the fields for profiling. */
|
8508 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8509 |
|
|
{
|
8510 |
|
|
FLD (in_CCi) = f_CCi;
|
8511 |
|
|
FLD (in_ICCi_3) = f_ICCi_3;
|
8512 |
|
|
FLD (out_CRj_int) = f_CRj_int;
|
8513 |
|
|
}
|
8514 |
|
|
#endif
|
8515 |
|
|
#undef FLD
|
8516 |
|
|
return idesc;
|
8517 |
|
|
}
|
8518 |
|
|
|
8519 |
|
|
extract_sfmt_cfckra:
|
8520 |
|
|
{
|
8521 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8522 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8523 |
|
|
#define FLD(f) abuf->fields.sfmt_cfckne.f
|
8524 |
|
|
UINT f_CRj_float;
|
8525 |
|
|
UINT f_CCi;
|
8526 |
|
|
UINT f_cond;
|
8527 |
|
|
|
8528 |
|
|
f_CRj_float = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8529 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
8530 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
8531 |
|
|
|
8532 |
|
|
/* Record the fields for the semantic handler. */
|
8533 |
|
|
FLD (f_CCi) = f_CCi;
|
8534 |
|
|
FLD (f_cond) = f_cond;
|
8535 |
|
|
FLD (f_CRj_float) = f_CRj_float;
|
8536 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfckra", "f_CCi 0x%x", 'x', f_CCi, "f_cond 0x%x", 'x', f_cond, "f_CRj_float 0x%x", 'x', f_CRj_float, (char *) 0));
|
8537 |
|
|
|
8538 |
|
|
#if WITH_PROFILE_MODEL_P
|
8539 |
|
|
/* Record the fields for profiling. */
|
8540 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8541 |
|
|
{
|
8542 |
|
|
FLD (in_CCi) = f_CCi;
|
8543 |
|
|
FLD (out_CRj_float) = f_CRj_float;
|
8544 |
|
|
}
|
8545 |
|
|
#endif
|
8546 |
|
|
#undef FLD
|
8547 |
|
|
return idesc;
|
8548 |
|
|
}
|
8549 |
|
|
|
8550 |
|
|
extract_sfmt_cfckne:
|
8551 |
|
|
{
|
8552 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8553 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8554 |
|
|
#define FLD(f) abuf->fields.sfmt_cfckne.f
|
8555 |
|
|
UINT f_CRj_float;
|
8556 |
|
|
UINT f_CCi;
|
8557 |
|
|
UINT f_cond;
|
8558 |
|
|
UINT f_FCCi_3;
|
8559 |
|
|
|
8560 |
|
|
f_CRj_float = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
8561 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
8562 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
8563 |
|
|
f_FCCi_3 = EXTRACT_LSB0_UINT (insn, 32, 1, 2);
|
8564 |
|
|
|
8565 |
|
|
/* Record the fields for the semantic handler. */
|
8566 |
|
|
FLD (f_CCi) = f_CCi;
|
8567 |
|
|
FLD (f_FCCi_3) = f_FCCi_3;
|
8568 |
|
|
FLD (f_cond) = f_cond;
|
8569 |
|
|
FLD (f_CRj_float) = f_CRj_float;
|
8570 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfckne", "f_CCi 0x%x", 'x', f_CCi, "f_FCCi_3 0x%x", 'x', f_FCCi_3, "f_cond 0x%x", 'x', f_cond, "f_CRj_float 0x%x", 'x', f_CRj_float, (char *) 0));
|
8571 |
|
|
|
8572 |
|
|
#if WITH_PROFILE_MODEL_P
|
8573 |
|
|
/* Record the fields for profiling. */
|
8574 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8575 |
|
|
{
|
8576 |
|
|
FLD (in_CCi) = f_CCi;
|
8577 |
|
|
FLD (in_FCCi_3) = f_FCCi_3;
|
8578 |
|
|
FLD (out_CRj_float) = f_CRj_float;
|
8579 |
|
|
}
|
8580 |
|
|
#endif
|
8581 |
|
|
#undef FLD
|
8582 |
|
|
return idesc;
|
8583 |
|
|
}
|
8584 |
|
|
|
8585 |
|
|
extract_sfmt_cjmpl:
|
8586 |
|
|
{
|
8587 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8588 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8589 |
|
|
#define FLD(f) abuf->fields.sfmt_cjmpl.f
|
8590 |
|
|
UINT f_LI;
|
8591 |
|
|
UINT f_GRi;
|
8592 |
|
|
UINT f_CCi;
|
8593 |
|
|
UINT f_cond;
|
8594 |
|
|
UINT f_GRj;
|
8595 |
|
|
|
8596 |
|
|
f_LI = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
8597 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8598 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
8599 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
8600 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8601 |
|
|
|
8602 |
|
|
/* Record the fields for the semantic handler. */
|
8603 |
|
|
FLD (f_CCi) = f_CCi;
|
8604 |
|
|
FLD (f_GRi) = f_GRi;
|
8605 |
|
|
FLD (f_GRj) = f_GRj;
|
8606 |
|
|
FLD (f_LI) = f_LI;
|
8607 |
|
|
FLD (f_cond) = f_cond;
|
8608 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cjmpl", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_LI 0x%x", 'x', f_LI, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
8609 |
|
|
|
8610 |
|
|
#if WITH_PROFILE_MODEL_P
|
8611 |
|
|
/* Record the fields for profiling. */
|
8612 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8613 |
|
|
{
|
8614 |
|
|
FLD (in_CCi) = f_CCi;
|
8615 |
|
|
FLD (in_GRi) = f_GRi;
|
8616 |
|
|
FLD (in_GRj) = f_GRj;
|
8617 |
|
|
}
|
8618 |
|
|
#endif
|
8619 |
|
|
#undef FLD
|
8620 |
|
|
return idesc;
|
8621 |
|
|
}
|
8622 |
|
|
|
8623 |
|
|
extract_sfmt_ccalll:
|
8624 |
|
|
{
|
8625 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8626 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8627 |
|
|
#define FLD(f) abuf->fields.sfmt_cjmpl.f
|
8628 |
|
|
UINT f_LI;
|
8629 |
|
|
UINT f_GRi;
|
8630 |
|
|
UINT f_CCi;
|
8631 |
|
|
UINT f_cond;
|
8632 |
|
|
UINT f_GRj;
|
8633 |
|
|
|
8634 |
|
|
f_LI = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
8635 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8636 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
8637 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
8638 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8639 |
|
|
|
8640 |
|
|
/* Record the fields for the semantic handler. */
|
8641 |
|
|
FLD (f_CCi) = f_CCi;
|
8642 |
|
|
FLD (f_GRi) = f_GRi;
|
8643 |
|
|
FLD (f_GRj) = f_GRj;
|
8644 |
|
|
FLD (f_LI) = f_LI;
|
8645 |
|
|
FLD (f_cond) = f_cond;
|
8646 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ccalll", "f_CCi 0x%x", 'x', f_CCi, "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_LI 0x%x", 'x', f_LI, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
8647 |
|
|
|
8648 |
|
|
#if WITH_PROFILE_MODEL_P
|
8649 |
|
|
/* Record the fields for profiling. */
|
8650 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8651 |
|
|
{
|
8652 |
|
|
FLD (in_CCi) = f_CCi;
|
8653 |
|
|
FLD (in_GRi) = f_GRi;
|
8654 |
|
|
FLD (in_GRj) = f_GRj;
|
8655 |
|
|
}
|
8656 |
|
|
#endif
|
8657 |
|
|
#undef FLD
|
8658 |
|
|
return idesc;
|
8659 |
|
|
}
|
8660 |
|
|
|
8661 |
|
|
extract_sfmt_ici:
|
8662 |
|
|
{
|
8663 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8664 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8665 |
|
|
#define FLD(f) abuf->fields.sfmt_icpl.f
|
8666 |
|
|
UINT f_GRi;
|
8667 |
|
|
UINT f_GRj;
|
8668 |
|
|
|
8669 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8670 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8671 |
|
|
|
8672 |
|
|
/* Record the fields for the semantic handler. */
|
8673 |
|
|
FLD (f_GRi) = f_GRi;
|
8674 |
|
|
FLD (f_GRj) = f_GRj;
|
8675 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_ici", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, (char *) 0));
|
8676 |
|
|
|
8677 |
|
|
#if WITH_PROFILE_MODEL_P
|
8678 |
|
|
/* Record the fields for profiling. */
|
8679 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8680 |
|
|
{
|
8681 |
|
|
FLD (in_GRi) = f_GRi;
|
8682 |
|
|
FLD (in_GRj) = f_GRj;
|
8683 |
|
|
}
|
8684 |
|
|
#endif
|
8685 |
|
|
#undef FLD
|
8686 |
|
|
return idesc;
|
8687 |
|
|
}
|
8688 |
|
|
|
8689 |
|
|
extract_sfmt_icei:
|
8690 |
|
|
{
|
8691 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8692 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8693 |
|
|
#define FLD(f) abuf->fields.sfmt_icei.f
|
8694 |
|
|
UINT f_ae;
|
8695 |
|
|
UINT f_GRi;
|
8696 |
|
|
UINT f_GRj;
|
8697 |
|
|
|
8698 |
|
|
f_ae = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
8699 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8700 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8701 |
|
|
|
8702 |
|
|
/* Record the fields for the semantic handler. */
|
8703 |
|
|
FLD (f_GRi) = f_GRi;
|
8704 |
|
|
FLD (f_GRj) = f_GRj;
|
8705 |
|
|
FLD (f_ae) = f_ae;
|
8706 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_icei", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_ae 0x%x", 'x', f_ae, (char *) 0));
|
8707 |
|
|
|
8708 |
|
|
#if WITH_PROFILE_MODEL_P
|
8709 |
|
|
/* Record the fields for profiling. */
|
8710 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8711 |
|
|
{
|
8712 |
|
|
FLD (in_GRi) = f_GRi;
|
8713 |
|
|
FLD (in_GRj) = f_GRj;
|
8714 |
|
|
}
|
8715 |
|
|
#endif
|
8716 |
|
|
#undef FLD
|
8717 |
|
|
return idesc;
|
8718 |
|
|
}
|
8719 |
|
|
|
8720 |
|
|
extract_sfmt_icpl:
|
8721 |
|
|
{
|
8722 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8723 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8724 |
|
|
#define FLD(f) abuf->fields.sfmt_icpl.f
|
8725 |
|
|
UINT f_lock;
|
8726 |
|
|
UINT f_GRi;
|
8727 |
|
|
UINT f_GRj;
|
8728 |
|
|
|
8729 |
|
|
f_lock = EXTRACT_LSB0_UINT (insn, 32, 25, 1);
|
8730 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8731 |
|
|
f_GRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8732 |
|
|
|
8733 |
|
|
/* Record the fields for the semantic handler. */
|
8734 |
|
|
FLD (f_GRi) = f_GRi;
|
8735 |
|
|
FLD (f_GRj) = f_GRj;
|
8736 |
|
|
FLD (f_lock) = f_lock;
|
8737 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_icpl", "f_GRi 0x%x", 'x', f_GRi, "f_GRj 0x%x", 'x', f_GRj, "f_lock 0x%x", 'x', f_lock, (char *) 0));
|
8738 |
|
|
|
8739 |
|
|
#if WITH_PROFILE_MODEL_P
|
8740 |
|
|
/* Record the fields for profiling. */
|
8741 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8742 |
|
|
{
|
8743 |
|
|
FLD (in_GRi) = f_GRi;
|
8744 |
|
|
FLD (in_GRj) = f_GRj;
|
8745 |
|
|
}
|
8746 |
|
|
#endif
|
8747 |
|
|
#undef FLD
|
8748 |
|
|
return idesc;
|
8749 |
|
|
}
|
8750 |
|
|
|
8751 |
|
|
extract_sfmt_icul:
|
8752 |
|
|
{
|
8753 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8754 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8755 |
|
|
#define FLD(f) abuf->fields.sfmt_jmpil.f
|
8756 |
|
|
UINT f_GRi;
|
8757 |
|
|
|
8758 |
|
|
f_GRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
8759 |
|
|
|
8760 |
|
|
/* Record the fields for the semantic handler. */
|
8761 |
|
|
FLD (f_GRi) = f_GRi;
|
8762 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_icul", "f_GRi 0x%x", 'x', f_GRi, (char *) 0));
|
8763 |
|
|
|
8764 |
|
|
#if WITH_PROFILE_MODEL_P
|
8765 |
|
|
/* Record the fields for profiling. */
|
8766 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8767 |
|
|
{
|
8768 |
|
|
FLD (in_GRi) = f_GRi;
|
8769 |
|
|
}
|
8770 |
|
|
#endif
|
8771 |
|
|
#undef FLD
|
8772 |
|
|
return idesc;
|
8773 |
|
|
}
|
8774 |
|
|
|
8775 |
|
|
extract_sfmt_clrgr:
|
8776 |
|
|
{
|
8777 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8778 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8779 |
|
|
#define FLD(f) abuf->fields.sfmt_swapi.f
|
8780 |
|
|
UINT f_GRk;
|
8781 |
|
|
|
8782 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8783 |
|
|
|
8784 |
|
|
/* Record the fields for the semantic handler. */
|
8785 |
|
|
FLD (f_GRk) = f_GRk;
|
8786 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_clrgr", "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
8787 |
|
|
|
8788 |
|
|
#if WITH_PROFILE_MODEL_P
|
8789 |
|
|
/* Record the fields for profiling. */
|
8790 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8791 |
|
|
{
|
8792 |
|
|
FLD (in_GRk) = f_GRk;
|
8793 |
|
|
}
|
8794 |
|
|
#endif
|
8795 |
|
|
#undef FLD
|
8796 |
|
|
return idesc;
|
8797 |
|
|
}
|
8798 |
|
|
|
8799 |
|
|
extract_sfmt_clrfr:
|
8800 |
|
|
{
|
8801 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8802 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8803 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
8804 |
|
|
UINT f_FRk;
|
8805 |
|
|
|
8806 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8807 |
|
|
|
8808 |
|
|
/* Record the fields for the semantic handler. */
|
8809 |
|
|
FLD (f_FRk) = f_FRk;
|
8810 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_clrfr", "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8811 |
|
|
|
8812 |
|
|
#if WITH_PROFILE_MODEL_P
|
8813 |
|
|
/* Record the fields for profiling. */
|
8814 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8815 |
|
|
{
|
8816 |
|
|
FLD (in_FRk) = f_FRk;
|
8817 |
|
|
}
|
8818 |
|
|
#endif
|
8819 |
|
|
#undef FLD
|
8820 |
|
|
return idesc;
|
8821 |
|
|
}
|
8822 |
|
|
|
8823 |
|
|
extract_sfmt_commitgr:
|
8824 |
|
|
{
|
8825 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8826 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8827 |
|
|
#define FLD(f) abuf->fields.sfmt_setlos.f
|
8828 |
|
|
UINT f_GRk;
|
8829 |
|
|
|
8830 |
|
|
f_GRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8831 |
|
|
|
8832 |
|
|
/* Record the fields for the semantic handler. */
|
8833 |
|
|
FLD (f_GRk) = f_GRk;
|
8834 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_commitgr", "f_GRk 0x%x", 'x', f_GRk, (char *) 0));
|
8835 |
|
|
|
8836 |
|
|
#undef FLD
|
8837 |
|
|
return idesc;
|
8838 |
|
|
}
|
8839 |
|
|
|
8840 |
|
|
extract_sfmt_commitfr:
|
8841 |
|
|
{
|
8842 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8843 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8844 |
|
|
#define FLD(f) abuf->fields.sfmt_mhsethis.f
|
8845 |
|
|
UINT f_FRk;
|
8846 |
|
|
|
8847 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8848 |
|
|
|
8849 |
|
|
/* Record the fields for the semantic handler. */
|
8850 |
|
|
FLD (f_FRk) = f_FRk;
|
8851 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_commitfr", "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8852 |
|
|
|
8853 |
|
|
#undef FLD
|
8854 |
|
|
return idesc;
|
8855 |
|
|
}
|
8856 |
|
|
|
8857 |
|
|
extract_sfmt_fitos:
|
8858 |
|
|
{
|
8859 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8860 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8861 |
|
|
#define FLD(f) abuf->fields.sfmt_fditos.f
|
8862 |
|
|
UINT f_FRk;
|
8863 |
|
|
UINT f_FRj;
|
8864 |
|
|
|
8865 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8866 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8867 |
|
|
|
8868 |
|
|
/* Record the fields for the semantic handler. */
|
8869 |
|
|
FLD (f_FRj) = f_FRj;
|
8870 |
|
|
FLD (f_FRk) = f_FRk;
|
8871 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fitos", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8872 |
|
|
|
8873 |
|
|
#if WITH_PROFILE_MODEL_P
|
8874 |
|
|
/* Record the fields for profiling. */
|
8875 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8876 |
|
|
{
|
8877 |
|
|
FLD (in_FRintj) = f_FRj;
|
8878 |
|
|
FLD (out_FRk) = f_FRk;
|
8879 |
|
|
}
|
8880 |
|
|
#endif
|
8881 |
|
|
#undef FLD
|
8882 |
|
|
return idesc;
|
8883 |
|
|
}
|
8884 |
|
|
|
8885 |
|
|
extract_sfmt_fstoi:
|
8886 |
|
|
{
|
8887 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8888 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8889 |
|
|
#define FLD(f) abuf->fields.sfmt_fdstoi.f
|
8890 |
|
|
UINT f_FRk;
|
8891 |
|
|
UINT f_FRj;
|
8892 |
|
|
|
8893 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8894 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8895 |
|
|
|
8896 |
|
|
/* Record the fields for the semantic handler. */
|
8897 |
|
|
FLD (f_FRj) = f_FRj;
|
8898 |
|
|
FLD (f_FRk) = f_FRk;
|
8899 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fstoi", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8900 |
|
|
|
8901 |
|
|
#if WITH_PROFILE_MODEL_P
|
8902 |
|
|
/* Record the fields for profiling. */
|
8903 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8904 |
|
|
{
|
8905 |
|
|
FLD (in_FRj) = f_FRj;
|
8906 |
|
|
FLD (out_FRintk) = f_FRk;
|
8907 |
|
|
}
|
8908 |
|
|
#endif
|
8909 |
|
|
#undef FLD
|
8910 |
|
|
return idesc;
|
8911 |
|
|
}
|
8912 |
|
|
|
8913 |
|
|
extract_sfmt_fitod:
|
8914 |
|
|
{
|
8915 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8916 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8917 |
|
|
#define FLD(f) abuf->fields.sfmt_fitod.f
|
8918 |
|
|
UINT f_FRk;
|
8919 |
|
|
UINT f_FRj;
|
8920 |
|
|
|
8921 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8922 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8923 |
|
|
|
8924 |
|
|
/* Record the fields for the semantic handler. */
|
8925 |
|
|
FLD (f_FRj) = f_FRj;
|
8926 |
|
|
FLD (f_FRk) = f_FRk;
|
8927 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fitod", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8928 |
|
|
|
8929 |
|
|
#if WITH_PROFILE_MODEL_P
|
8930 |
|
|
/* Record the fields for profiling. */
|
8931 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8932 |
|
|
{
|
8933 |
|
|
FLD (in_FRintj) = f_FRj;
|
8934 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
8935 |
|
|
}
|
8936 |
|
|
#endif
|
8937 |
|
|
#undef FLD
|
8938 |
|
|
return idesc;
|
8939 |
|
|
}
|
8940 |
|
|
|
8941 |
|
|
extract_sfmt_fdtoi:
|
8942 |
|
|
{
|
8943 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8944 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8945 |
|
|
#define FLD(f) abuf->fields.sfmt_fdtoi.f
|
8946 |
|
|
UINT f_FRk;
|
8947 |
|
|
UINT f_FRj;
|
8948 |
|
|
|
8949 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8950 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8951 |
|
|
|
8952 |
|
|
/* Record the fields for the semantic handler. */
|
8953 |
|
|
FLD (f_FRj) = f_FRj;
|
8954 |
|
|
FLD (f_FRk) = f_FRk;
|
8955 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fdtoi", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8956 |
|
|
|
8957 |
|
|
#if WITH_PROFILE_MODEL_P
|
8958 |
|
|
/* Record the fields for profiling. */
|
8959 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8960 |
|
|
{
|
8961 |
|
|
FLD (in_FRdoublej) = f_FRj;
|
8962 |
|
|
FLD (out_FRintk) = f_FRk;
|
8963 |
|
|
}
|
8964 |
|
|
#endif
|
8965 |
|
|
#undef FLD
|
8966 |
|
|
return idesc;
|
8967 |
|
|
}
|
8968 |
|
|
|
8969 |
|
|
extract_sfmt_fditos:
|
8970 |
|
|
{
|
8971 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
8972 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
8973 |
|
|
#define FLD(f) abuf->fields.sfmt_fditos.f
|
8974 |
|
|
UINT f_FRk;
|
8975 |
|
|
UINT f_FRj;
|
8976 |
|
|
|
8977 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
8978 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
8979 |
|
|
|
8980 |
|
|
/* Record the fields for the semantic handler. */
|
8981 |
|
|
FLD (f_FRj) = f_FRj;
|
8982 |
|
|
FLD (f_FRk) = f_FRk;
|
8983 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fditos", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
8984 |
|
|
|
8985 |
|
|
#if WITH_PROFILE_MODEL_P
|
8986 |
|
|
/* Record the fields for profiling. */
|
8987 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
8988 |
|
|
{
|
8989 |
|
|
FLD (in_FRintj) = f_FRj;
|
8990 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintj_1) = ((FLD (f_FRj)) + (1));
|
8991 |
|
|
FLD (out_FRk) = f_FRk;
|
8992 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
8993 |
|
|
}
|
8994 |
|
|
#endif
|
8995 |
|
|
#undef FLD
|
8996 |
|
|
return idesc;
|
8997 |
|
|
}
|
8998 |
|
|
|
8999 |
|
|
extract_sfmt_fdstoi:
|
9000 |
|
|
{
|
9001 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9002 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9003 |
|
|
#define FLD(f) abuf->fields.sfmt_fdstoi.f
|
9004 |
|
|
UINT f_FRk;
|
9005 |
|
|
UINT f_FRj;
|
9006 |
|
|
|
9007 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9008 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9009 |
|
|
|
9010 |
|
|
/* Record the fields for the semantic handler. */
|
9011 |
|
|
FLD (f_FRj) = f_FRj;
|
9012 |
|
|
FLD (f_FRk) = f_FRk;
|
9013 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fdstoi", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9014 |
|
|
|
9015 |
|
|
#if WITH_PROFILE_MODEL_P
|
9016 |
|
|
/* Record the fields for profiling. */
|
9017 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9018 |
|
|
{
|
9019 |
|
|
FLD (in_FRj) = f_FRj;
|
9020 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9021 |
|
|
FLD (out_FRintk) = f_FRk;
|
9022 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
9023 |
|
|
}
|
9024 |
|
|
#endif
|
9025 |
|
|
#undef FLD
|
9026 |
|
|
return idesc;
|
9027 |
|
|
}
|
9028 |
|
|
|
9029 |
|
|
extract_sfmt_cfitos:
|
9030 |
|
|
{
|
9031 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9032 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9033 |
|
|
#define FLD(f) abuf->fields.sfmt_cfitos.f
|
9034 |
|
|
UINT f_FRk;
|
9035 |
|
|
UINT f_CCi;
|
9036 |
|
|
UINT f_cond;
|
9037 |
|
|
UINT f_FRj;
|
9038 |
|
|
|
9039 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9040 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9041 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9042 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9043 |
|
|
|
9044 |
|
|
/* Record the fields for the semantic handler. */
|
9045 |
|
|
FLD (f_CCi) = f_CCi;
|
9046 |
|
|
FLD (f_FRj) = f_FRj;
|
9047 |
|
|
FLD (f_cond) = f_cond;
|
9048 |
|
|
FLD (f_FRk) = f_FRk;
|
9049 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfitos", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9050 |
|
|
|
9051 |
|
|
#if WITH_PROFILE_MODEL_P
|
9052 |
|
|
/* Record the fields for profiling. */
|
9053 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9054 |
|
|
{
|
9055 |
|
|
FLD (in_CCi) = f_CCi;
|
9056 |
|
|
FLD (in_FRintj) = f_FRj;
|
9057 |
|
|
FLD (out_FRk) = f_FRk;
|
9058 |
|
|
}
|
9059 |
|
|
#endif
|
9060 |
|
|
#undef FLD
|
9061 |
|
|
return idesc;
|
9062 |
|
|
}
|
9063 |
|
|
|
9064 |
|
|
extract_sfmt_cfstoi:
|
9065 |
|
|
{
|
9066 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9067 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9068 |
|
|
#define FLD(f) abuf->fields.sfmt_cfstoi.f
|
9069 |
|
|
UINT f_FRk;
|
9070 |
|
|
UINT f_CCi;
|
9071 |
|
|
UINT f_cond;
|
9072 |
|
|
UINT f_FRj;
|
9073 |
|
|
|
9074 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9075 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9076 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9077 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9078 |
|
|
|
9079 |
|
|
/* Record the fields for the semantic handler. */
|
9080 |
|
|
FLD (f_CCi) = f_CCi;
|
9081 |
|
|
FLD (f_FRj) = f_FRj;
|
9082 |
|
|
FLD (f_cond) = f_cond;
|
9083 |
|
|
FLD (f_FRk) = f_FRk;
|
9084 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfstoi", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9085 |
|
|
|
9086 |
|
|
#if WITH_PROFILE_MODEL_P
|
9087 |
|
|
/* Record the fields for profiling. */
|
9088 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9089 |
|
|
{
|
9090 |
|
|
FLD (in_CCi) = f_CCi;
|
9091 |
|
|
FLD (in_FRj) = f_FRj;
|
9092 |
|
|
FLD (out_FRintk) = f_FRk;
|
9093 |
|
|
}
|
9094 |
|
|
#endif
|
9095 |
|
|
#undef FLD
|
9096 |
|
|
return idesc;
|
9097 |
|
|
}
|
9098 |
|
|
|
9099 |
|
|
extract_sfmt_nfitos:
|
9100 |
|
|
{
|
9101 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9102 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9103 |
|
|
#define FLD(f) abuf->fields.sfmt_fditos.f
|
9104 |
|
|
UINT f_FRk;
|
9105 |
|
|
UINT f_FRj;
|
9106 |
|
|
|
9107 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9108 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9109 |
|
|
|
9110 |
|
|
/* Record the fields for the semantic handler. */
|
9111 |
|
|
FLD (f_FRj) = f_FRj;
|
9112 |
|
|
FLD (f_FRk) = f_FRk;
|
9113 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nfitos", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9114 |
|
|
|
9115 |
|
|
#if WITH_PROFILE_MODEL_P
|
9116 |
|
|
/* Record the fields for profiling. */
|
9117 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9118 |
|
|
{
|
9119 |
|
|
FLD (in_FRintj) = f_FRj;
|
9120 |
|
|
FLD (out_FRk) = f_FRk;
|
9121 |
|
|
}
|
9122 |
|
|
#endif
|
9123 |
|
|
#undef FLD
|
9124 |
|
|
return idesc;
|
9125 |
|
|
}
|
9126 |
|
|
|
9127 |
|
|
extract_sfmt_nfstoi:
|
9128 |
|
|
{
|
9129 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9130 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9131 |
|
|
#define FLD(f) abuf->fields.sfmt_fdstoi.f
|
9132 |
|
|
UINT f_FRk;
|
9133 |
|
|
UINT f_FRj;
|
9134 |
|
|
|
9135 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9136 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9137 |
|
|
|
9138 |
|
|
/* Record the fields for the semantic handler. */
|
9139 |
|
|
FLD (f_FRj) = f_FRj;
|
9140 |
|
|
FLD (f_FRk) = f_FRk;
|
9141 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nfstoi", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9142 |
|
|
|
9143 |
|
|
#if WITH_PROFILE_MODEL_P
|
9144 |
|
|
/* Record the fields for profiling. */
|
9145 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9146 |
|
|
{
|
9147 |
|
|
FLD (in_FRj) = f_FRj;
|
9148 |
|
|
FLD (out_FRintk) = f_FRk;
|
9149 |
|
|
}
|
9150 |
|
|
#endif
|
9151 |
|
|
#undef FLD
|
9152 |
|
|
return idesc;
|
9153 |
|
|
}
|
9154 |
|
|
|
9155 |
|
|
extract_sfmt_fmovs:
|
9156 |
|
|
{
|
9157 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9158 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9159 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9160 |
|
|
UINT f_FRk;
|
9161 |
|
|
UINT f_FRj;
|
9162 |
|
|
|
9163 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9164 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9165 |
|
|
|
9166 |
|
|
/* Record the fields for the semantic handler. */
|
9167 |
|
|
FLD (f_FRj) = f_FRj;
|
9168 |
|
|
FLD (f_FRk) = f_FRk;
|
9169 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fmovs", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9170 |
|
|
|
9171 |
|
|
#if WITH_PROFILE_MODEL_P
|
9172 |
|
|
/* Record the fields for profiling. */
|
9173 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9174 |
|
|
{
|
9175 |
|
|
FLD (in_FRj) = f_FRj;
|
9176 |
|
|
FLD (out_FRk) = f_FRk;
|
9177 |
|
|
}
|
9178 |
|
|
#endif
|
9179 |
|
|
#undef FLD
|
9180 |
|
|
return idesc;
|
9181 |
|
|
}
|
9182 |
|
|
|
9183 |
|
|
extract_sfmt_fmovd:
|
9184 |
|
|
{
|
9185 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9186 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9187 |
|
|
#define FLD(f) abuf->fields.sfmt_fmaddd.f
|
9188 |
|
|
UINT f_FRk;
|
9189 |
|
|
UINT f_FRj;
|
9190 |
|
|
|
9191 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9192 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9193 |
|
|
|
9194 |
|
|
/* Record the fields for the semantic handler. */
|
9195 |
|
|
FLD (f_FRj) = f_FRj;
|
9196 |
|
|
FLD (f_FRk) = f_FRk;
|
9197 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fmovd", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9198 |
|
|
|
9199 |
|
|
#if WITH_PROFILE_MODEL_P
|
9200 |
|
|
/* Record the fields for profiling. */
|
9201 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9202 |
|
|
{
|
9203 |
|
|
FLD (in_FRdoublej) = f_FRj;
|
9204 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
9205 |
|
|
}
|
9206 |
|
|
#endif
|
9207 |
|
|
#undef FLD
|
9208 |
|
|
return idesc;
|
9209 |
|
|
}
|
9210 |
|
|
|
9211 |
|
|
extract_sfmt_fdmovs:
|
9212 |
|
|
{
|
9213 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9214 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9215 |
|
|
#define FLD(f) abuf->fields.sfmt_fdmadds.f
|
9216 |
|
|
UINT f_FRk;
|
9217 |
|
|
UINT f_FRj;
|
9218 |
|
|
|
9219 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9220 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9221 |
|
|
|
9222 |
|
|
/* Record the fields for the semantic handler. */
|
9223 |
|
|
FLD (f_FRj) = f_FRj;
|
9224 |
|
|
FLD (f_FRk) = f_FRk;
|
9225 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fdmovs", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9226 |
|
|
|
9227 |
|
|
#if WITH_PROFILE_MODEL_P
|
9228 |
|
|
/* Record the fields for profiling. */
|
9229 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9230 |
|
|
{
|
9231 |
|
|
FLD (in_FRj) = f_FRj;
|
9232 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9233 |
|
|
FLD (out_FRk) = f_FRk;
|
9234 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
9235 |
|
|
}
|
9236 |
|
|
#endif
|
9237 |
|
|
#undef FLD
|
9238 |
|
|
return idesc;
|
9239 |
|
|
}
|
9240 |
|
|
|
9241 |
|
|
extract_sfmt_cfmovs:
|
9242 |
|
|
{
|
9243 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9244 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9245 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9246 |
|
|
UINT f_FRk;
|
9247 |
|
|
UINT f_CCi;
|
9248 |
|
|
UINT f_cond;
|
9249 |
|
|
UINT f_FRj;
|
9250 |
|
|
|
9251 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9252 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9253 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9254 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9255 |
|
|
|
9256 |
|
|
/* Record the fields for the semantic handler. */
|
9257 |
|
|
FLD (f_CCi) = f_CCi;
|
9258 |
|
|
FLD (f_FRj) = f_FRj;
|
9259 |
|
|
FLD (f_cond) = f_cond;
|
9260 |
|
|
FLD (f_FRk) = f_FRk;
|
9261 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfmovs", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9262 |
|
|
|
9263 |
|
|
#if WITH_PROFILE_MODEL_P
|
9264 |
|
|
/* Record the fields for profiling. */
|
9265 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9266 |
|
|
{
|
9267 |
|
|
FLD (in_CCi) = f_CCi;
|
9268 |
|
|
FLD (in_FRj) = f_FRj;
|
9269 |
|
|
FLD (out_FRk) = f_FRk;
|
9270 |
|
|
}
|
9271 |
|
|
#endif
|
9272 |
|
|
#undef FLD
|
9273 |
|
|
return idesc;
|
9274 |
|
|
}
|
9275 |
|
|
|
9276 |
|
|
extract_sfmt_nfsqrts:
|
9277 |
|
|
{
|
9278 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9279 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9280 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9281 |
|
|
UINT f_FRk;
|
9282 |
|
|
UINT f_FRj;
|
9283 |
|
|
|
9284 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9285 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9286 |
|
|
|
9287 |
|
|
/* Record the fields for the semantic handler. */
|
9288 |
|
|
FLD (f_FRj) = f_FRj;
|
9289 |
|
|
FLD (f_FRk) = f_FRk;
|
9290 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nfsqrts", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9291 |
|
|
|
9292 |
|
|
#if WITH_PROFILE_MODEL_P
|
9293 |
|
|
/* Record the fields for profiling. */
|
9294 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9295 |
|
|
{
|
9296 |
|
|
FLD (in_FRj) = f_FRj;
|
9297 |
|
|
FLD (out_FRk) = f_FRk;
|
9298 |
|
|
}
|
9299 |
|
|
#endif
|
9300 |
|
|
#undef FLD
|
9301 |
|
|
return idesc;
|
9302 |
|
|
}
|
9303 |
|
|
|
9304 |
|
|
extract_sfmt_fadds:
|
9305 |
|
|
{
|
9306 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9307 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9308 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9309 |
|
|
UINT f_FRk;
|
9310 |
|
|
UINT f_FRi;
|
9311 |
|
|
UINT f_FRj;
|
9312 |
|
|
|
9313 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9314 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9315 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9316 |
|
|
|
9317 |
|
|
/* Record the fields for the semantic handler. */
|
9318 |
|
|
FLD (f_FRi) = f_FRi;
|
9319 |
|
|
FLD (f_FRj) = f_FRj;
|
9320 |
|
|
FLD (f_FRk) = f_FRk;
|
9321 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fadds", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9322 |
|
|
|
9323 |
|
|
#if WITH_PROFILE_MODEL_P
|
9324 |
|
|
/* Record the fields for profiling. */
|
9325 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9326 |
|
|
{
|
9327 |
|
|
FLD (in_FRi) = f_FRi;
|
9328 |
|
|
FLD (in_FRj) = f_FRj;
|
9329 |
|
|
FLD (out_FRk) = f_FRk;
|
9330 |
|
|
}
|
9331 |
|
|
#endif
|
9332 |
|
|
#undef FLD
|
9333 |
|
|
return idesc;
|
9334 |
|
|
}
|
9335 |
|
|
|
9336 |
|
|
extract_sfmt_faddd:
|
9337 |
|
|
{
|
9338 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9339 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9340 |
|
|
#define FLD(f) abuf->fields.sfmt_fmaddd.f
|
9341 |
|
|
UINT f_FRk;
|
9342 |
|
|
UINT f_FRi;
|
9343 |
|
|
UINT f_FRj;
|
9344 |
|
|
|
9345 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9346 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9347 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9348 |
|
|
|
9349 |
|
|
/* Record the fields for the semantic handler. */
|
9350 |
|
|
FLD (f_FRi) = f_FRi;
|
9351 |
|
|
FLD (f_FRj) = f_FRj;
|
9352 |
|
|
FLD (f_FRk) = f_FRk;
|
9353 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_faddd", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9354 |
|
|
|
9355 |
|
|
#if WITH_PROFILE_MODEL_P
|
9356 |
|
|
/* Record the fields for profiling. */
|
9357 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9358 |
|
|
{
|
9359 |
|
|
FLD (in_FRdoublei) = f_FRi;
|
9360 |
|
|
FLD (in_FRdoublej) = f_FRj;
|
9361 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
9362 |
|
|
}
|
9363 |
|
|
#endif
|
9364 |
|
|
#undef FLD
|
9365 |
|
|
return idesc;
|
9366 |
|
|
}
|
9367 |
|
|
|
9368 |
|
|
extract_sfmt_cfadds:
|
9369 |
|
|
{
|
9370 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9371 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9372 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9373 |
|
|
UINT f_FRk;
|
9374 |
|
|
UINT f_FRi;
|
9375 |
|
|
UINT f_CCi;
|
9376 |
|
|
UINT f_cond;
|
9377 |
|
|
UINT f_FRj;
|
9378 |
|
|
|
9379 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9380 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9381 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9382 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9383 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9384 |
|
|
|
9385 |
|
|
/* Record the fields for the semantic handler. */
|
9386 |
|
|
FLD (f_CCi) = f_CCi;
|
9387 |
|
|
FLD (f_FRi) = f_FRi;
|
9388 |
|
|
FLD (f_FRj) = f_FRj;
|
9389 |
|
|
FLD (f_cond) = f_cond;
|
9390 |
|
|
FLD (f_FRk) = f_FRk;
|
9391 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfadds", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9392 |
|
|
|
9393 |
|
|
#if WITH_PROFILE_MODEL_P
|
9394 |
|
|
/* Record the fields for profiling. */
|
9395 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9396 |
|
|
{
|
9397 |
|
|
FLD (in_CCi) = f_CCi;
|
9398 |
|
|
FLD (in_FRi) = f_FRi;
|
9399 |
|
|
FLD (in_FRj) = f_FRj;
|
9400 |
|
|
FLD (out_FRk) = f_FRk;
|
9401 |
|
|
}
|
9402 |
|
|
#endif
|
9403 |
|
|
#undef FLD
|
9404 |
|
|
return idesc;
|
9405 |
|
|
}
|
9406 |
|
|
|
9407 |
|
|
extract_sfmt_nfadds:
|
9408 |
|
|
{
|
9409 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9410 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9411 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9412 |
|
|
UINT f_FRk;
|
9413 |
|
|
UINT f_FRi;
|
9414 |
|
|
UINT f_FRj;
|
9415 |
|
|
|
9416 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9417 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9418 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9419 |
|
|
|
9420 |
|
|
/* Record the fields for the semantic handler. */
|
9421 |
|
|
FLD (f_FRi) = f_FRi;
|
9422 |
|
|
FLD (f_FRj) = f_FRj;
|
9423 |
|
|
FLD (f_FRk) = f_FRk;
|
9424 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nfadds", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9425 |
|
|
|
9426 |
|
|
#if WITH_PROFILE_MODEL_P
|
9427 |
|
|
/* Record the fields for profiling. */
|
9428 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9429 |
|
|
{
|
9430 |
|
|
FLD (in_FRi) = f_FRi;
|
9431 |
|
|
FLD (in_FRj) = f_FRj;
|
9432 |
|
|
FLD (out_FRk) = f_FRk;
|
9433 |
|
|
}
|
9434 |
|
|
#endif
|
9435 |
|
|
#undef FLD
|
9436 |
|
|
return idesc;
|
9437 |
|
|
}
|
9438 |
|
|
|
9439 |
|
|
extract_sfmt_fcmps:
|
9440 |
|
|
{
|
9441 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9442 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9443 |
|
|
#define FLD(f) abuf->fields.sfmt_cfcmps.f
|
9444 |
|
|
UINT f_FCCi_2;
|
9445 |
|
|
UINT f_FRi;
|
9446 |
|
|
UINT f_FRj;
|
9447 |
|
|
|
9448 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
9449 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9450 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9451 |
|
|
|
9452 |
|
|
/* Record the fields for the semantic handler. */
|
9453 |
|
|
FLD (f_FRi) = f_FRi;
|
9454 |
|
|
FLD (f_FRj) = f_FRj;
|
9455 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
9456 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fcmps", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FCCi_2 0x%x", 'x', f_FCCi_2, (char *) 0));
|
9457 |
|
|
|
9458 |
|
|
#if WITH_PROFILE_MODEL_P
|
9459 |
|
|
/* Record the fields for profiling. */
|
9460 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9461 |
|
|
{
|
9462 |
|
|
FLD (in_FRi) = f_FRi;
|
9463 |
|
|
FLD (in_FRj) = f_FRj;
|
9464 |
|
|
FLD (out_FCCi_2) = f_FCCi_2;
|
9465 |
|
|
}
|
9466 |
|
|
#endif
|
9467 |
|
|
#undef FLD
|
9468 |
|
|
return idesc;
|
9469 |
|
|
}
|
9470 |
|
|
|
9471 |
|
|
extract_sfmt_fcmpd:
|
9472 |
|
|
{
|
9473 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9474 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9475 |
|
|
#define FLD(f) abuf->fields.sfmt_fcmpd.f
|
9476 |
|
|
UINT f_FCCi_2;
|
9477 |
|
|
UINT f_FRi;
|
9478 |
|
|
UINT f_FRj;
|
9479 |
|
|
|
9480 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
9481 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9482 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9483 |
|
|
|
9484 |
|
|
/* Record the fields for the semantic handler. */
|
9485 |
|
|
FLD (f_FRi) = f_FRi;
|
9486 |
|
|
FLD (f_FRj) = f_FRj;
|
9487 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
9488 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fcmpd", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FCCi_2 0x%x", 'x', f_FCCi_2, (char *) 0));
|
9489 |
|
|
|
9490 |
|
|
#if WITH_PROFILE_MODEL_P
|
9491 |
|
|
/* Record the fields for profiling. */
|
9492 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9493 |
|
|
{
|
9494 |
|
|
FLD (in_FRdoublei) = f_FRi;
|
9495 |
|
|
FLD (in_FRdoublej) = f_FRj;
|
9496 |
|
|
FLD (out_FCCi_2) = f_FCCi_2;
|
9497 |
|
|
}
|
9498 |
|
|
#endif
|
9499 |
|
|
#undef FLD
|
9500 |
|
|
return idesc;
|
9501 |
|
|
}
|
9502 |
|
|
|
9503 |
|
|
extract_sfmt_cfcmps:
|
9504 |
|
|
{
|
9505 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9506 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9507 |
|
|
#define FLD(f) abuf->fields.sfmt_cfcmps.f
|
9508 |
|
|
UINT f_FCCi_2;
|
9509 |
|
|
UINT f_FRi;
|
9510 |
|
|
UINT f_CCi;
|
9511 |
|
|
UINT f_cond;
|
9512 |
|
|
UINT f_FRj;
|
9513 |
|
|
|
9514 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
9515 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9516 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9517 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9518 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9519 |
|
|
|
9520 |
|
|
/* Record the fields for the semantic handler. */
|
9521 |
|
|
FLD (f_CCi) = f_CCi;
|
9522 |
|
|
FLD (f_FRi) = f_FRi;
|
9523 |
|
|
FLD (f_FRj) = f_FRj;
|
9524 |
|
|
FLD (f_cond) = f_cond;
|
9525 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
9526 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfcmps", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FCCi_2 0x%x", 'x', f_FCCi_2, (char *) 0));
|
9527 |
|
|
|
9528 |
|
|
#if WITH_PROFILE_MODEL_P
|
9529 |
|
|
/* Record the fields for profiling. */
|
9530 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9531 |
|
|
{
|
9532 |
|
|
FLD (in_CCi) = f_CCi;
|
9533 |
|
|
FLD (in_FRi) = f_FRi;
|
9534 |
|
|
FLD (in_FRj) = f_FRj;
|
9535 |
|
|
FLD (out_FCCi_2) = f_FCCi_2;
|
9536 |
|
|
}
|
9537 |
|
|
#endif
|
9538 |
|
|
#undef FLD
|
9539 |
|
|
return idesc;
|
9540 |
|
|
}
|
9541 |
|
|
|
9542 |
|
|
extract_sfmt_fdcmps:
|
9543 |
|
|
{
|
9544 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9545 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9546 |
|
|
#define FLD(f) abuf->fields.sfmt_nfdcmps.f
|
9547 |
|
|
UINT f_FCCi_2;
|
9548 |
|
|
UINT f_FRi;
|
9549 |
|
|
UINT f_FRj;
|
9550 |
|
|
|
9551 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
9552 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9553 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9554 |
|
|
|
9555 |
|
|
/* Record the fields for the semantic handler. */
|
9556 |
|
|
FLD (f_FRi) = f_FRi;
|
9557 |
|
|
FLD (f_FRj) = f_FRj;
|
9558 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
9559 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fdcmps", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FCCi_2 0x%x", 'x', f_FCCi_2, (char *) 0));
|
9560 |
|
|
|
9561 |
|
|
#if WITH_PROFILE_MODEL_P
|
9562 |
|
|
/* Record the fields for profiling. */
|
9563 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9564 |
|
|
{
|
9565 |
|
|
FLD (in_FRi) = f_FRi;
|
9566 |
|
|
FLD (in_FRj) = f_FRj;
|
9567 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_1) = ((FLD (f_FRi)) + (1));
|
9568 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9569 |
|
|
FLD (out_FCCi_2) = f_FCCi_2;
|
9570 |
|
|
FLD (out_h_fccr_UQI_add__INT_index_of__INT_FCCi_2_1) = ((FLD (f_FCCi_2)) + (1));
|
9571 |
|
|
}
|
9572 |
|
|
#endif
|
9573 |
|
|
#undef FLD
|
9574 |
|
|
return idesc;
|
9575 |
|
|
}
|
9576 |
|
|
|
9577 |
|
|
extract_sfmt_fmadds:
|
9578 |
|
|
{
|
9579 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9580 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9581 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9582 |
|
|
UINT f_FRk;
|
9583 |
|
|
UINT f_FRi;
|
9584 |
|
|
UINT f_FRj;
|
9585 |
|
|
|
9586 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9587 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9588 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9589 |
|
|
|
9590 |
|
|
/* Record the fields for the semantic handler. */
|
9591 |
|
|
FLD (f_FRi) = f_FRi;
|
9592 |
|
|
FLD (f_FRj) = f_FRj;
|
9593 |
|
|
FLD (f_FRk) = f_FRk;
|
9594 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fmadds", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9595 |
|
|
|
9596 |
|
|
#if WITH_PROFILE_MODEL_P
|
9597 |
|
|
/* Record the fields for profiling. */
|
9598 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9599 |
|
|
{
|
9600 |
|
|
FLD (in_FRi) = f_FRi;
|
9601 |
|
|
FLD (in_FRj) = f_FRj;
|
9602 |
|
|
FLD (in_FRk) = f_FRk;
|
9603 |
|
|
FLD (out_FRk) = f_FRk;
|
9604 |
|
|
}
|
9605 |
|
|
#endif
|
9606 |
|
|
#undef FLD
|
9607 |
|
|
return idesc;
|
9608 |
|
|
}
|
9609 |
|
|
|
9610 |
|
|
extract_sfmt_fmaddd:
|
9611 |
|
|
{
|
9612 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9613 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9614 |
|
|
#define FLD(f) abuf->fields.sfmt_fmaddd.f
|
9615 |
|
|
UINT f_FRk;
|
9616 |
|
|
UINT f_FRi;
|
9617 |
|
|
UINT f_FRj;
|
9618 |
|
|
|
9619 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9620 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9621 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9622 |
|
|
|
9623 |
|
|
/* Record the fields for the semantic handler. */
|
9624 |
|
|
FLD (f_FRi) = f_FRi;
|
9625 |
|
|
FLD (f_FRj) = f_FRj;
|
9626 |
|
|
FLD (f_FRk) = f_FRk;
|
9627 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fmaddd", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9628 |
|
|
|
9629 |
|
|
#if WITH_PROFILE_MODEL_P
|
9630 |
|
|
/* Record the fields for profiling. */
|
9631 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9632 |
|
|
{
|
9633 |
|
|
FLD (in_FRdoublei) = f_FRi;
|
9634 |
|
|
FLD (in_FRdoublej) = f_FRj;
|
9635 |
|
|
FLD (in_FRdoublek) = f_FRk;
|
9636 |
|
|
FLD (out_FRdoublek) = f_FRk;
|
9637 |
|
|
}
|
9638 |
|
|
#endif
|
9639 |
|
|
#undef FLD
|
9640 |
|
|
return idesc;
|
9641 |
|
|
}
|
9642 |
|
|
|
9643 |
|
|
extract_sfmt_fdmadds:
|
9644 |
|
|
{
|
9645 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9646 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9647 |
|
|
#define FLD(f) abuf->fields.sfmt_fdmadds.f
|
9648 |
|
|
UINT f_FRk;
|
9649 |
|
|
UINT f_FRi;
|
9650 |
|
|
UINT f_FRj;
|
9651 |
|
|
|
9652 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9653 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9654 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9655 |
|
|
|
9656 |
|
|
/* Record the fields for the semantic handler. */
|
9657 |
|
|
FLD (f_FRi) = f_FRi;
|
9658 |
|
|
FLD (f_FRj) = f_FRj;
|
9659 |
|
|
FLD (f_FRk) = f_FRk;
|
9660 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fdmadds", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9661 |
|
|
|
9662 |
|
|
#if WITH_PROFILE_MODEL_P
|
9663 |
|
|
/* Record the fields for profiling. */
|
9664 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9665 |
|
|
{
|
9666 |
|
|
FLD (in_FRi) = f_FRi;
|
9667 |
|
|
FLD (in_FRj) = f_FRj;
|
9668 |
|
|
FLD (in_FRk) = f_FRk;
|
9669 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_1) = ((FLD (f_FRi)) + (1));
|
9670 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9671 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
9672 |
|
|
FLD (out_FRk) = f_FRk;
|
9673 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
9674 |
|
|
}
|
9675 |
|
|
#endif
|
9676 |
|
|
#undef FLD
|
9677 |
|
|
return idesc;
|
9678 |
|
|
}
|
9679 |
|
|
|
9680 |
|
|
extract_sfmt_cfmadds:
|
9681 |
|
|
{
|
9682 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9683 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9684 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9685 |
|
|
UINT f_FRk;
|
9686 |
|
|
UINT f_FRi;
|
9687 |
|
|
UINT f_CCi;
|
9688 |
|
|
UINT f_cond;
|
9689 |
|
|
UINT f_FRj;
|
9690 |
|
|
|
9691 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9692 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9693 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9694 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9695 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9696 |
|
|
|
9697 |
|
|
/* Record the fields for the semantic handler. */
|
9698 |
|
|
FLD (f_CCi) = f_CCi;
|
9699 |
|
|
FLD (f_FRi) = f_FRi;
|
9700 |
|
|
FLD (f_FRj) = f_FRj;
|
9701 |
|
|
FLD (f_FRk) = f_FRk;
|
9702 |
|
|
FLD (f_cond) = f_cond;
|
9703 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfmadds", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
9704 |
|
|
|
9705 |
|
|
#if WITH_PROFILE_MODEL_P
|
9706 |
|
|
/* Record the fields for profiling. */
|
9707 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9708 |
|
|
{
|
9709 |
|
|
FLD (in_CCi) = f_CCi;
|
9710 |
|
|
FLD (in_FRi) = f_FRi;
|
9711 |
|
|
FLD (in_FRj) = f_FRj;
|
9712 |
|
|
FLD (in_FRk) = f_FRk;
|
9713 |
|
|
FLD (out_FRk) = f_FRk;
|
9714 |
|
|
}
|
9715 |
|
|
#endif
|
9716 |
|
|
#undef FLD
|
9717 |
|
|
return idesc;
|
9718 |
|
|
}
|
9719 |
|
|
|
9720 |
|
|
extract_sfmt_nfmadds:
|
9721 |
|
|
{
|
9722 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9723 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9724 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmadds.f
|
9725 |
|
|
UINT f_FRk;
|
9726 |
|
|
UINT f_FRi;
|
9727 |
|
|
UINT f_FRj;
|
9728 |
|
|
|
9729 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9730 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9731 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9732 |
|
|
|
9733 |
|
|
/* Record the fields for the semantic handler. */
|
9734 |
|
|
FLD (f_FRi) = f_FRi;
|
9735 |
|
|
FLD (f_FRj) = f_FRj;
|
9736 |
|
|
FLD (f_FRk) = f_FRk;
|
9737 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nfmadds", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9738 |
|
|
|
9739 |
|
|
#if WITH_PROFILE_MODEL_P
|
9740 |
|
|
/* Record the fields for profiling. */
|
9741 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9742 |
|
|
{
|
9743 |
|
|
FLD (in_FRi) = f_FRi;
|
9744 |
|
|
FLD (in_FRj) = f_FRj;
|
9745 |
|
|
FLD (in_FRk) = f_FRk;
|
9746 |
|
|
FLD (out_FRk) = f_FRk;
|
9747 |
|
|
}
|
9748 |
|
|
#endif
|
9749 |
|
|
#undef FLD
|
9750 |
|
|
return idesc;
|
9751 |
|
|
}
|
9752 |
|
|
|
9753 |
|
|
extract_sfmt_fmas:
|
9754 |
|
|
{
|
9755 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9756 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9757 |
|
|
#define FLD(f) abuf->fields.sfmt_fdmadds.f
|
9758 |
|
|
UINT f_FRk;
|
9759 |
|
|
UINT f_FRi;
|
9760 |
|
|
UINT f_FRj;
|
9761 |
|
|
|
9762 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9763 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9764 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9765 |
|
|
|
9766 |
|
|
/* Record the fields for the semantic handler. */
|
9767 |
|
|
FLD (f_FRi) = f_FRi;
|
9768 |
|
|
FLD (f_FRj) = f_FRj;
|
9769 |
|
|
FLD (f_FRk) = f_FRk;
|
9770 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fmas", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9771 |
|
|
|
9772 |
|
|
#if WITH_PROFILE_MODEL_P
|
9773 |
|
|
/* Record the fields for profiling. */
|
9774 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9775 |
|
|
{
|
9776 |
|
|
FLD (in_FRi) = f_FRi;
|
9777 |
|
|
FLD (in_FRj) = f_FRj;
|
9778 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_1) = ((FLD (f_FRi)) + (1));
|
9779 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9780 |
|
|
FLD (out_FRk) = f_FRk;
|
9781 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
9782 |
|
|
}
|
9783 |
|
|
#endif
|
9784 |
|
|
#undef FLD
|
9785 |
|
|
return idesc;
|
9786 |
|
|
}
|
9787 |
|
|
|
9788 |
|
|
extract_sfmt_fdmas:
|
9789 |
|
|
{
|
9790 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9791 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9792 |
|
|
#define FLD(f) abuf->fields.sfmt_fdmas.f
|
9793 |
|
|
UINT f_FRk;
|
9794 |
|
|
UINT f_FRi;
|
9795 |
|
|
UINT f_FRj;
|
9796 |
|
|
|
9797 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9798 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9799 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9800 |
|
|
|
9801 |
|
|
/* Record the fields for the semantic handler. */
|
9802 |
|
|
FLD (f_FRi) = f_FRi;
|
9803 |
|
|
FLD (f_FRj) = f_FRj;
|
9804 |
|
|
FLD (f_FRk) = f_FRk;
|
9805 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_fdmas", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9806 |
|
|
|
9807 |
|
|
#if WITH_PROFILE_MODEL_P
|
9808 |
|
|
/* Record the fields for profiling. */
|
9809 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9810 |
|
|
{
|
9811 |
|
|
FLD (in_FRi) = f_FRi;
|
9812 |
|
|
FLD (in_FRj) = f_FRj;
|
9813 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_1) = ((FLD (f_FRi)) + (1));
|
9814 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_2) = ((FLD (f_FRi)) + (2));
|
9815 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_3) = ((FLD (f_FRi)) + (3));
|
9816 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9817 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_2) = ((FLD (f_FRj)) + (2));
|
9818 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_3) = ((FLD (f_FRj)) + (3));
|
9819 |
|
|
FLD (out_FRk) = f_FRk;
|
9820 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
9821 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_2) = ((FLD (f_FRk)) + (2));
|
9822 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_3) = ((FLD (f_FRk)) + (3));
|
9823 |
|
|
}
|
9824 |
|
|
#endif
|
9825 |
|
|
#undef FLD
|
9826 |
|
|
return idesc;
|
9827 |
|
|
}
|
9828 |
|
|
|
9829 |
|
|
extract_sfmt_cfmas:
|
9830 |
|
|
{
|
9831 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9832 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9833 |
|
|
#define FLD(f) abuf->fields.sfmt_cfmas.f
|
9834 |
|
|
UINT f_FRk;
|
9835 |
|
|
UINT f_FRi;
|
9836 |
|
|
UINT f_CCi;
|
9837 |
|
|
UINT f_cond;
|
9838 |
|
|
UINT f_FRj;
|
9839 |
|
|
|
9840 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9841 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9842 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
9843 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
9844 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9845 |
|
|
|
9846 |
|
|
/* Record the fields for the semantic handler. */
|
9847 |
|
|
FLD (f_CCi) = f_CCi;
|
9848 |
|
|
FLD (f_FRi) = f_FRi;
|
9849 |
|
|
FLD (f_FRj) = f_FRj;
|
9850 |
|
|
FLD (f_cond) = f_cond;
|
9851 |
|
|
FLD (f_FRk) = f_FRk;
|
9852 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cfmas", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9853 |
|
|
|
9854 |
|
|
#if WITH_PROFILE_MODEL_P
|
9855 |
|
|
/* Record the fields for profiling. */
|
9856 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9857 |
|
|
{
|
9858 |
|
|
FLD (in_CCi) = f_CCi;
|
9859 |
|
|
FLD (in_FRi) = f_FRi;
|
9860 |
|
|
FLD (in_FRj) = f_FRj;
|
9861 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_1) = ((FLD (f_FRi)) + (1));
|
9862 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9863 |
|
|
FLD (out_FRk) = f_FRk;
|
9864 |
|
|
FLD (out_h_fr_SF_add__INT_index_of__INT_FRk_1) = ((FLD (f_FRk)) + (1));
|
9865 |
|
|
}
|
9866 |
|
|
#endif
|
9867 |
|
|
#undef FLD
|
9868 |
|
|
return idesc;
|
9869 |
|
|
}
|
9870 |
|
|
|
9871 |
|
|
extract_sfmt_nfdcmps:
|
9872 |
|
|
{
|
9873 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9874 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9875 |
|
|
#define FLD(f) abuf->fields.sfmt_nfdcmps.f
|
9876 |
|
|
UINT f_FRk;
|
9877 |
|
|
UINT f_FCCi_2;
|
9878 |
|
|
UINT f_FRi;
|
9879 |
|
|
UINT f_FRj;
|
9880 |
|
|
|
9881 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9882 |
|
|
f_FCCi_2 = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
9883 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
9884 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9885 |
|
|
|
9886 |
|
|
/* Record the fields for the semantic handler. */
|
9887 |
|
|
FLD (f_FRi) = f_FRi;
|
9888 |
|
|
FLD (f_FRj) = f_FRj;
|
9889 |
|
|
FLD (f_FCCi_2) = f_FCCi_2;
|
9890 |
|
|
FLD (f_FRk) = f_FRk;
|
9891 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_nfdcmps", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FCCi_2 0x%x", 'x', f_FCCi_2, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9892 |
|
|
|
9893 |
|
|
#if WITH_PROFILE_MODEL_P
|
9894 |
|
|
/* Record the fields for profiling. */
|
9895 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9896 |
|
|
{
|
9897 |
|
|
FLD (in_FRi) = f_FRi;
|
9898 |
|
|
FLD (in_FRj) = f_FRj;
|
9899 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRi_1) = ((FLD (f_FRi)) + (1));
|
9900 |
|
|
FLD (in_h_fr_SF_add__INT_index_of__INT_FRj_1) = ((FLD (f_FRj)) + (1));
|
9901 |
|
|
FLD (out_FCCi_2) = f_FCCi_2;
|
9902 |
|
|
FLD (out_h_fccr_UQI_add__INT_index_of__INT_FCCi_2_1) = ((FLD (f_FCCi_2)) + (1));
|
9903 |
|
|
}
|
9904 |
|
|
#endif
|
9905 |
|
|
#undef FLD
|
9906 |
|
|
return idesc;
|
9907 |
|
|
}
|
9908 |
|
|
|
9909 |
|
|
extract_sfmt_mhsetlos:
|
9910 |
|
|
{
|
9911 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9912 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9913 |
|
|
#define FLD(f) abuf->fields.sfmt_mhsetlos.f
|
9914 |
|
|
UINT f_FRk;
|
9915 |
|
|
INT f_u12_h;
|
9916 |
|
|
UINT f_u12_l;
|
9917 |
|
|
INT f_u12;
|
9918 |
|
|
|
9919 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9920 |
|
|
f_u12_h = EXTRACT_LSB0_SINT (insn, 32, 17, 6);
|
9921 |
|
|
f_u12_l = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9922 |
|
|
{
|
9923 |
|
|
f_u12 = ((((f_u12_h) << (6))) | (f_u12_l));
|
9924 |
|
|
}
|
9925 |
|
|
|
9926 |
|
|
/* Record the fields for the semantic handler. */
|
9927 |
|
|
FLD (f_u12) = f_u12;
|
9928 |
|
|
FLD (f_FRk) = f_FRk;
|
9929 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhsetlos", "f_u12 0x%x", 'x', f_u12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9930 |
|
|
|
9931 |
|
|
#if WITH_PROFILE_MODEL_P
|
9932 |
|
|
/* Record the fields for profiling. */
|
9933 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9934 |
|
|
{
|
9935 |
|
|
FLD (out_FRklo) = f_FRk;
|
9936 |
|
|
}
|
9937 |
|
|
#endif
|
9938 |
|
|
#undef FLD
|
9939 |
|
|
return idesc;
|
9940 |
|
|
}
|
9941 |
|
|
|
9942 |
|
|
extract_sfmt_mhsethis:
|
9943 |
|
|
{
|
9944 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9945 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9946 |
|
|
#define FLD(f) abuf->fields.sfmt_mhsethis.f
|
9947 |
|
|
UINT f_FRk;
|
9948 |
|
|
INT f_u12_h;
|
9949 |
|
|
UINT f_u12_l;
|
9950 |
|
|
INT f_u12;
|
9951 |
|
|
|
9952 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9953 |
|
|
f_u12_h = EXTRACT_LSB0_SINT (insn, 32, 17, 6);
|
9954 |
|
|
f_u12_l = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9955 |
|
|
{
|
9956 |
|
|
f_u12 = ((((f_u12_h) << (6))) | (f_u12_l));
|
9957 |
|
|
}
|
9958 |
|
|
|
9959 |
|
|
/* Record the fields for the semantic handler. */
|
9960 |
|
|
FLD (f_u12) = f_u12;
|
9961 |
|
|
FLD (f_FRk) = f_FRk;
|
9962 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhsethis", "f_u12 0x%x", 'x', f_u12, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
9963 |
|
|
|
9964 |
|
|
#if WITH_PROFILE_MODEL_P
|
9965 |
|
|
/* Record the fields for profiling. */
|
9966 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
9967 |
|
|
{
|
9968 |
|
|
FLD (out_FRkhi) = f_FRk;
|
9969 |
|
|
}
|
9970 |
|
|
#endif
|
9971 |
|
|
#undef FLD
|
9972 |
|
|
return idesc;
|
9973 |
|
|
}
|
9974 |
|
|
|
9975 |
|
|
extract_sfmt_mhdsets:
|
9976 |
|
|
{
|
9977 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
9978 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
9979 |
|
|
#define FLD(f) abuf->fields.sfmt_mhdsets.f
|
9980 |
|
|
UINT f_FRk;
|
9981 |
|
|
INT f_u12_h;
|
9982 |
|
|
UINT f_u12_l;
|
9983 |
|
|
INT f_u12;
|
9984 |
|
|
|
9985 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
9986 |
|
|
f_u12_h = EXTRACT_LSB0_SINT (insn, 32, 17, 6);
|
9987 |
|
|
f_u12_l = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
9988 |
|
|
{
|
9989 |
|
|
f_u12 = ((((f_u12_h) << (6))) | (f_u12_l));
|
9990 |
|
|
}
|
9991 |
|
|
|
9992 |
|
|
/* Record the fields for the semantic handler. */
|
9993 |
|
|
FLD (f_FRk) = f_FRk;
|
9994 |
|
|
FLD (f_u12) = f_u12;
|
9995 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhdsets", "f_FRk 0x%x", 'x', f_FRk, "f_u12 0x%x", 'x', f_u12, (char *) 0));
|
9996 |
|
|
|
9997 |
|
|
#if WITH_PROFILE_MODEL_P
|
9998 |
|
|
/* Record the fields for profiling. */
|
9999 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10000 |
|
|
{
|
10001 |
|
|
FLD (in_FRintk) = f_FRk;
|
10002 |
|
|
FLD (out_FRintk) = f_FRk;
|
10003 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10004 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10005 |
|
|
}
|
10006 |
|
|
#endif
|
10007 |
|
|
#undef FLD
|
10008 |
|
|
return idesc;
|
10009 |
|
|
}
|
10010 |
|
|
|
10011 |
|
|
extract_sfmt_mhsetloh:
|
10012 |
|
|
{
|
10013 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10014 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10015 |
|
|
#define FLD(f) abuf->fields.sfmt_mhsetloh.f
|
10016 |
|
|
UINT f_FRk;
|
10017 |
|
|
INT f_s5;
|
10018 |
|
|
|
10019 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10020 |
|
|
f_s5 = EXTRACT_LSB0_SINT (insn, 32, 4, 5);
|
10021 |
|
|
|
10022 |
|
|
/* Record the fields for the semantic handler. */
|
10023 |
|
|
FLD (f_FRk) = f_FRk;
|
10024 |
|
|
FLD (f_s5) = f_s5;
|
10025 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhsetloh", "f_FRk 0x%x", 'x', f_FRk, "f_s5 0x%x", 'x', f_s5, (char *) 0));
|
10026 |
|
|
|
10027 |
|
|
#if WITH_PROFILE_MODEL_P
|
10028 |
|
|
/* Record the fields for profiling. */
|
10029 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10030 |
|
|
{
|
10031 |
|
|
FLD (in_FRklo) = f_FRk;
|
10032 |
|
|
FLD (out_FRklo) = f_FRk;
|
10033 |
|
|
}
|
10034 |
|
|
#endif
|
10035 |
|
|
#undef FLD
|
10036 |
|
|
return idesc;
|
10037 |
|
|
}
|
10038 |
|
|
|
10039 |
|
|
extract_sfmt_mhsethih:
|
10040 |
|
|
{
|
10041 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10042 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10043 |
|
|
#define FLD(f) abuf->fields.sfmt_mhsethih.f
|
10044 |
|
|
UINT f_FRk;
|
10045 |
|
|
INT f_s5;
|
10046 |
|
|
|
10047 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10048 |
|
|
f_s5 = EXTRACT_LSB0_SINT (insn, 32, 4, 5);
|
10049 |
|
|
|
10050 |
|
|
/* Record the fields for the semantic handler. */
|
10051 |
|
|
FLD (f_FRk) = f_FRk;
|
10052 |
|
|
FLD (f_s5) = f_s5;
|
10053 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhsethih", "f_FRk 0x%x", 'x', f_FRk, "f_s5 0x%x", 'x', f_s5, (char *) 0));
|
10054 |
|
|
|
10055 |
|
|
#if WITH_PROFILE_MODEL_P
|
10056 |
|
|
/* Record the fields for profiling. */
|
10057 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10058 |
|
|
{
|
10059 |
|
|
FLD (in_FRkhi) = f_FRk;
|
10060 |
|
|
FLD (out_FRkhi) = f_FRk;
|
10061 |
|
|
}
|
10062 |
|
|
#endif
|
10063 |
|
|
#undef FLD
|
10064 |
|
|
return idesc;
|
10065 |
|
|
}
|
10066 |
|
|
|
10067 |
|
|
extract_sfmt_mhdseth:
|
10068 |
|
|
{
|
10069 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10070 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10071 |
|
|
#define FLD(f) abuf->fields.sfmt_mhdseth.f
|
10072 |
|
|
UINT f_FRk;
|
10073 |
|
|
INT f_s5;
|
10074 |
|
|
|
10075 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10076 |
|
|
f_s5 = EXTRACT_LSB0_SINT (insn, 32, 4, 5);
|
10077 |
|
|
|
10078 |
|
|
/* Record the fields for the semantic handler. */
|
10079 |
|
|
FLD (f_FRk) = f_FRk;
|
10080 |
|
|
FLD (f_s5) = f_s5;
|
10081 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhdseth", "f_FRk 0x%x", 'x', f_FRk, "f_s5 0x%x", 'x', f_s5, (char *) 0));
|
10082 |
|
|
|
10083 |
|
|
#if WITH_PROFILE_MODEL_P
|
10084 |
|
|
/* Record the fields for profiling. */
|
10085 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10086 |
|
|
{
|
10087 |
|
|
FLD (in_FRintk) = f_FRk;
|
10088 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10089 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10090 |
|
|
FLD (out_FRintk) = f_FRk;
|
10091 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10092 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10093 |
|
|
}
|
10094 |
|
|
#endif
|
10095 |
|
|
#undef FLD
|
10096 |
|
|
return idesc;
|
10097 |
|
|
}
|
10098 |
|
|
|
10099 |
|
|
extract_sfmt_mand:
|
10100 |
|
|
{
|
10101 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10102 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10103 |
|
|
#define FLD(f) abuf->fields.sfmt_mwcut.f
|
10104 |
|
|
UINT f_FRk;
|
10105 |
|
|
UINT f_FRi;
|
10106 |
|
|
UINT f_FRj;
|
10107 |
|
|
|
10108 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10109 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10110 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10111 |
|
|
|
10112 |
|
|
/* Record the fields for the semantic handler. */
|
10113 |
|
|
FLD (f_FRi) = f_FRi;
|
10114 |
|
|
FLD (f_FRj) = f_FRj;
|
10115 |
|
|
FLD (f_FRk) = f_FRk;
|
10116 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mand", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10117 |
|
|
|
10118 |
|
|
#if WITH_PROFILE_MODEL_P
|
10119 |
|
|
/* Record the fields for profiling. */
|
10120 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10121 |
|
|
{
|
10122 |
|
|
FLD (in_FRinti) = f_FRi;
|
10123 |
|
|
FLD (in_FRintj) = f_FRj;
|
10124 |
|
|
FLD (out_FRintk) = f_FRk;
|
10125 |
|
|
}
|
10126 |
|
|
#endif
|
10127 |
|
|
#undef FLD
|
10128 |
|
|
return idesc;
|
10129 |
|
|
}
|
10130 |
|
|
|
10131 |
|
|
extract_sfmt_cmand:
|
10132 |
|
|
{
|
10133 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10134 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10135 |
|
|
#define FLD(f) abuf->fields.sfmt_cmand.f
|
10136 |
|
|
UINT f_FRk;
|
10137 |
|
|
UINT f_FRi;
|
10138 |
|
|
UINT f_CCi;
|
10139 |
|
|
UINT f_cond;
|
10140 |
|
|
UINT f_FRj;
|
10141 |
|
|
|
10142 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10143 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10144 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
10145 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
10146 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10147 |
|
|
|
10148 |
|
|
/* Record the fields for the semantic handler. */
|
10149 |
|
|
FLD (f_CCi) = f_CCi;
|
10150 |
|
|
FLD (f_FRi) = f_FRi;
|
10151 |
|
|
FLD (f_FRj) = f_FRj;
|
10152 |
|
|
FLD (f_cond) = f_cond;
|
10153 |
|
|
FLD (f_FRk) = f_FRk;
|
10154 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmand", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10155 |
|
|
|
10156 |
|
|
#if WITH_PROFILE_MODEL_P
|
10157 |
|
|
/* Record the fields for profiling. */
|
10158 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10159 |
|
|
{
|
10160 |
|
|
FLD (in_CCi) = f_CCi;
|
10161 |
|
|
FLD (in_FRinti) = f_FRi;
|
10162 |
|
|
FLD (in_FRintj) = f_FRj;
|
10163 |
|
|
FLD (out_FRintk) = f_FRk;
|
10164 |
|
|
}
|
10165 |
|
|
#endif
|
10166 |
|
|
#undef FLD
|
10167 |
|
|
return idesc;
|
10168 |
|
|
}
|
10169 |
|
|
|
10170 |
|
|
extract_sfmt_mnot:
|
10171 |
|
|
{
|
10172 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10173 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10174 |
|
|
#define FLD(f) abuf->fields.sfmt_mcut.f
|
10175 |
|
|
UINT f_FRk;
|
10176 |
|
|
UINT f_FRj;
|
10177 |
|
|
|
10178 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10179 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10180 |
|
|
|
10181 |
|
|
/* Record the fields for the semantic handler. */
|
10182 |
|
|
FLD (f_FRj) = f_FRj;
|
10183 |
|
|
FLD (f_FRk) = f_FRk;
|
10184 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mnot", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10185 |
|
|
|
10186 |
|
|
#if WITH_PROFILE_MODEL_P
|
10187 |
|
|
/* Record the fields for profiling. */
|
10188 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10189 |
|
|
{
|
10190 |
|
|
FLD (in_FRintj) = f_FRj;
|
10191 |
|
|
FLD (out_FRintk) = f_FRk;
|
10192 |
|
|
}
|
10193 |
|
|
#endif
|
10194 |
|
|
#undef FLD
|
10195 |
|
|
return idesc;
|
10196 |
|
|
}
|
10197 |
|
|
|
10198 |
|
|
extract_sfmt_cmnot:
|
10199 |
|
|
{
|
10200 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10201 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10202 |
|
|
#define FLD(f) abuf->fields.sfmt_cmand.f
|
10203 |
|
|
UINT f_FRk;
|
10204 |
|
|
UINT f_CCi;
|
10205 |
|
|
UINT f_cond;
|
10206 |
|
|
UINT f_FRj;
|
10207 |
|
|
|
10208 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10209 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
10210 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
10211 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10212 |
|
|
|
10213 |
|
|
/* Record the fields for the semantic handler. */
|
10214 |
|
|
FLD (f_CCi) = f_CCi;
|
10215 |
|
|
FLD (f_FRj) = f_FRj;
|
10216 |
|
|
FLD (f_cond) = f_cond;
|
10217 |
|
|
FLD (f_FRk) = f_FRk;
|
10218 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmnot", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10219 |
|
|
|
10220 |
|
|
#if WITH_PROFILE_MODEL_P
|
10221 |
|
|
/* Record the fields for profiling. */
|
10222 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10223 |
|
|
{
|
10224 |
|
|
FLD (in_CCi) = f_CCi;
|
10225 |
|
|
FLD (in_FRintj) = f_FRj;
|
10226 |
|
|
FLD (out_FRintk) = f_FRk;
|
10227 |
|
|
}
|
10228 |
|
|
#endif
|
10229 |
|
|
#undef FLD
|
10230 |
|
|
return idesc;
|
10231 |
|
|
}
|
10232 |
|
|
|
10233 |
|
|
extract_sfmt_mrotli:
|
10234 |
|
|
{
|
10235 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10236 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10237 |
|
|
#define FLD(f) abuf->fields.sfmt_mwcuti.f
|
10238 |
|
|
UINT f_FRk;
|
10239 |
|
|
UINT f_FRi;
|
10240 |
|
|
UINT f_u6;
|
10241 |
|
|
|
10242 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10243 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10244 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10245 |
|
|
|
10246 |
|
|
/* Record the fields for the semantic handler. */
|
10247 |
|
|
FLD (f_FRi) = f_FRi;
|
10248 |
|
|
FLD (f_u6) = f_u6;
|
10249 |
|
|
FLD (f_FRk) = f_FRk;
|
10250 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mrotli", "f_FRi 0x%x", 'x', f_FRi, "f_u6 0x%x", 'x', f_u6, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10251 |
|
|
|
10252 |
|
|
#if WITH_PROFILE_MODEL_P
|
10253 |
|
|
/* Record the fields for profiling. */
|
10254 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10255 |
|
|
{
|
10256 |
|
|
FLD (in_FRinti) = f_FRi;
|
10257 |
|
|
FLD (out_FRintk) = f_FRk;
|
10258 |
|
|
}
|
10259 |
|
|
#endif
|
10260 |
|
|
#undef FLD
|
10261 |
|
|
return idesc;
|
10262 |
|
|
}
|
10263 |
|
|
|
10264 |
|
|
extract_sfmt_mwcut:
|
10265 |
|
|
{
|
10266 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10267 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10268 |
|
|
#define FLD(f) abuf->fields.sfmt_mwcut.f
|
10269 |
|
|
UINT f_FRk;
|
10270 |
|
|
UINT f_FRi;
|
10271 |
|
|
UINT f_FRj;
|
10272 |
|
|
|
10273 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10274 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10275 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10276 |
|
|
|
10277 |
|
|
/* Record the fields for the semantic handler. */
|
10278 |
|
|
FLD (f_FRi) = f_FRi;
|
10279 |
|
|
FLD (f_FRj) = f_FRj;
|
10280 |
|
|
FLD (f_FRk) = f_FRk;
|
10281 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mwcut", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10282 |
|
|
|
10283 |
|
|
#if WITH_PROFILE_MODEL_P
|
10284 |
|
|
/* Record the fields for profiling. */
|
10285 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10286 |
|
|
{
|
10287 |
|
|
FLD (in_FRinti) = f_FRi;
|
10288 |
|
|
FLD (in_FRintj) = f_FRj;
|
10289 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRinti_1) = ((FLD (f_FRi)) + (1));
|
10290 |
|
|
FLD (out_FRintk) = f_FRk;
|
10291 |
|
|
}
|
10292 |
|
|
#endif
|
10293 |
|
|
#undef FLD
|
10294 |
|
|
return idesc;
|
10295 |
|
|
}
|
10296 |
|
|
|
10297 |
|
|
extract_sfmt_mwcuti:
|
10298 |
|
|
{
|
10299 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10300 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10301 |
|
|
#define FLD(f) abuf->fields.sfmt_mwcuti.f
|
10302 |
|
|
UINT f_FRk;
|
10303 |
|
|
UINT f_FRi;
|
10304 |
|
|
UINT f_u6;
|
10305 |
|
|
|
10306 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10307 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10308 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10309 |
|
|
|
10310 |
|
|
/* Record the fields for the semantic handler. */
|
10311 |
|
|
FLD (f_FRi) = f_FRi;
|
10312 |
|
|
FLD (f_u6) = f_u6;
|
10313 |
|
|
FLD (f_FRk) = f_FRk;
|
10314 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mwcuti", "f_FRi 0x%x", 'x', f_FRi, "f_u6 0x%x", 'x', f_u6, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10315 |
|
|
|
10316 |
|
|
#if WITH_PROFILE_MODEL_P
|
10317 |
|
|
/* Record the fields for profiling. */
|
10318 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10319 |
|
|
{
|
10320 |
|
|
FLD (in_FRinti) = f_FRi;
|
10321 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRinti_1) = ((FLD (f_FRi)) + (1));
|
10322 |
|
|
FLD (out_FRintk) = f_FRk;
|
10323 |
|
|
}
|
10324 |
|
|
#endif
|
10325 |
|
|
#undef FLD
|
10326 |
|
|
return idesc;
|
10327 |
|
|
}
|
10328 |
|
|
|
10329 |
|
|
extract_sfmt_mcut:
|
10330 |
|
|
{
|
10331 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10332 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10333 |
|
|
#define FLD(f) abuf->fields.sfmt_mcut.f
|
10334 |
|
|
UINT f_FRk;
|
10335 |
|
|
UINT f_ACC40Si;
|
10336 |
|
|
UINT f_FRj;
|
10337 |
|
|
|
10338 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10339 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10340 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10341 |
|
|
|
10342 |
|
|
/* Record the fields for the semantic handler. */
|
10343 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10344 |
|
|
FLD (f_FRj) = f_FRj;
|
10345 |
|
|
FLD (f_FRk) = f_FRk;
|
10346 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mcut", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10347 |
|
|
|
10348 |
|
|
#if WITH_PROFILE_MODEL_P
|
10349 |
|
|
/* Record the fields for profiling. */
|
10350 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10351 |
|
|
{
|
10352 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10353 |
|
|
FLD (in_FRintj) = f_FRj;
|
10354 |
|
|
FLD (out_FRintk) = f_FRk;
|
10355 |
|
|
}
|
10356 |
|
|
#endif
|
10357 |
|
|
#undef FLD
|
10358 |
|
|
return idesc;
|
10359 |
|
|
}
|
10360 |
|
|
|
10361 |
|
|
extract_sfmt_mcuti:
|
10362 |
|
|
{
|
10363 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10364 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10365 |
|
|
#define FLD(f) abuf->fields.sfmt_mcuti.f
|
10366 |
|
|
UINT f_FRk;
|
10367 |
|
|
UINT f_ACC40Si;
|
10368 |
|
|
INT f_s6;
|
10369 |
|
|
|
10370 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10371 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10372 |
|
|
f_s6 = EXTRACT_LSB0_SINT (insn, 32, 5, 6);
|
10373 |
|
|
|
10374 |
|
|
/* Record the fields for the semantic handler. */
|
10375 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10376 |
|
|
FLD (f_s6) = f_s6;
|
10377 |
|
|
FLD (f_FRk) = f_FRk;
|
10378 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mcuti", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_s6 0x%x", 'x', f_s6, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10379 |
|
|
|
10380 |
|
|
#if WITH_PROFILE_MODEL_P
|
10381 |
|
|
/* Record the fields for profiling. */
|
10382 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10383 |
|
|
{
|
10384 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10385 |
|
|
FLD (out_FRintk) = f_FRk;
|
10386 |
|
|
}
|
10387 |
|
|
#endif
|
10388 |
|
|
#undef FLD
|
10389 |
|
|
return idesc;
|
10390 |
|
|
}
|
10391 |
|
|
|
10392 |
|
|
extract_sfmt_mdcutssi:
|
10393 |
|
|
{
|
10394 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10395 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10396 |
|
|
#define FLD(f) abuf->fields.sfmt_mdcutssi.f
|
10397 |
|
|
UINT f_FRk;
|
10398 |
|
|
UINT f_ACC40Si;
|
10399 |
|
|
INT f_s6;
|
10400 |
|
|
|
10401 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10402 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10403 |
|
|
f_s6 = EXTRACT_LSB0_SINT (insn, 32, 5, 6);
|
10404 |
|
|
|
10405 |
|
|
/* Record the fields for the semantic handler. */
|
10406 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10407 |
|
|
FLD (f_FRk) = f_FRk;
|
10408 |
|
|
FLD (f_s6) = f_s6;
|
10409 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mdcutssi", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_FRk 0x%x", 'x', f_FRk, "f_s6 0x%x", 'x', f_s6, (char *) 0));
|
10410 |
|
|
|
10411 |
|
|
#if WITH_PROFILE_MODEL_P
|
10412 |
|
|
/* Record the fields for profiling. */
|
10413 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10414 |
|
|
{
|
10415 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10416 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_1) = ((FLD (f_ACC40Si)) + (1));
|
10417 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
10418 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10419 |
|
|
}
|
10420 |
|
|
#endif
|
10421 |
|
|
#undef FLD
|
10422 |
|
|
return idesc;
|
10423 |
|
|
}
|
10424 |
|
|
|
10425 |
|
|
extract_sfmt_msllhi:
|
10426 |
|
|
{
|
10427 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10428 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10429 |
|
|
#define FLD(f) abuf->fields.sfmt_msllhi.f
|
10430 |
|
|
UINT f_FRk;
|
10431 |
|
|
UINT f_FRi;
|
10432 |
|
|
UINT f_u6;
|
10433 |
|
|
|
10434 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10435 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10436 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10437 |
|
|
|
10438 |
|
|
/* Record the fields for the semantic handler. */
|
10439 |
|
|
FLD (f_FRi) = f_FRi;
|
10440 |
|
|
FLD (f_FRk) = f_FRk;
|
10441 |
|
|
FLD (f_u6) = f_u6;
|
10442 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_msllhi", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
10443 |
|
|
|
10444 |
|
|
#if WITH_PROFILE_MODEL_P
|
10445 |
|
|
/* Record the fields for profiling. */
|
10446 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10447 |
|
|
{
|
10448 |
|
|
FLD (in_FRinti) = f_FRi;
|
10449 |
|
|
FLD (in_FRintk) = f_FRk;
|
10450 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10451 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10452 |
|
|
FLD (out_FRinti) = f_FRi;
|
10453 |
|
|
FLD (out_FRintk) = f_FRk;
|
10454 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10455 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10456 |
|
|
}
|
10457 |
|
|
#endif
|
10458 |
|
|
#undef FLD
|
10459 |
|
|
return idesc;
|
10460 |
|
|
}
|
10461 |
|
|
|
10462 |
|
|
extract_sfmt_mdrotli:
|
10463 |
|
|
{
|
10464 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10465 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10466 |
|
|
#define FLD(f) abuf->fields.sfmt_mdrotli.f
|
10467 |
|
|
UINT f_FRk;
|
10468 |
|
|
UINT f_FRi;
|
10469 |
|
|
INT f_s6;
|
10470 |
|
|
|
10471 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10472 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10473 |
|
|
f_s6 = EXTRACT_LSB0_SINT (insn, 32, 5, 6);
|
10474 |
|
|
|
10475 |
|
|
/* Record the fields for the semantic handler. */
|
10476 |
|
|
FLD (f_FRi) = f_FRi;
|
10477 |
|
|
FLD (f_FRk) = f_FRk;
|
10478 |
|
|
FLD (f_s6) = f_s6;
|
10479 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mdrotli", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, "f_s6 0x%x", 'x', f_s6, (char *) 0));
|
10480 |
|
|
|
10481 |
|
|
#if WITH_PROFILE_MODEL_P
|
10482 |
|
|
/* Record the fields for profiling. */
|
10483 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10484 |
|
|
{
|
10485 |
|
|
FLD (in_FRintieven) = f_FRi;
|
10486 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10487 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
10488 |
|
|
FLD (out_h_fr_int_USI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10489 |
|
|
}
|
10490 |
|
|
#endif
|
10491 |
|
|
#undef FLD
|
10492 |
|
|
return idesc;
|
10493 |
|
|
}
|
10494 |
|
|
|
10495 |
|
|
extract_sfmt_mcplhi:
|
10496 |
|
|
{
|
10497 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10498 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10499 |
|
|
#define FLD(f) abuf->fields.sfmt_mcplhi.f
|
10500 |
|
|
UINT f_FRk;
|
10501 |
|
|
UINT f_FRi;
|
10502 |
|
|
UINT f_u6;
|
10503 |
|
|
|
10504 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10505 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10506 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10507 |
|
|
|
10508 |
|
|
/* Record the fields for the semantic handler. */
|
10509 |
|
|
FLD (f_FRi) = f_FRi;
|
10510 |
|
|
FLD (f_FRk) = f_FRk;
|
10511 |
|
|
FLD (f_u6) = f_u6;
|
10512 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mcplhi", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
10513 |
|
|
|
10514 |
|
|
#if WITH_PROFILE_MODEL_P
|
10515 |
|
|
/* Record the fields for profiling. */
|
10516 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10517 |
|
|
{
|
10518 |
|
|
FLD (in_FRinti) = f_FRi;
|
10519 |
|
|
FLD (in_FRintk) = f_FRk;
|
10520 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10521 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_1) = ((FLD (f_FRi)) + (1));
|
10522 |
|
|
FLD (out_FRinti) = f_FRi;
|
10523 |
|
|
FLD (out_FRintk) = f_FRk;
|
10524 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10525 |
|
|
}
|
10526 |
|
|
#endif
|
10527 |
|
|
#undef FLD
|
10528 |
|
|
return idesc;
|
10529 |
|
|
}
|
10530 |
|
|
|
10531 |
|
|
extract_sfmt_mcpli:
|
10532 |
|
|
{
|
10533 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10534 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10535 |
|
|
#define FLD(f) abuf->fields.sfmt_mwcuti.f
|
10536 |
|
|
UINT f_FRk;
|
10537 |
|
|
UINT f_FRi;
|
10538 |
|
|
UINT f_u6;
|
10539 |
|
|
|
10540 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10541 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10542 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10543 |
|
|
|
10544 |
|
|
/* Record the fields for the semantic handler. */
|
10545 |
|
|
FLD (f_FRi) = f_FRi;
|
10546 |
|
|
FLD (f_u6) = f_u6;
|
10547 |
|
|
FLD (f_FRk) = f_FRk;
|
10548 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mcpli", "f_FRi 0x%x", 'x', f_FRi, "f_u6 0x%x", 'x', f_u6, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10549 |
|
|
|
10550 |
|
|
#if WITH_PROFILE_MODEL_P
|
10551 |
|
|
/* Record the fields for profiling. */
|
10552 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10553 |
|
|
{
|
10554 |
|
|
FLD (in_FRinti) = f_FRi;
|
10555 |
|
|
FLD (in_h_fr_int_USI_add__INT_index_of__INT_FRinti_1) = ((FLD (f_FRi)) + (1));
|
10556 |
|
|
FLD (out_FRintk) = f_FRk;
|
10557 |
|
|
}
|
10558 |
|
|
#endif
|
10559 |
|
|
#undef FLD
|
10560 |
|
|
return idesc;
|
10561 |
|
|
}
|
10562 |
|
|
|
10563 |
|
|
extract_sfmt_msaths:
|
10564 |
|
|
{
|
10565 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10566 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10567 |
|
|
#define FLD(f) abuf->fields.sfmt_cmaddhss.f
|
10568 |
|
|
UINT f_FRk;
|
10569 |
|
|
UINT f_FRi;
|
10570 |
|
|
UINT f_FRj;
|
10571 |
|
|
|
10572 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10573 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10574 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10575 |
|
|
|
10576 |
|
|
/* Record the fields for the semantic handler. */
|
10577 |
|
|
FLD (f_FRi) = f_FRi;
|
10578 |
|
|
FLD (f_FRj) = f_FRj;
|
10579 |
|
|
FLD (f_FRk) = f_FRk;
|
10580 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_msaths", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10581 |
|
|
|
10582 |
|
|
#if WITH_PROFILE_MODEL_P
|
10583 |
|
|
/* Record the fields for profiling. */
|
10584 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10585 |
|
|
{
|
10586 |
|
|
FLD (in_FRinti) = f_FRi;
|
10587 |
|
|
FLD (in_FRintj) = f_FRj;
|
10588 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10589 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10590 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10591 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10592 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10593 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10594 |
|
|
}
|
10595 |
|
|
#endif
|
10596 |
|
|
#undef FLD
|
10597 |
|
|
return idesc;
|
10598 |
|
|
}
|
10599 |
|
|
|
10600 |
|
|
extract_sfmt_mqsaths:
|
10601 |
|
|
{
|
10602 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10603 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10604 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqaddhss.f
|
10605 |
|
|
UINT f_FRk;
|
10606 |
|
|
UINT f_FRi;
|
10607 |
|
|
UINT f_FRj;
|
10608 |
|
|
|
10609 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10610 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10611 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10612 |
|
|
|
10613 |
|
|
/* Record the fields for the semantic handler. */
|
10614 |
|
|
FLD (f_FRi) = f_FRi;
|
10615 |
|
|
FLD (f_FRj) = f_FRj;
|
10616 |
|
|
FLD (f_FRk) = f_FRk;
|
10617 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mqsaths", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10618 |
|
|
|
10619 |
|
|
#if WITH_PROFILE_MODEL_P
|
10620 |
|
|
/* Record the fields for profiling. */
|
10621 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10622 |
|
|
{
|
10623 |
|
|
FLD (in_FRintieven) = f_FRi;
|
10624 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
10625 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
10626 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
10627 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10628 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
10629 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
10630 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
10631 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10632 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
10633 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
10634 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
10635 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
10636 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10637 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
10638 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10639 |
|
|
}
|
10640 |
|
|
#endif
|
10641 |
|
|
#undef FLD
|
10642 |
|
|
return idesc;
|
10643 |
|
|
}
|
10644 |
|
|
|
10645 |
|
|
extract_sfmt_mcmpsh:
|
10646 |
|
|
{
|
10647 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10648 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10649 |
|
|
#define FLD(f) abuf->fields.sfmt_mcmpsh.f
|
10650 |
|
|
UINT f_FCCk;
|
10651 |
|
|
UINT f_FRi;
|
10652 |
|
|
UINT f_FRj;
|
10653 |
|
|
|
10654 |
|
|
f_FCCk = EXTRACT_LSB0_UINT (insn, 32, 26, 2);
|
10655 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10656 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10657 |
|
|
|
10658 |
|
|
/* Record the fields for the semantic handler. */
|
10659 |
|
|
FLD (f_FRi) = f_FRi;
|
10660 |
|
|
FLD (f_FRj) = f_FRj;
|
10661 |
|
|
FLD (f_FCCk) = f_FCCk;
|
10662 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mcmpsh", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FCCk 0x%x", 'x', f_FCCk, (char *) 0));
|
10663 |
|
|
|
10664 |
|
|
#if WITH_PROFILE_MODEL_P
|
10665 |
|
|
/* Record the fields for profiling. */
|
10666 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10667 |
|
|
{
|
10668 |
|
|
FLD (in_FRinti) = f_FRi;
|
10669 |
|
|
FLD (in_FRintj) = f_FRj;
|
10670 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10671 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10672 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10673 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10674 |
|
|
FLD (out_FCCk) = f_FCCk;
|
10675 |
|
|
FLD (out_h_fccr_UQI_add__INT_index_of__INT_FCCk_1) = ((FLD (f_FCCk)) + (1));
|
10676 |
|
|
}
|
10677 |
|
|
#endif
|
10678 |
|
|
#undef FLD
|
10679 |
|
|
return idesc;
|
10680 |
|
|
}
|
10681 |
|
|
|
10682 |
|
|
extract_sfmt_mabshs:
|
10683 |
|
|
{
|
10684 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10685 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10686 |
|
|
#define FLD(f) abuf->fields.sfmt_mabshs.f
|
10687 |
|
|
UINT f_FRk;
|
10688 |
|
|
UINT f_FRj;
|
10689 |
|
|
|
10690 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10691 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10692 |
|
|
|
10693 |
|
|
/* Record the fields for the semantic handler. */
|
10694 |
|
|
FLD (f_FRj) = f_FRj;
|
10695 |
|
|
FLD (f_FRk) = f_FRk;
|
10696 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mabshs", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10697 |
|
|
|
10698 |
|
|
#if WITH_PROFILE_MODEL_P
|
10699 |
|
|
/* Record the fields for profiling. */
|
10700 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10701 |
|
|
{
|
10702 |
|
|
FLD (in_FRintj) = f_FRj;
|
10703 |
|
|
FLD (in_FRintk) = f_FRk;
|
10704 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10705 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10706 |
|
|
FLD (out_FRintj) = f_FRj;
|
10707 |
|
|
FLD (out_FRintk) = f_FRk;
|
10708 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10709 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10710 |
|
|
}
|
10711 |
|
|
#endif
|
10712 |
|
|
#undef FLD
|
10713 |
|
|
return idesc;
|
10714 |
|
|
}
|
10715 |
|
|
|
10716 |
|
|
extract_sfmt_cmaddhss:
|
10717 |
|
|
{
|
10718 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10719 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10720 |
|
|
#define FLD(f) abuf->fields.sfmt_cmaddhss.f
|
10721 |
|
|
UINT f_FRk;
|
10722 |
|
|
UINT f_FRi;
|
10723 |
|
|
UINT f_CCi;
|
10724 |
|
|
UINT f_cond;
|
10725 |
|
|
UINT f_FRj;
|
10726 |
|
|
|
10727 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10728 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10729 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
10730 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
10731 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10732 |
|
|
|
10733 |
|
|
/* Record the fields for the semantic handler. */
|
10734 |
|
|
FLD (f_CCi) = f_CCi;
|
10735 |
|
|
FLD (f_FRi) = f_FRi;
|
10736 |
|
|
FLD (f_FRj) = f_FRj;
|
10737 |
|
|
FLD (f_cond) = f_cond;
|
10738 |
|
|
FLD (f_FRk) = f_FRk;
|
10739 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmaddhss", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
10740 |
|
|
|
10741 |
|
|
#if WITH_PROFILE_MODEL_P
|
10742 |
|
|
/* Record the fields for profiling. */
|
10743 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10744 |
|
|
{
|
10745 |
|
|
FLD (in_CCi) = f_CCi;
|
10746 |
|
|
FLD (in_FRinti) = f_FRi;
|
10747 |
|
|
FLD (in_FRintj) = f_FRj;
|
10748 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10749 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10750 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
10751 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
10752 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10753 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
10754 |
|
|
}
|
10755 |
|
|
#endif
|
10756 |
|
|
#undef FLD
|
10757 |
|
|
return idesc;
|
10758 |
|
|
}
|
10759 |
|
|
|
10760 |
|
|
extract_sfmt_cmqaddhss:
|
10761 |
|
|
{
|
10762 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10763 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10764 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqaddhss.f
|
10765 |
|
|
UINT f_FRk;
|
10766 |
|
|
UINT f_FRi;
|
10767 |
|
|
UINT f_CCi;
|
10768 |
|
|
UINT f_cond;
|
10769 |
|
|
UINT f_FRj;
|
10770 |
|
|
|
10771 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10772 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10773 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
10774 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
10775 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10776 |
|
|
|
10777 |
|
|
/* Record the fields for the semantic handler. */
|
10778 |
|
|
FLD (f_CCi) = f_CCi;
|
10779 |
|
|
FLD (f_FRi) = f_FRi;
|
10780 |
|
|
FLD (f_FRj) = f_FRj;
|
10781 |
|
|
FLD (f_FRk) = f_FRk;
|
10782 |
|
|
FLD (f_cond) = f_cond;
|
10783 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmqaddhss", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
10784 |
|
|
|
10785 |
|
|
#if WITH_PROFILE_MODEL_P
|
10786 |
|
|
/* Record the fields for profiling. */
|
10787 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10788 |
|
|
{
|
10789 |
|
|
FLD (in_CCi) = f_CCi;
|
10790 |
|
|
FLD (in_FRintieven) = f_FRi;
|
10791 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
10792 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
10793 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
10794 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10795 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
10796 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
10797 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
10798 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10799 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
10800 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
10801 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
10802 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
10803 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10804 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
10805 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10806 |
|
|
}
|
10807 |
|
|
#endif
|
10808 |
|
|
#undef FLD
|
10809 |
|
|
return idesc;
|
10810 |
|
|
}
|
10811 |
|
|
|
10812 |
|
|
extract_sfmt_mqsllhi:
|
10813 |
|
|
{
|
10814 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10815 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10816 |
|
|
#define FLD(f) abuf->fields.sfmt_mqsllhi.f
|
10817 |
|
|
UINT f_FRk;
|
10818 |
|
|
UINT f_FRi;
|
10819 |
|
|
UINT f_u6;
|
10820 |
|
|
|
10821 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10822 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10823 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10824 |
|
|
|
10825 |
|
|
/* Record the fields for the semantic handler. */
|
10826 |
|
|
FLD (f_FRi) = f_FRi;
|
10827 |
|
|
FLD (f_FRk) = f_FRk;
|
10828 |
|
|
FLD (f_u6) = f_u6;
|
10829 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mqsllhi", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
10830 |
|
|
|
10831 |
|
|
#if WITH_PROFILE_MODEL_P
|
10832 |
|
|
/* Record the fields for profiling. */
|
10833 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10834 |
|
|
{
|
10835 |
|
|
FLD (in_FRintieven) = f_FRi;
|
10836 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
10837 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
10838 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10839 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
10840 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
10841 |
|
|
FLD (out_FRintieven) = f_FRi;
|
10842 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
10843 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
10844 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10845 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
10846 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
10847 |
|
|
}
|
10848 |
|
|
#endif
|
10849 |
|
|
#undef FLD
|
10850 |
|
|
return idesc;
|
10851 |
|
|
}
|
10852 |
|
|
|
10853 |
|
|
extract_sfmt_maddaccs:
|
10854 |
|
|
{
|
10855 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10856 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10857 |
|
|
#define FLD(f) abuf->fields.sfmt_mdasaccs.f
|
10858 |
|
|
UINT f_ACC40Sk;
|
10859 |
|
|
UINT f_ACC40Si;
|
10860 |
|
|
|
10861 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10862 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10863 |
|
|
|
10864 |
|
|
/* Record the fields for the semantic handler. */
|
10865 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10866 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
10867 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_maddaccs", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
10868 |
|
|
|
10869 |
|
|
#if WITH_PROFILE_MODEL_P
|
10870 |
|
|
/* Record the fields for profiling. */
|
10871 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10872 |
|
|
{
|
10873 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10874 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_1) = ((FLD (f_ACC40Si)) + (1));
|
10875 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
10876 |
|
|
}
|
10877 |
|
|
#endif
|
10878 |
|
|
#undef FLD
|
10879 |
|
|
return idesc;
|
10880 |
|
|
}
|
10881 |
|
|
|
10882 |
|
|
extract_sfmt_mdaddaccs:
|
10883 |
|
|
{
|
10884 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10885 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10886 |
|
|
#define FLD(f) abuf->fields.sfmt_mdasaccs.f
|
10887 |
|
|
UINT f_ACC40Sk;
|
10888 |
|
|
UINT f_ACC40Si;
|
10889 |
|
|
|
10890 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10891 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10892 |
|
|
|
10893 |
|
|
/* Record the fields for the semantic handler. */
|
10894 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10895 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
10896 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mdaddaccs", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
10897 |
|
|
|
10898 |
|
|
#if WITH_PROFILE_MODEL_P
|
10899 |
|
|
/* Record the fields for profiling. */
|
10900 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10901 |
|
|
{
|
10902 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10903 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_1) = ((FLD (f_ACC40Si)) + (1));
|
10904 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_2) = ((FLD (f_ACC40Si)) + (2));
|
10905 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_3) = ((FLD (f_ACC40Si)) + (3));
|
10906 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
10907 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
10908 |
|
|
}
|
10909 |
|
|
#endif
|
10910 |
|
|
#undef FLD
|
10911 |
|
|
return idesc;
|
10912 |
|
|
}
|
10913 |
|
|
|
10914 |
|
|
extract_sfmt_masaccs:
|
10915 |
|
|
{
|
10916 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10917 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10918 |
|
|
#define FLD(f) abuf->fields.sfmt_mdasaccs.f
|
10919 |
|
|
UINT f_ACC40Sk;
|
10920 |
|
|
UINT f_ACC40Si;
|
10921 |
|
|
|
10922 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10923 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10924 |
|
|
|
10925 |
|
|
/* Record the fields for the semantic handler. */
|
10926 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10927 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
10928 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_masaccs", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
10929 |
|
|
|
10930 |
|
|
#if WITH_PROFILE_MODEL_P
|
10931 |
|
|
/* Record the fields for profiling. */
|
10932 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10933 |
|
|
{
|
10934 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10935 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_1) = ((FLD (f_ACC40Si)) + (1));
|
10936 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
10937 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
10938 |
|
|
}
|
10939 |
|
|
#endif
|
10940 |
|
|
#undef FLD
|
10941 |
|
|
return idesc;
|
10942 |
|
|
}
|
10943 |
|
|
|
10944 |
|
|
extract_sfmt_mdasaccs:
|
10945 |
|
|
{
|
10946 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10947 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10948 |
|
|
#define FLD(f) abuf->fields.sfmt_mdasaccs.f
|
10949 |
|
|
UINT f_ACC40Sk;
|
10950 |
|
|
UINT f_ACC40Si;
|
10951 |
|
|
|
10952 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10953 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10954 |
|
|
|
10955 |
|
|
/* Record the fields for the semantic handler. */
|
10956 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
10957 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
10958 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mdasaccs", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
10959 |
|
|
|
10960 |
|
|
#if WITH_PROFILE_MODEL_P
|
10961 |
|
|
/* Record the fields for profiling. */
|
10962 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
10963 |
|
|
{
|
10964 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
10965 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_1) = ((FLD (f_ACC40Si)) + (1));
|
10966 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_2) = ((FLD (f_ACC40Si)) + (2));
|
10967 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Si_3) = ((FLD (f_ACC40Si)) + (3));
|
10968 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
10969 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
10970 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
10971 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
10972 |
|
|
}
|
10973 |
|
|
#endif
|
10974 |
|
|
#undef FLD
|
10975 |
|
|
return idesc;
|
10976 |
|
|
}
|
10977 |
|
|
|
10978 |
|
|
extract_sfmt_mmulhs:
|
10979 |
|
|
{
|
10980 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
10981 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
10982 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
10983 |
|
|
UINT f_ACC40Sk;
|
10984 |
|
|
UINT f_FRi;
|
10985 |
|
|
UINT f_FRj;
|
10986 |
|
|
|
10987 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
10988 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
10989 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
10990 |
|
|
|
10991 |
|
|
/* Record the fields for the semantic handler. */
|
10992 |
|
|
FLD (f_FRi) = f_FRi;
|
10993 |
|
|
FLD (f_FRj) = f_FRj;
|
10994 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
10995 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mmulhs", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
10996 |
|
|
|
10997 |
|
|
#if WITH_PROFILE_MODEL_P
|
10998 |
|
|
/* Record the fields for profiling. */
|
10999 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11000 |
|
|
{
|
11001 |
|
|
FLD (in_FRinti) = f_FRi;
|
11002 |
|
|
FLD (in_FRintj) = f_FRj;
|
11003 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11004 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11005 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11006 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11007 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11008 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11009 |
|
|
}
|
11010 |
|
|
#endif
|
11011 |
|
|
#undef FLD
|
11012 |
|
|
return idesc;
|
11013 |
|
|
}
|
11014 |
|
|
|
11015 |
|
|
extract_sfmt_cmmulhs:
|
11016 |
|
|
{
|
11017 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11018 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11019 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
11020 |
|
|
UINT f_ACC40Sk;
|
11021 |
|
|
UINT f_FRi;
|
11022 |
|
|
UINT f_CCi;
|
11023 |
|
|
UINT f_cond;
|
11024 |
|
|
UINT f_FRj;
|
11025 |
|
|
|
11026 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11027 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11028 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11029 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11030 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11031 |
|
|
|
11032 |
|
|
/* Record the fields for the semantic handler. */
|
11033 |
|
|
FLD (f_CCi) = f_CCi;
|
11034 |
|
|
FLD (f_FRi) = f_FRi;
|
11035 |
|
|
FLD (f_FRj) = f_FRj;
|
11036 |
|
|
FLD (f_cond) = f_cond;
|
11037 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11038 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmmulhs", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
11039 |
|
|
|
11040 |
|
|
#if WITH_PROFILE_MODEL_P
|
11041 |
|
|
/* Record the fields for profiling. */
|
11042 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11043 |
|
|
{
|
11044 |
|
|
FLD (in_CCi) = f_CCi;
|
11045 |
|
|
FLD (in_FRinti) = f_FRi;
|
11046 |
|
|
FLD (in_FRintj) = f_FRj;
|
11047 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11048 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11049 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11050 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11051 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11052 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11053 |
|
|
}
|
11054 |
|
|
#endif
|
11055 |
|
|
#undef FLD
|
11056 |
|
|
return idesc;
|
11057 |
|
|
}
|
11058 |
|
|
|
11059 |
|
|
extract_sfmt_mqmulhs:
|
11060 |
|
|
{
|
11061 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11062 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11063 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachs.f
|
11064 |
|
|
UINT f_ACC40Sk;
|
11065 |
|
|
UINT f_FRi;
|
11066 |
|
|
UINT f_FRj;
|
11067 |
|
|
|
11068 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11069 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11070 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11071 |
|
|
|
11072 |
|
|
/* Record the fields for the semantic handler. */
|
11073 |
|
|
FLD (f_FRi) = f_FRi;
|
11074 |
|
|
FLD (f_FRj) = f_FRj;
|
11075 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11076 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mqmulhs", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
11077 |
|
|
|
11078 |
|
|
#if WITH_PROFILE_MODEL_P
|
11079 |
|
|
/* Record the fields for profiling. */
|
11080 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11081 |
|
|
{
|
11082 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11083 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11084 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11085 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11086 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11087 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11088 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11089 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11090 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11091 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11092 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11093 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11094 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
11095 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
11096 |
|
|
}
|
11097 |
|
|
#endif
|
11098 |
|
|
#undef FLD
|
11099 |
|
|
return idesc;
|
11100 |
|
|
}
|
11101 |
|
|
|
11102 |
|
|
extract_sfmt_cmqmulhs:
|
11103 |
|
|
{
|
11104 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11105 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11106 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachs.f
|
11107 |
|
|
UINT f_ACC40Sk;
|
11108 |
|
|
UINT f_FRi;
|
11109 |
|
|
UINT f_CCi;
|
11110 |
|
|
UINT f_cond;
|
11111 |
|
|
UINT f_FRj;
|
11112 |
|
|
|
11113 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11114 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11115 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11116 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11117 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11118 |
|
|
|
11119 |
|
|
/* Record the fields for the semantic handler. */
|
11120 |
|
|
FLD (f_CCi) = f_CCi;
|
11121 |
|
|
FLD (f_FRi) = f_FRi;
|
11122 |
|
|
FLD (f_FRj) = f_FRj;
|
11123 |
|
|
FLD (f_cond) = f_cond;
|
11124 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11125 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmqmulhs", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
11126 |
|
|
|
11127 |
|
|
#if WITH_PROFILE_MODEL_P
|
11128 |
|
|
/* Record the fields for profiling. */
|
11129 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11130 |
|
|
{
|
11131 |
|
|
FLD (in_CCi) = f_CCi;
|
11132 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11133 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11134 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11135 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11136 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11137 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11138 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11139 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11140 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11141 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11142 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11143 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11144 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
11145 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
11146 |
|
|
}
|
11147 |
|
|
#endif
|
11148 |
|
|
#undef FLD
|
11149 |
|
|
return idesc;
|
11150 |
|
|
}
|
11151 |
|
|
|
11152 |
|
|
extract_sfmt_mmachs:
|
11153 |
|
|
{
|
11154 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11155 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11156 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
11157 |
|
|
UINT f_ACC40Sk;
|
11158 |
|
|
UINT f_FRi;
|
11159 |
|
|
UINT f_FRj;
|
11160 |
|
|
|
11161 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11162 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11163 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11164 |
|
|
|
11165 |
|
|
/* Record the fields for the semantic handler. */
|
11166 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11167 |
|
|
FLD (f_FRi) = f_FRi;
|
11168 |
|
|
FLD (f_FRj) = f_FRj;
|
11169 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mmachs", "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, (char *) 0));
|
11170 |
|
|
|
11171 |
|
|
#if WITH_PROFILE_MODEL_P
|
11172 |
|
|
/* Record the fields for profiling. */
|
11173 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11174 |
|
|
{
|
11175 |
|
|
FLD (in_ACC40Sk) = f_ACC40Sk;
|
11176 |
|
|
FLD (in_FRinti) = f_FRi;
|
11177 |
|
|
FLD (in_FRintj) = f_FRj;
|
11178 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11179 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11180 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11181 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11182 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11183 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11184 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11185 |
|
|
}
|
11186 |
|
|
#endif
|
11187 |
|
|
#undef FLD
|
11188 |
|
|
return idesc;
|
11189 |
|
|
}
|
11190 |
|
|
|
11191 |
|
|
extract_sfmt_mmachu:
|
11192 |
|
|
{
|
11193 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11194 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11195 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachu.f
|
11196 |
|
|
UINT f_ACC40Uk;
|
11197 |
|
|
UINT f_FRi;
|
11198 |
|
|
UINT f_FRj;
|
11199 |
|
|
|
11200 |
|
|
f_ACC40Uk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11201 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11202 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11203 |
|
|
|
11204 |
|
|
/* Record the fields for the semantic handler. */
|
11205 |
|
|
FLD (f_ACC40Uk) = f_ACC40Uk;
|
11206 |
|
|
FLD (f_FRi) = f_FRi;
|
11207 |
|
|
FLD (f_FRj) = f_FRj;
|
11208 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mmachu", "f_ACC40Uk 0x%x", 'x', f_ACC40Uk, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, (char *) 0));
|
11209 |
|
|
|
11210 |
|
|
#if WITH_PROFILE_MODEL_P
|
11211 |
|
|
/* Record the fields for profiling. */
|
11212 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11213 |
|
|
{
|
11214 |
|
|
FLD (in_ACC40Uk) = f_ACC40Uk;
|
11215 |
|
|
FLD (in_FRinti) = f_FRi;
|
11216 |
|
|
FLD (in_FRintj) = f_FRj;
|
11217 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11218 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11219 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11220 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11221 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11222 |
|
|
FLD (out_ACC40Uk) = f_ACC40Uk;
|
11223 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11224 |
|
|
}
|
11225 |
|
|
#endif
|
11226 |
|
|
#undef FLD
|
11227 |
|
|
return idesc;
|
11228 |
|
|
}
|
11229 |
|
|
|
11230 |
|
|
extract_sfmt_cmmachs:
|
11231 |
|
|
{
|
11232 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11233 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11234 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
11235 |
|
|
UINT f_ACC40Sk;
|
11236 |
|
|
UINT f_FRi;
|
11237 |
|
|
UINT f_CCi;
|
11238 |
|
|
UINT f_cond;
|
11239 |
|
|
UINT f_FRj;
|
11240 |
|
|
|
11241 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11242 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11243 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11244 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11245 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11246 |
|
|
|
11247 |
|
|
/* Record the fields for the semantic handler. */
|
11248 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11249 |
|
|
FLD (f_CCi) = f_CCi;
|
11250 |
|
|
FLD (f_FRi) = f_FRi;
|
11251 |
|
|
FLD (f_FRj) = f_FRj;
|
11252 |
|
|
FLD (f_cond) = f_cond;
|
11253 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmmachs", "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
11254 |
|
|
|
11255 |
|
|
#if WITH_PROFILE_MODEL_P
|
11256 |
|
|
/* Record the fields for profiling. */
|
11257 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11258 |
|
|
{
|
11259 |
|
|
FLD (in_ACC40Sk) = f_ACC40Sk;
|
11260 |
|
|
FLD (in_CCi) = f_CCi;
|
11261 |
|
|
FLD (in_FRinti) = f_FRi;
|
11262 |
|
|
FLD (in_FRintj) = f_FRj;
|
11263 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11264 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11265 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11266 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11267 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11268 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11269 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11270 |
|
|
}
|
11271 |
|
|
#endif
|
11272 |
|
|
#undef FLD
|
11273 |
|
|
return idesc;
|
11274 |
|
|
}
|
11275 |
|
|
|
11276 |
|
|
extract_sfmt_cmmachu:
|
11277 |
|
|
{
|
11278 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11279 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11280 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachu.f
|
11281 |
|
|
UINT f_ACC40Uk;
|
11282 |
|
|
UINT f_FRi;
|
11283 |
|
|
UINT f_CCi;
|
11284 |
|
|
UINT f_cond;
|
11285 |
|
|
UINT f_FRj;
|
11286 |
|
|
|
11287 |
|
|
f_ACC40Uk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11288 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11289 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11290 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11291 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11292 |
|
|
|
11293 |
|
|
/* Record the fields for the semantic handler. */
|
11294 |
|
|
FLD (f_ACC40Uk) = f_ACC40Uk;
|
11295 |
|
|
FLD (f_CCi) = f_CCi;
|
11296 |
|
|
FLD (f_FRi) = f_FRi;
|
11297 |
|
|
FLD (f_FRj) = f_FRj;
|
11298 |
|
|
FLD (f_cond) = f_cond;
|
11299 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmmachu", "f_ACC40Uk 0x%x", 'x', f_ACC40Uk, "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
11300 |
|
|
|
11301 |
|
|
#if WITH_PROFILE_MODEL_P
|
11302 |
|
|
/* Record the fields for profiling. */
|
11303 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11304 |
|
|
{
|
11305 |
|
|
FLD (in_ACC40Uk) = f_ACC40Uk;
|
11306 |
|
|
FLD (in_CCi) = f_CCi;
|
11307 |
|
|
FLD (in_FRinti) = f_FRi;
|
11308 |
|
|
FLD (in_FRintj) = f_FRj;
|
11309 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11310 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11311 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11312 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11313 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11314 |
|
|
FLD (out_ACC40Uk) = f_ACC40Uk;
|
11315 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11316 |
|
|
}
|
11317 |
|
|
#endif
|
11318 |
|
|
#undef FLD
|
11319 |
|
|
return idesc;
|
11320 |
|
|
}
|
11321 |
|
|
|
11322 |
|
|
extract_sfmt_mqmachs:
|
11323 |
|
|
{
|
11324 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11325 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11326 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachs.f
|
11327 |
|
|
UINT f_ACC40Sk;
|
11328 |
|
|
UINT f_FRi;
|
11329 |
|
|
UINT f_FRj;
|
11330 |
|
|
|
11331 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11332 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11333 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11334 |
|
|
|
11335 |
|
|
/* Record the fields for the semantic handler. */
|
11336 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11337 |
|
|
FLD (f_FRi) = f_FRi;
|
11338 |
|
|
FLD (f_FRj) = f_FRj;
|
11339 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mqmachs", "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, (char *) 0));
|
11340 |
|
|
|
11341 |
|
|
#if WITH_PROFILE_MODEL_P
|
11342 |
|
|
/* Record the fields for profiling. */
|
11343 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11344 |
|
|
{
|
11345 |
|
|
FLD (in_ACC40Sk) = f_ACC40Sk;
|
11346 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11347 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11348 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11349 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
11350 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
11351 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11352 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11353 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11354 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11355 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11356 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11357 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11358 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11359 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11360 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11361 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
11362 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
11363 |
|
|
}
|
11364 |
|
|
#endif
|
11365 |
|
|
#undef FLD
|
11366 |
|
|
return idesc;
|
11367 |
|
|
}
|
11368 |
|
|
|
11369 |
|
|
extract_sfmt_mqmachu:
|
11370 |
|
|
{
|
11371 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11372 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11373 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachu.f
|
11374 |
|
|
UINT f_ACC40Uk;
|
11375 |
|
|
UINT f_FRi;
|
11376 |
|
|
UINT f_FRj;
|
11377 |
|
|
|
11378 |
|
|
f_ACC40Uk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11379 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11380 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11381 |
|
|
|
11382 |
|
|
/* Record the fields for the semantic handler. */
|
11383 |
|
|
FLD (f_ACC40Uk) = f_ACC40Uk;
|
11384 |
|
|
FLD (f_FRi) = f_FRi;
|
11385 |
|
|
FLD (f_FRj) = f_FRj;
|
11386 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mqmachu", "f_ACC40Uk 0x%x", 'x', f_ACC40Uk, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, (char *) 0));
|
11387 |
|
|
|
11388 |
|
|
#if WITH_PROFILE_MODEL_P
|
11389 |
|
|
/* Record the fields for profiling. */
|
11390 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11391 |
|
|
{
|
11392 |
|
|
FLD (in_ACC40Uk) = f_ACC40Uk;
|
11393 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11394 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11395 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11396 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_2) = ((FLD (f_ACC40Uk)) + (2));
|
11397 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_3) = ((FLD (f_ACC40Uk)) + (3));
|
11398 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11399 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11400 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11401 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11402 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11403 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11404 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11405 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11406 |
|
|
FLD (out_ACC40Uk) = f_ACC40Uk;
|
11407 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11408 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_2) = ((FLD (f_ACC40Uk)) + (2));
|
11409 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_3) = ((FLD (f_ACC40Uk)) + (3));
|
11410 |
|
|
}
|
11411 |
|
|
#endif
|
11412 |
|
|
#undef FLD
|
11413 |
|
|
return idesc;
|
11414 |
|
|
}
|
11415 |
|
|
|
11416 |
|
|
extract_sfmt_cmqmachs:
|
11417 |
|
|
{
|
11418 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11419 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11420 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachs.f
|
11421 |
|
|
UINT f_ACC40Sk;
|
11422 |
|
|
UINT f_FRi;
|
11423 |
|
|
UINT f_CCi;
|
11424 |
|
|
UINT f_cond;
|
11425 |
|
|
UINT f_FRj;
|
11426 |
|
|
|
11427 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11428 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11429 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11430 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11431 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11432 |
|
|
|
11433 |
|
|
/* Record the fields for the semantic handler. */
|
11434 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11435 |
|
|
FLD (f_CCi) = f_CCi;
|
11436 |
|
|
FLD (f_FRi) = f_FRi;
|
11437 |
|
|
FLD (f_FRj) = f_FRj;
|
11438 |
|
|
FLD (f_cond) = f_cond;
|
11439 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmqmachs", "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
11440 |
|
|
|
11441 |
|
|
#if WITH_PROFILE_MODEL_P
|
11442 |
|
|
/* Record the fields for profiling. */
|
11443 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11444 |
|
|
{
|
11445 |
|
|
FLD (in_ACC40Sk) = f_ACC40Sk;
|
11446 |
|
|
FLD (in_CCi) = f_CCi;
|
11447 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11448 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11449 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11450 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
11451 |
|
|
FLD (in_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
11452 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11453 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11454 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11455 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11456 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11457 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11458 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11459 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11460 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11461 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11462 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_2) = ((FLD (f_ACC40Sk)) + (2));
|
11463 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_3) = ((FLD (f_ACC40Sk)) + (3));
|
11464 |
|
|
}
|
11465 |
|
|
#endif
|
11466 |
|
|
#undef FLD
|
11467 |
|
|
return idesc;
|
11468 |
|
|
}
|
11469 |
|
|
|
11470 |
|
|
extract_sfmt_cmqmachu:
|
11471 |
|
|
{
|
11472 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11473 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11474 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachu.f
|
11475 |
|
|
UINT f_ACC40Uk;
|
11476 |
|
|
UINT f_FRi;
|
11477 |
|
|
UINT f_CCi;
|
11478 |
|
|
UINT f_cond;
|
11479 |
|
|
UINT f_FRj;
|
11480 |
|
|
|
11481 |
|
|
f_ACC40Uk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11482 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11483 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11484 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11485 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11486 |
|
|
|
11487 |
|
|
/* Record the fields for the semantic handler. */
|
11488 |
|
|
FLD (f_ACC40Uk) = f_ACC40Uk;
|
11489 |
|
|
FLD (f_CCi) = f_CCi;
|
11490 |
|
|
FLD (f_FRi) = f_FRi;
|
11491 |
|
|
FLD (f_FRj) = f_FRj;
|
11492 |
|
|
FLD (f_cond) = f_cond;
|
11493 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmqmachu", "f_ACC40Uk 0x%x", 'x', f_ACC40Uk, "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
11494 |
|
|
|
11495 |
|
|
#if WITH_PROFILE_MODEL_P
|
11496 |
|
|
/* Record the fields for profiling. */
|
11497 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11498 |
|
|
{
|
11499 |
|
|
FLD (in_ACC40Uk) = f_ACC40Uk;
|
11500 |
|
|
FLD (in_CCi) = f_CCi;
|
11501 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11502 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11503 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11504 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_2) = ((FLD (f_ACC40Uk)) + (2));
|
11505 |
|
|
FLD (in_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_3) = ((FLD (f_ACC40Uk)) + (3));
|
11506 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11507 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11508 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11509 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11510 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11511 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11512 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11513 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11514 |
|
|
FLD (out_ACC40Uk) = f_ACC40Uk;
|
11515 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_1) = ((FLD (f_ACC40Uk)) + (1));
|
11516 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_2) = ((FLD (f_ACC40Uk)) + (2));
|
11517 |
|
|
FLD (out_h_acc40U_UDI_add__INT_index_of__INT_ACC40Uk_3) = ((FLD (f_ACC40Uk)) + (3));
|
11518 |
|
|
}
|
11519 |
|
|
#endif
|
11520 |
|
|
#undef FLD
|
11521 |
|
|
return idesc;
|
11522 |
|
|
}
|
11523 |
|
|
|
11524 |
|
|
extract_sfmt_mcpxrs:
|
11525 |
|
|
{
|
11526 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11527 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11528 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
11529 |
|
|
UINT f_ACC40Sk;
|
11530 |
|
|
UINT f_FRi;
|
11531 |
|
|
UINT f_FRj;
|
11532 |
|
|
|
11533 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11534 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11535 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11536 |
|
|
|
11537 |
|
|
/* Record the fields for the semantic handler. */
|
11538 |
|
|
FLD (f_FRi) = f_FRi;
|
11539 |
|
|
FLD (f_FRj) = f_FRj;
|
11540 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11541 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mcpxrs", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
11542 |
|
|
|
11543 |
|
|
#if WITH_PROFILE_MODEL_P
|
11544 |
|
|
/* Record the fields for profiling. */
|
11545 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11546 |
|
|
{
|
11547 |
|
|
FLD (in_FRinti) = f_FRi;
|
11548 |
|
|
FLD (in_FRintj) = f_FRj;
|
11549 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11550 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11551 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11552 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11553 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11554 |
|
|
}
|
11555 |
|
|
#endif
|
11556 |
|
|
#undef FLD
|
11557 |
|
|
return idesc;
|
11558 |
|
|
}
|
11559 |
|
|
|
11560 |
|
|
extract_sfmt_cmcpxrs:
|
11561 |
|
|
{
|
11562 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11563 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11564 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
11565 |
|
|
UINT f_ACC40Sk;
|
11566 |
|
|
UINT f_FRi;
|
11567 |
|
|
UINT f_CCi;
|
11568 |
|
|
UINT f_cond;
|
11569 |
|
|
UINT f_FRj;
|
11570 |
|
|
|
11571 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11572 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11573 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11574 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11575 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11576 |
|
|
|
11577 |
|
|
/* Record the fields for the semantic handler. */
|
11578 |
|
|
FLD (f_CCi) = f_CCi;
|
11579 |
|
|
FLD (f_FRi) = f_FRi;
|
11580 |
|
|
FLD (f_FRj) = f_FRj;
|
11581 |
|
|
FLD (f_cond) = f_cond;
|
11582 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11583 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmcpxrs", "f_CCi 0x%x", 'x', f_CCi, "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_cond 0x%x", 'x', f_cond, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
11584 |
|
|
|
11585 |
|
|
#if WITH_PROFILE_MODEL_P
|
11586 |
|
|
/* Record the fields for profiling. */
|
11587 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11588 |
|
|
{
|
11589 |
|
|
FLD (in_CCi) = f_CCi;
|
11590 |
|
|
FLD (in_FRinti) = f_FRi;
|
11591 |
|
|
FLD (in_FRintj) = f_FRj;
|
11592 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11593 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11594 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11595 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11596 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11597 |
|
|
}
|
11598 |
|
|
#endif
|
11599 |
|
|
#undef FLD
|
11600 |
|
|
return idesc;
|
11601 |
|
|
}
|
11602 |
|
|
|
11603 |
|
|
extract_sfmt_mqcpxrs:
|
11604 |
|
|
{
|
11605 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11606 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11607 |
|
|
#define FLD(f) abuf->fields.sfmt_cmqmachs.f
|
11608 |
|
|
UINT f_ACC40Sk;
|
11609 |
|
|
UINT f_FRi;
|
11610 |
|
|
UINT f_FRj;
|
11611 |
|
|
|
11612 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11613 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11614 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11615 |
|
|
|
11616 |
|
|
/* Record the fields for the semantic handler. */
|
11617 |
|
|
FLD (f_FRi) = f_FRi;
|
11618 |
|
|
FLD (f_FRj) = f_FRj;
|
11619 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
11620 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mqcpxrs", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
11621 |
|
|
|
11622 |
|
|
#if WITH_PROFILE_MODEL_P
|
11623 |
|
|
/* Record the fields for profiling. */
|
11624 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11625 |
|
|
{
|
11626 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11627 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11628 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11629 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11630 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11631 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11632 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11633 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11634 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11635 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11636 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
11637 |
|
|
FLD (out_h_acc40S_DI_add__INT_index_of__INT_ACC40Sk_1) = ((FLD (f_ACC40Sk)) + (1));
|
11638 |
|
|
}
|
11639 |
|
|
#endif
|
11640 |
|
|
#undef FLD
|
11641 |
|
|
return idesc;
|
11642 |
|
|
}
|
11643 |
|
|
|
11644 |
|
|
extract_sfmt_mexpdhw:
|
11645 |
|
|
{
|
11646 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11647 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11648 |
|
|
#define FLD(f) abuf->fields.sfmt_cmexpdhw.f
|
11649 |
|
|
UINT f_FRk;
|
11650 |
|
|
UINT f_FRi;
|
11651 |
|
|
UINT f_u6;
|
11652 |
|
|
|
11653 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11654 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11655 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11656 |
|
|
|
11657 |
|
|
/* Record the fields for the semantic handler. */
|
11658 |
|
|
FLD (f_FRi) = f_FRi;
|
11659 |
|
|
FLD (f_FRk) = f_FRk;
|
11660 |
|
|
FLD (f_u6) = f_u6;
|
11661 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mexpdhw", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
11662 |
|
|
|
11663 |
|
|
#if WITH_PROFILE_MODEL_P
|
11664 |
|
|
/* Record the fields for profiling. */
|
11665 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11666 |
|
|
{
|
11667 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11668 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11669 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11670 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11671 |
|
|
}
|
11672 |
|
|
#endif
|
11673 |
|
|
#undef FLD
|
11674 |
|
|
return idesc;
|
11675 |
|
|
}
|
11676 |
|
|
|
11677 |
|
|
extract_sfmt_cmexpdhw:
|
11678 |
|
|
{
|
11679 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11680 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11681 |
|
|
#define FLD(f) abuf->fields.sfmt_cmexpdhw.f
|
11682 |
|
|
UINT f_FRk;
|
11683 |
|
|
UINT f_FRi;
|
11684 |
|
|
UINT f_CCi;
|
11685 |
|
|
UINT f_cond;
|
11686 |
|
|
UINT f_u6;
|
11687 |
|
|
|
11688 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11689 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11690 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11691 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11692 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11693 |
|
|
|
11694 |
|
|
/* Record the fields for the semantic handler. */
|
11695 |
|
|
FLD (f_CCi) = f_CCi;
|
11696 |
|
|
FLD (f_cond) = f_cond;
|
11697 |
|
|
FLD (f_FRi) = f_FRi;
|
11698 |
|
|
FLD (f_FRk) = f_FRk;
|
11699 |
|
|
FLD (f_u6) = f_u6;
|
11700 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmexpdhw", "f_CCi 0x%x", 'x', f_CCi, "f_cond 0x%x", 'x', f_cond, "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
11701 |
|
|
|
11702 |
|
|
#if WITH_PROFILE_MODEL_P
|
11703 |
|
|
/* Record the fields for profiling. */
|
11704 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11705 |
|
|
{
|
11706 |
|
|
FLD (in_CCi) = f_CCi;
|
11707 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11708 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11709 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11710 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11711 |
|
|
}
|
11712 |
|
|
#endif
|
11713 |
|
|
#undef FLD
|
11714 |
|
|
return idesc;
|
11715 |
|
|
}
|
11716 |
|
|
|
11717 |
|
|
extract_sfmt_mexpdhd:
|
11718 |
|
|
{
|
11719 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11720 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11721 |
|
|
#define FLD(f) abuf->fields.sfmt_cmexpdhd.f
|
11722 |
|
|
UINT f_FRk;
|
11723 |
|
|
UINT f_FRi;
|
11724 |
|
|
UINT f_u6;
|
11725 |
|
|
|
11726 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11727 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11728 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11729 |
|
|
|
11730 |
|
|
/* Record the fields for the semantic handler. */
|
11731 |
|
|
FLD (f_FRk) = f_FRk;
|
11732 |
|
|
FLD (f_FRi) = f_FRi;
|
11733 |
|
|
FLD (f_u6) = f_u6;
|
11734 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mexpdhd", "f_FRk 0x%x", 'x', f_FRk, "f_FRi 0x%x", 'x', f_FRi, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
11735 |
|
|
|
11736 |
|
|
#if WITH_PROFILE_MODEL_P
|
11737 |
|
|
/* Record the fields for profiling. */
|
11738 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11739 |
|
|
{
|
11740 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
11741 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11742 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11743 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
11744 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11745 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11746 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11747 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11748 |
|
|
}
|
11749 |
|
|
#endif
|
11750 |
|
|
#undef FLD
|
11751 |
|
|
return idesc;
|
11752 |
|
|
}
|
11753 |
|
|
|
11754 |
|
|
extract_sfmt_cmexpdhd:
|
11755 |
|
|
{
|
11756 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11757 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11758 |
|
|
#define FLD(f) abuf->fields.sfmt_cmexpdhd.f
|
11759 |
|
|
UINT f_FRk;
|
11760 |
|
|
UINT f_FRi;
|
11761 |
|
|
UINT f_CCi;
|
11762 |
|
|
UINT f_cond;
|
11763 |
|
|
UINT f_u6;
|
11764 |
|
|
|
11765 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11766 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11767 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
11768 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
11769 |
|
|
f_u6 = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11770 |
|
|
|
11771 |
|
|
/* Record the fields for the semantic handler. */
|
11772 |
|
|
FLD (f_CCi) = f_CCi;
|
11773 |
|
|
FLD (f_FRk) = f_FRk;
|
11774 |
|
|
FLD (f_cond) = f_cond;
|
11775 |
|
|
FLD (f_FRi) = f_FRi;
|
11776 |
|
|
FLD (f_u6) = f_u6;
|
11777 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmexpdhd", "f_CCi 0x%x", 'x', f_CCi, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, "f_FRi 0x%x", 'x', f_FRi, "f_u6 0x%x", 'x', f_u6, (char *) 0));
|
11778 |
|
|
|
11779 |
|
|
#if WITH_PROFILE_MODEL_P
|
11780 |
|
|
/* Record the fields for profiling. */
|
11781 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11782 |
|
|
{
|
11783 |
|
|
FLD (in_CCi) = f_CCi;
|
11784 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
11785 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11786 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11787 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
11788 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11789 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11790 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11791 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11792 |
|
|
}
|
11793 |
|
|
#endif
|
11794 |
|
|
#undef FLD
|
11795 |
|
|
return idesc;
|
11796 |
|
|
}
|
11797 |
|
|
|
11798 |
|
|
extract_sfmt_mpackh:
|
11799 |
|
|
{
|
11800 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11801 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11802 |
|
|
#define FLD(f) abuf->fields.sfmt_cmaddhss.f
|
11803 |
|
|
UINT f_FRk;
|
11804 |
|
|
UINT f_FRi;
|
11805 |
|
|
UINT f_FRj;
|
11806 |
|
|
|
11807 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11808 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11809 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11810 |
|
|
|
11811 |
|
|
/* Record the fields for the semantic handler. */
|
11812 |
|
|
FLD (f_FRi) = f_FRi;
|
11813 |
|
|
FLD (f_FRj) = f_FRj;
|
11814 |
|
|
FLD (f_FRk) = f_FRk;
|
11815 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mpackh", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
11816 |
|
|
|
11817 |
|
|
#if WITH_PROFILE_MODEL_P
|
11818 |
|
|
/* Record the fields for profiling. */
|
11819 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11820 |
|
|
{
|
11821 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11822 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11823 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11824 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11825 |
|
|
}
|
11826 |
|
|
#endif
|
11827 |
|
|
#undef FLD
|
11828 |
|
|
return idesc;
|
11829 |
|
|
}
|
11830 |
|
|
|
11831 |
|
|
extract_sfmt_mdpackh:
|
11832 |
|
|
{
|
11833 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11834 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11835 |
|
|
#define FLD(f) abuf->fields.sfmt_mdpackh.f
|
11836 |
|
|
UINT f_FRk;
|
11837 |
|
|
UINT f_FRi;
|
11838 |
|
|
UINT f_FRj;
|
11839 |
|
|
|
11840 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11841 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11842 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11843 |
|
|
|
11844 |
|
|
/* Record the fields for the semantic handler. */
|
11845 |
|
|
FLD (f_FRi) = f_FRi;
|
11846 |
|
|
FLD (f_FRj) = f_FRj;
|
11847 |
|
|
FLD (f_FRk) = f_FRk;
|
11848 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mdpackh", "f_FRi 0x%x", 'x', f_FRi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
11849 |
|
|
|
11850 |
|
|
#if WITH_PROFILE_MODEL_P
|
11851 |
|
|
/* Record the fields for profiling. */
|
11852 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11853 |
|
|
{
|
11854 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11855 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
11856 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
11857 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11858 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11859 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
11860 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
11861 |
|
|
FLD (out_FRintieven) = f_FRi;
|
11862 |
|
|
FLD (out_FRintjeven) = f_FRj;
|
11863 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
11864 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11865 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11866 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11867 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11868 |
|
|
}
|
11869 |
|
|
#endif
|
11870 |
|
|
#undef FLD
|
11871 |
|
|
return idesc;
|
11872 |
|
|
}
|
11873 |
|
|
|
11874 |
|
|
extract_sfmt_munpackh:
|
11875 |
|
|
{
|
11876 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11877 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11878 |
|
|
#define FLD(f) abuf->fields.sfmt_munpackh.f
|
11879 |
|
|
UINT f_FRk;
|
11880 |
|
|
UINT f_FRi;
|
11881 |
|
|
|
11882 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11883 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11884 |
|
|
|
11885 |
|
|
/* Record the fields for the semantic handler. */
|
11886 |
|
|
FLD (f_FRi) = f_FRi;
|
11887 |
|
|
FLD (f_FRk) = f_FRk;
|
11888 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_munpackh", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
11889 |
|
|
|
11890 |
|
|
#if WITH_PROFILE_MODEL_P
|
11891 |
|
|
/* Record the fields for profiling. */
|
11892 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11893 |
|
|
{
|
11894 |
|
|
FLD (in_FRinti) = f_FRi;
|
11895 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
11896 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11897 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRinti_0) = ((FLD (f_FRi)) + (0));
|
11898 |
|
|
FLD (out_FRinti) = f_FRi;
|
11899 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
11900 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11901 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_add__INT_0_1) = ((FLD (f_FRk)) + (((0) + (1))));
|
11902 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11903 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_add__INT_0_1) = ((FLD (f_FRk)) + (((0) + (1))));
|
11904 |
|
|
}
|
11905 |
|
|
#endif
|
11906 |
|
|
#undef FLD
|
11907 |
|
|
return idesc;
|
11908 |
|
|
}
|
11909 |
|
|
|
11910 |
|
|
extract_sfmt_mdunpackh:
|
11911 |
|
|
{
|
11912 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11913 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11914 |
|
|
#define FLD(f) abuf->fields.sfmt_mdunpackh.f
|
11915 |
|
|
UINT f_FRk;
|
11916 |
|
|
UINT f_FRi;
|
11917 |
|
|
|
11918 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11919 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
11920 |
|
|
|
11921 |
|
|
/* Record the fields for the semantic handler. */
|
11922 |
|
|
FLD (f_FRi) = f_FRi;
|
11923 |
|
|
FLD (f_FRk) = f_FRk;
|
11924 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mdunpackh", "f_FRi 0x%x", 'x', f_FRi, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
11925 |
|
|
|
11926 |
|
|
#if WITH_PROFILE_MODEL_P
|
11927 |
|
|
/* Record the fields for profiling. */
|
11928 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11929 |
|
|
{
|
11930 |
|
|
FLD (in_FRintieven) = f_FRi;
|
11931 |
|
|
FLD (in_FRintk) = f_FRk;
|
11932 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11933 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11934 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_0) = ((FLD (f_FRi)) + (0));
|
11935 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintieven_1) = ((FLD (f_FRi)) + (1));
|
11936 |
|
|
FLD (out_FRintieven) = f_FRi;
|
11937 |
|
|
FLD (out_FRintk) = f_FRk;
|
11938 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11939 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
11940 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_add__INT_0_1) = ((FLD (f_FRk)) + (((0) + (1))));
|
11941 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_add__INT_2_1) = ((FLD (f_FRk)) + (((2) + (1))));
|
11942 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
11943 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
11944 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_add__INT_0_1) = ((FLD (f_FRk)) + (((0) + (1))));
|
11945 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_add__INT_2_1) = ((FLD (f_FRk)) + (((2) + (1))));
|
11946 |
|
|
}
|
11947 |
|
|
#endif
|
11948 |
|
|
#undef FLD
|
11949 |
|
|
return idesc;
|
11950 |
|
|
}
|
11951 |
|
|
|
11952 |
|
|
extract_sfmt_mbtoh:
|
11953 |
|
|
{
|
11954 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11955 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11956 |
|
|
#define FLD(f) abuf->fields.sfmt_cmbtoh.f
|
11957 |
|
|
UINT f_FRk;
|
11958 |
|
|
UINT f_FRj;
|
11959 |
|
|
|
11960 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
11961 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
11962 |
|
|
|
11963 |
|
|
/* Record the fields for the semantic handler. */
|
11964 |
|
|
FLD (f_FRj) = f_FRj;
|
11965 |
|
|
FLD (f_FRk) = f_FRk;
|
11966 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mbtoh", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
11967 |
|
|
|
11968 |
|
|
#if WITH_PROFILE_MODEL_P
|
11969 |
|
|
/* Record the fields for profiling. */
|
11970 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
11971 |
|
|
{
|
11972 |
|
|
FLD (in_FRintj) = f_FRj;
|
11973 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
11974 |
|
|
FLD (in_h_fr_0_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11975 |
|
|
FLD (in_h_fr_1_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11976 |
|
|
FLD (in_h_fr_2_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11977 |
|
|
FLD (in_h_fr_3_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
11978 |
|
|
FLD (out_FRintj) = f_FRj;
|
11979 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
11980 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11981 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11982 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
11983 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
11984 |
|
|
}
|
11985 |
|
|
#endif
|
11986 |
|
|
#undef FLD
|
11987 |
|
|
return idesc;
|
11988 |
|
|
}
|
11989 |
|
|
|
11990 |
|
|
extract_sfmt_cmbtoh:
|
11991 |
|
|
{
|
11992 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
11993 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
11994 |
|
|
#define FLD(f) abuf->fields.sfmt_cmbtoh.f
|
11995 |
|
|
UINT f_FRk;
|
11996 |
|
|
UINT f_CCi;
|
11997 |
|
|
UINT f_cond;
|
11998 |
|
|
UINT f_FRj;
|
11999 |
|
|
|
12000 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12001 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
12002 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
12003 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
12004 |
|
|
|
12005 |
|
|
/* Record the fields for the semantic handler. */
|
12006 |
|
|
FLD (f_CCi) = f_CCi;
|
12007 |
|
|
FLD (f_FRj) = f_FRj;
|
12008 |
|
|
FLD (f_FRk) = f_FRk;
|
12009 |
|
|
FLD (f_cond) = f_cond;
|
12010 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmbtoh", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
12011 |
|
|
|
12012 |
|
|
#if WITH_PROFILE_MODEL_P
|
12013 |
|
|
/* Record the fields for profiling. */
|
12014 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12015 |
|
|
{
|
12016 |
|
|
FLD (in_CCi) = f_CCi;
|
12017 |
|
|
FLD (in_FRintj) = f_FRj;
|
12018 |
|
|
FLD (in_FRintkeven) = f_FRk;
|
12019 |
|
|
FLD (in_h_fr_0_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12020 |
|
|
FLD (in_h_fr_1_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12021 |
|
|
FLD (in_h_fr_2_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12022 |
|
|
FLD (in_h_fr_3_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12023 |
|
|
FLD (out_FRintj) = f_FRj;
|
12024 |
|
|
FLD (out_FRintkeven) = f_FRk;
|
12025 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
12026 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
12027 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_0) = ((FLD (f_FRk)) + (0));
|
12028 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintkeven_1) = ((FLD (f_FRk)) + (1));
|
12029 |
|
|
}
|
12030 |
|
|
#endif
|
12031 |
|
|
#undef FLD
|
12032 |
|
|
return idesc;
|
12033 |
|
|
}
|
12034 |
|
|
|
12035 |
|
|
extract_sfmt_mhtob:
|
12036 |
|
|
{
|
12037 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12038 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12039 |
|
|
#define FLD(f) abuf->fields.sfmt_cmhtob.f
|
12040 |
|
|
UINT f_FRk;
|
12041 |
|
|
UINT f_FRj;
|
12042 |
|
|
|
12043 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12044 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
12045 |
|
|
|
12046 |
|
|
/* Record the fields for the semantic handler. */
|
12047 |
|
|
FLD (f_FRj) = f_FRj;
|
12048 |
|
|
FLD (f_FRk) = f_FRk;
|
12049 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mhtob", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
12050 |
|
|
|
12051 |
|
|
#if WITH_PROFILE_MODEL_P
|
12052 |
|
|
/* Record the fields for profiling. */
|
12053 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12054 |
|
|
{
|
12055 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
12056 |
|
|
FLD (in_FRintk) = f_FRk;
|
12057 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
12058 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
12059 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
12060 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
12061 |
|
|
FLD (out_FRintjeven) = f_FRj;
|
12062 |
|
|
FLD (out_FRintk) = f_FRk;
|
12063 |
|
|
FLD (out_h_fr_0_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12064 |
|
|
FLD (out_h_fr_1_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12065 |
|
|
FLD (out_h_fr_2_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12066 |
|
|
FLD (out_h_fr_3_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12067 |
|
|
}
|
12068 |
|
|
#endif
|
12069 |
|
|
#undef FLD
|
12070 |
|
|
return idesc;
|
12071 |
|
|
}
|
12072 |
|
|
|
12073 |
|
|
extract_sfmt_cmhtob:
|
12074 |
|
|
{
|
12075 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12076 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12077 |
|
|
#define FLD(f) abuf->fields.sfmt_cmhtob.f
|
12078 |
|
|
UINT f_FRk;
|
12079 |
|
|
UINT f_CCi;
|
12080 |
|
|
UINT f_cond;
|
12081 |
|
|
UINT f_FRj;
|
12082 |
|
|
|
12083 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12084 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
12085 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
12086 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
12087 |
|
|
|
12088 |
|
|
/* Record the fields for the semantic handler. */
|
12089 |
|
|
FLD (f_CCi) = f_CCi;
|
12090 |
|
|
FLD (f_FRj) = f_FRj;
|
12091 |
|
|
FLD (f_FRk) = f_FRk;
|
12092 |
|
|
FLD (f_cond) = f_cond;
|
12093 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmhtob", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
12094 |
|
|
|
12095 |
|
|
#if WITH_PROFILE_MODEL_P
|
12096 |
|
|
/* Record the fields for profiling. */
|
12097 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12098 |
|
|
{
|
12099 |
|
|
FLD (in_CCi) = f_CCi;
|
12100 |
|
|
FLD (in_FRintjeven) = f_FRj;
|
12101 |
|
|
FLD (in_FRintk) = f_FRk;
|
12102 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
12103 |
|
|
FLD (in_h_fr_hi_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
12104 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_0) = ((FLD (f_FRj)) + (0));
|
12105 |
|
|
FLD (in_h_fr_lo_UHI_add__INT_index_of__INT_FRintjeven_1) = ((FLD (f_FRj)) + (1));
|
12106 |
|
|
FLD (out_FRintjeven) = f_FRj;
|
12107 |
|
|
FLD (out_FRintk) = f_FRk;
|
12108 |
|
|
FLD (out_h_fr_0_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12109 |
|
|
FLD (out_h_fr_1_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12110 |
|
|
FLD (out_h_fr_2_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12111 |
|
|
FLD (out_h_fr_3_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12112 |
|
|
}
|
12113 |
|
|
#endif
|
12114 |
|
|
#undef FLD
|
12115 |
|
|
return idesc;
|
12116 |
|
|
}
|
12117 |
|
|
|
12118 |
|
|
extract_sfmt_mbtohe:
|
12119 |
|
|
{
|
12120 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12121 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12122 |
|
|
#define FLD(f) abuf->fields.sfmt_cmbtohe.f
|
12123 |
|
|
UINT f_FRk;
|
12124 |
|
|
UINT f_FRj;
|
12125 |
|
|
|
12126 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12127 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
12128 |
|
|
|
12129 |
|
|
/* Record the fields for the semantic handler. */
|
12130 |
|
|
FLD (f_FRj) = f_FRj;
|
12131 |
|
|
FLD (f_FRk) = f_FRk;
|
12132 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mbtohe", "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
12133 |
|
|
|
12134 |
|
|
#if WITH_PROFILE_MODEL_P
|
12135 |
|
|
/* Record the fields for profiling. */
|
12136 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12137 |
|
|
{
|
12138 |
|
|
FLD (in_FRintj) = f_FRj;
|
12139 |
|
|
FLD (in_FRintk) = f_FRk;
|
12140 |
|
|
FLD (in_h_fr_0_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12141 |
|
|
FLD (in_h_fr_1_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12142 |
|
|
FLD (in_h_fr_2_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12143 |
|
|
FLD (in_h_fr_3_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12144 |
|
|
FLD (out_FRintj) = f_FRj;
|
12145 |
|
|
FLD (out_FRintk) = f_FRk;
|
12146 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12147 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
12148 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
12149 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_3) = ((FLD (f_FRk)) + (3));
|
12150 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12151 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
12152 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
12153 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_3) = ((FLD (f_FRk)) + (3));
|
12154 |
|
|
}
|
12155 |
|
|
#endif
|
12156 |
|
|
#undef FLD
|
12157 |
|
|
return idesc;
|
12158 |
|
|
}
|
12159 |
|
|
|
12160 |
|
|
extract_sfmt_cmbtohe:
|
12161 |
|
|
{
|
12162 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12163 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12164 |
|
|
#define FLD(f) abuf->fields.sfmt_cmbtohe.f
|
12165 |
|
|
UINT f_FRk;
|
12166 |
|
|
UINT f_CCi;
|
12167 |
|
|
UINT f_cond;
|
12168 |
|
|
UINT f_FRj;
|
12169 |
|
|
|
12170 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12171 |
|
|
f_CCi = EXTRACT_LSB0_UINT (insn, 32, 11, 3);
|
12172 |
|
|
f_cond = EXTRACT_LSB0_UINT (insn, 32, 8, 1);
|
12173 |
|
|
f_FRj = EXTRACT_LSB0_UINT (insn, 32, 5, 6);
|
12174 |
|
|
|
12175 |
|
|
/* Record the fields for the semantic handler. */
|
12176 |
|
|
FLD (f_CCi) = f_CCi;
|
12177 |
|
|
FLD (f_FRj) = f_FRj;
|
12178 |
|
|
FLD (f_FRk) = f_FRk;
|
12179 |
|
|
FLD (f_cond) = f_cond;
|
12180 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_cmbtohe", "f_CCi 0x%x", 'x', f_CCi, "f_FRj 0x%x", 'x', f_FRj, "f_FRk 0x%x", 'x', f_FRk, "f_cond 0x%x", 'x', f_cond, (char *) 0));
|
12181 |
|
|
|
12182 |
|
|
#if WITH_PROFILE_MODEL_P
|
12183 |
|
|
/* Record the fields for profiling. */
|
12184 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12185 |
|
|
{
|
12186 |
|
|
FLD (in_CCi) = f_CCi;
|
12187 |
|
|
FLD (in_FRintj) = f_FRj;
|
12188 |
|
|
FLD (in_FRintk) = f_FRk;
|
12189 |
|
|
FLD (in_h_fr_0_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12190 |
|
|
FLD (in_h_fr_1_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12191 |
|
|
FLD (in_h_fr_2_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12192 |
|
|
FLD (in_h_fr_3_UHI_add__INT_index_of__INT_FRintj_0) = ((FLD (f_FRj)) + (0));
|
12193 |
|
|
FLD (out_FRintj) = f_FRj;
|
12194 |
|
|
FLD (out_FRintk) = f_FRk;
|
12195 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12196 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
12197 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
12198 |
|
|
FLD (out_h_fr_hi_UHI_add__INT_index_of__INT_FRintk_3) = ((FLD (f_FRk)) + (3));
|
12199 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_0) = ((FLD (f_FRk)) + (0));
|
12200 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_1) = ((FLD (f_FRk)) + (1));
|
12201 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_2) = ((FLD (f_FRk)) + (2));
|
12202 |
|
|
FLD (out_h_fr_lo_UHI_add__INT_index_of__INT_FRintk_3) = ((FLD (f_FRk)) + (3));
|
12203 |
|
|
}
|
12204 |
|
|
#endif
|
12205 |
|
|
#undef FLD
|
12206 |
|
|
return idesc;
|
12207 |
|
|
}
|
12208 |
|
|
|
12209 |
|
|
extract_sfmt_mclracc_0:
|
12210 |
|
|
{
|
12211 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12212 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12213 |
|
|
#define FLD(f) abuf->fields.sfmt_mdasaccs.f
|
12214 |
|
|
UINT f_ACC40Sk;
|
12215 |
|
|
|
12216 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12217 |
|
|
|
12218 |
|
|
/* Record the fields for the semantic handler. */
|
12219 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
12220 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mclracc_0", "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, (char *) 0));
|
12221 |
|
|
|
12222 |
|
|
#undef FLD
|
12223 |
|
|
return idesc;
|
12224 |
|
|
}
|
12225 |
|
|
|
12226 |
|
|
extract_sfmt_mrdacc:
|
12227 |
|
|
{
|
12228 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12229 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12230 |
|
|
#define FLD(f) abuf->fields.sfmt_mcuti.f
|
12231 |
|
|
UINT f_FRk;
|
12232 |
|
|
UINT f_ACC40Si;
|
12233 |
|
|
|
12234 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12235 |
|
|
f_ACC40Si = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
12236 |
|
|
|
12237 |
|
|
/* Record the fields for the semantic handler. */
|
12238 |
|
|
FLD (f_ACC40Si) = f_ACC40Si;
|
12239 |
|
|
FLD (f_FRk) = f_FRk;
|
12240 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mrdacc", "f_ACC40Si 0x%x", 'x', f_ACC40Si, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
12241 |
|
|
|
12242 |
|
|
#if WITH_PROFILE_MODEL_P
|
12243 |
|
|
/* Record the fields for profiling. */
|
12244 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12245 |
|
|
{
|
12246 |
|
|
FLD (in_ACC40Si) = f_ACC40Si;
|
12247 |
|
|
FLD (out_FRintk) = f_FRk;
|
12248 |
|
|
}
|
12249 |
|
|
#endif
|
12250 |
|
|
#undef FLD
|
12251 |
|
|
return idesc;
|
12252 |
|
|
}
|
12253 |
|
|
|
12254 |
|
|
extract_sfmt_mrdaccg:
|
12255 |
|
|
{
|
12256 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12257 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12258 |
|
|
#define FLD(f) abuf->fields.sfmt_mrdaccg.f
|
12259 |
|
|
UINT f_FRk;
|
12260 |
|
|
UINT f_ACCGi;
|
12261 |
|
|
|
12262 |
|
|
f_FRk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12263 |
|
|
f_ACCGi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
12264 |
|
|
|
12265 |
|
|
/* Record the fields for the semantic handler. */
|
12266 |
|
|
FLD (f_ACCGi) = f_ACCGi;
|
12267 |
|
|
FLD (f_FRk) = f_FRk;
|
12268 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mrdaccg", "f_ACCGi 0x%x", 'x', f_ACCGi, "f_FRk 0x%x", 'x', f_FRk, (char *) 0));
|
12269 |
|
|
|
12270 |
|
|
#if WITH_PROFILE_MODEL_P
|
12271 |
|
|
/* Record the fields for profiling. */
|
12272 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12273 |
|
|
{
|
12274 |
|
|
FLD (in_ACCGi) = f_ACCGi;
|
12275 |
|
|
FLD (out_FRintk) = f_FRk;
|
12276 |
|
|
}
|
12277 |
|
|
#endif
|
12278 |
|
|
#undef FLD
|
12279 |
|
|
return idesc;
|
12280 |
|
|
}
|
12281 |
|
|
|
12282 |
|
|
extract_sfmt_mwtacc:
|
12283 |
|
|
{
|
12284 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12285 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12286 |
|
|
#define FLD(f) abuf->fields.sfmt_cmmachs.f
|
12287 |
|
|
UINT f_ACC40Sk;
|
12288 |
|
|
UINT f_FRi;
|
12289 |
|
|
|
12290 |
|
|
f_ACC40Sk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12291 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
12292 |
|
|
|
12293 |
|
|
/* Record the fields for the semantic handler. */
|
12294 |
|
|
FLD (f_ACC40Sk) = f_ACC40Sk;
|
12295 |
|
|
FLD (f_FRi) = f_FRi;
|
12296 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mwtacc", "f_ACC40Sk 0x%x", 'x', f_ACC40Sk, "f_FRi 0x%x", 'x', f_FRi, (char *) 0));
|
12297 |
|
|
|
12298 |
|
|
#if WITH_PROFILE_MODEL_P
|
12299 |
|
|
/* Record the fields for profiling. */
|
12300 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12301 |
|
|
{
|
12302 |
|
|
FLD (in_ACC40Sk) = f_ACC40Sk;
|
12303 |
|
|
FLD (in_FRinti) = f_FRi;
|
12304 |
|
|
FLD (out_ACC40Sk) = f_ACC40Sk;
|
12305 |
|
|
}
|
12306 |
|
|
#endif
|
12307 |
|
|
#undef FLD
|
12308 |
|
|
return idesc;
|
12309 |
|
|
}
|
12310 |
|
|
|
12311 |
|
|
extract_sfmt_mwtaccg:
|
12312 |
|
|
{
|
12313 |
|
|
const IDESC *idesc = &frvbf_insn_data[itype];
|
12314 |
|
|
CGEN_INSN_WORD insn = entire_insn;
|
12315 |
|
|
#define FLD(f) abuf->fields.sfmt_mwtaccg.f
|
12316 |
|
|
UINT f_ACCGk;
|
12317 |
|
|
UINT f_FRi;
|
12318 |
|
|
|
12319 |
|
|
f_ACCGk = EXTRACT_LSB0_UINT (insn, 32, 30, 6);
|
12320 |
|
|
f_FRi = EXTRACT_LSB0_UINT (insn, 32, 17, 6);
|
12321 |
|
|
|
12322 |
|
|
/* Record the fields for the semantic handler. */
|
12323 |
|
|
FLD (f_ACCGk) = f_ACCGk;
|
12324 |
|
|
FLD (f_FRi) = f_FRi;
|
12325 |
|
|
TRACE_EXTRACT (current_cpu, abuf, (current_cpu, pc, "sfmt_mwtaccg", "f_ACCGk 0x%x", 'x', f_ACCGk, "f_FRi 0x%x", 'x', f_FRi, (char *) 0));
|
12326 |
|
|
|
12327 |
|
|
#if WITH_PROFILE_MODEL_P
|
12328 |
|
|
/* Record the fields for profiling. */
|
12329 |
|
|
if (PROFILE_MODEL_P (current_cpu))
|
12330 |
|
|
{
|
12331 |
|
|
FLD (in_ACCGk) = f_ACCGk;
|
12332 |
|
|
FLD (in_FRinti) = f_FRi;
|
12333 |
|
|
FLD (out_ACCGk) = f_ACCGk;
|
12334 |
|
|
}
|
12335 |
|
|
#endif
|
12336 |
|
|
#undef FLD
|
12337 |
|
|
return idesc;
|
12338 |
|
|
}
|
12339 |
|
|
|
12340 |
|
|
}
|