File: all-state.txt

package info (click to toggle)
golang-golang-x-arch 0.0~git20201207.1e68675-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,724 kB
  • sloc: ansic: 1,832; makefile: 42
file content (341 lines) | stat: -rw-r--r-- 10,363 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341


###FILE: ./datafiles/xed-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL
###########################################################################
## file: xed-state-bits.txt
###########################################################################

# These are just shorthand for some conditions or captures.
# Simple macro replacement
#all_modes             ALL_MODES=1
not64                  MODE!=2
mode64                 MODE=2
mode32                 MODE=1
mode16                 MODE=0

# effective addressing mode
eanot16               EASZ!=1
eamode16              EASZ=1
eamode32              EASZ=2
eamode64              EASZ=3

# stack addressing mode
smode16               SMODE=0
smode32               SMODE=1
smode64               SMODE=2

eosz8                 EOSZ=0
eosz16                EOSZ=1
not_eosz16            EOSZ!=1
eosz32                EOSZ=2
eosz64                EOSZ=3
eosznot64             EOSZ!=3


# for OD expansion in graph partitioning FIXME
mod0                MOD=0
mod1                MOD=1
mod2                MOD=2
mod3                MOD=3

rex_reqd                REX=1
no_rex                  REX=0
reset_rex              REX=0 REXW=0 REXB=0 REXR=0 REXX=0

rexb_prefix             REXB=1
rexx_prefix             REXX=1
rexr_prefix             REXR=1

# 2013-09-25 FIXME: we were inconsistent. some things use W0/W1, some
# use the more verbose form. We should converge on W0/W1.
#
rexw_prefix            REXW=1 SKIP_OSZ=1
norexw_prefix          REXW=0 SKIP_OSZ=1
W1                     REXW=1 SKIP_OSZ=1
W0                     REXW=0 SKIP_OSZ=1

norexb_prefix             REXB=0
norexx_prefix             REXX=0
norexr_prefix             REXR=0
############################################################3333
f2_prefix              REP=2  # REPNZ, REPNE
f3_prefix              REP=3  # REPZ,  REPE
repne                  REP=2
repe                   REP=3
norep                  REP=0
66_prefix              OSZ=1
nof3_prefix            REP!=3
no66_prefix            OSZ=0
not_refining           REP=0 # dummy setting for state values 2007-08-06 FIXME
refining_f2            REP=2
refining_f3            REP=3
not_refining_f3        REP!=3 # for pause vs xchg
no_refining_prefix     REP=0 OSZ=0  # critical:REP must  be first for decoding partitioning
osz_refining_prefix    REP=0 OSZ=1
f2_refining_prefix     REP=2
f3_refining_prefix     REP=3

no67_prefix             ASZ=0
67_prefix               ASZ=1

lock_prefix             LOCK=1
nolock_prefix           LOCK=0

default_ds              DEFAULT_SEG=0
default_ss              DEFAULT_SEG=1
default_es              DEFAULT_SEG=2 # for string ops
no_seg_prefix           SEG_OVD=0
some_seg_prefix         SEG_OVD!=0
cs_prefix               SEG_OVD=1
ds_prefix               SEG_OVD=2
es_prefix               SEG_OVD=3
fs_prefix               SEG_OVD=4
gs_prefix               SEG_OVD=5
ss_prefix               SEG_OVD=6

# default (or not) to 64b width in 64b mode
nrmw                   DF64=0
df64                   DF64=1

# default choice for encoder when there are multiple choices for a
# nonterminal. The ISA is not uniquely determined for encoding so we
# must express preferences for certain forms!
enc                    ENCODER_PREFERRED=1

# for the legacy prefix encoder, tell it to keep trying rules and not
# return after successfully finding one that applies
no_return              NO_RETURN=1

# indicate an encoding or decoding error occurred
error                  ERROR=XED_ERROR_GENERAL_ERROR

# dummy constraint which always satisfies
true                   DUMMY=0


###FILE: ./datafiles/amdxop/xop-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL

XMAP8  MAP=8
XMAP9  MAP=9
XMAPA  MAP=10

XOPV   VEXVALID=3


###FILE: ./datafiles/avx/avx-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL
VL128  VL=0
VL256  VL=1

VV1    VEXVALID=1
VV0    VEXVALID=0

VMAP0  MAP=0
V0F    MAP=1
V0F38  MAP=2
V0F3A  MAP=3

VNP    VEX_PREFIX=0
V66    VEX_PREFIX=1
VF2    VEX_PREFIX=2
VF3    VEX_PREFIX=3

# No VEX-SPECIFIED-REGISTER
NOVSR  VEXDEST3=0b1 VEXDEST210=0b111

EMX_BROADCAST_1TO4_32  BCAST=10   #     128
EMX_BROADCAST_1TO4_64  BCAST=13   #     256
EMX_BROADCAST_1TO8_32  BCAST=3    #     256
EMX_BROADCAST_2TO4_64  BCAST=20   #     256



###FILE: ./datafiles/avxhsw/hsw-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL


EMX_BROADCAST_1TO2_64  BCAST=11   #         128
EMX_BROADCAST_1TO8_16   BCAST=14  #         128
EMX_BROADCAST_1TO16_16  BCAST=15  #     256
EMX_BROADCAST_1TO16_8   BCAST=17  #         128
EMX_BROADCAST_1TO32_8   BCAST=18  #     256




###FILE: /home/quasilyte/CODE/intel/xed/datafiles/knc/uisa-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL

VL512 VL=2
VLBAD VL=3 # unused VL setting to cause things not to decode.

# KNC EVEX is KVV
#
KVV   VEXVALID=4

# No VEX-SPECIFIED-REGISTER
NOEVSR  VEXDEST3=0b1 VEXDEST210=0b111 VEXDEST4=0b0

# No VEX-SPECIFIED-REGISTER for GATHERS/SCATTERS -- index reg 5th bit is VEXTDEST4
NO_SPARSE_EVSR  VEXDEST3=0b1 VEXDEST210=0b111

# These conflict w/another chip ... so if you ever build a combo
#  model you'll have to remove these somehow.
#
EMX_BROADCAST_1TO16_32 BCAST=1      # 512
EMX_BROADCAST_4TO16_32 BCAST=2      # 512
EMX_BROADCAST_1TO8_64  BCAST=5      # 512
EMX_BROADCAST_4TO8_64  BCAST=6      # 512



###FILE: ./datafiles/avx512f/avx512-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL
EVV VEXVALID=2

EMX_BROADCAST_1TO16_32 BCAST=1      # 512
EMX_BROADCAST_4TO16_32 BCAST=2      # 512
EMX_BROADCAST_1TO8_64  BCAST=5      # 512
EMX_BROADCAST_4TO8_64  BCAST=6      # 512
EMX_BROADCAST_2TO16_32 BCAST=7      # 512
EMX_BROADCAST_2TO8_64  BCAST=8      # 512
EMX_BROADCAST_8TO16_32 BCAST=9      # 512
EMX_BROADCAST_1TO32_16  BCAST=16  # 512
EMX_BROADCAST_1TO64_8   BCAST=19  # 512
# these do not show up on earlier processors
EMX_BROADCAST_4TO8_32  BCAST=4      #     256
EMX_BROADCAST_2TO4_32  BCAST=12   #         128
EMX_BROADCAST_2TO8_32  BCAST=21   #     256
EMX_BROADCAST_1TO2_32  BCAST=22   #     128


###FILE: ./datafiles/avx512-skx/skx-state-bits.txt

#BEGIN_LEGAL
#
#Copyright (c) 2016 Intel Corporation
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#
#END_LEGAL

EMX_BROADCAST_1TO2_8   BCAST=23
EMX_BROADCAST_1TO4_8   BCAST=24
EMX_BROADCAST_1TO8_8   BCAST=25

EMX_BROADCAST_1TO2_16   BCAST=26
EMX_BROADCAST_1TO4_16   BCAST=27