Skip to content

Commit f5e9e3d

Browse files
DianaChenigcbot
authored andcommitted
IGA: Add XEHP platform
1 parent 7aae34a commit f5e9e3d

File tree

258 files changed

+48735
-31054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+48735
-31054
lines changed

visa/iga/GEDLibrary/GED_external/CMakeLists.txt

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,8 @@
11
#=========================== begin_copyright_notice ============================
22
#
3-
# Copyright (c) 2017-2021 Intel Corporation
3+
# Copyright (C) 2017-2021 Intel Corporation
44
#
5-
# Permission is hereby granted, free of charge, to any person obtaining a copy
6-
# of this software and associated documentation files (the "Software"),
7-
# to deal in the Software without restriction, including without limitation
8-
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
9-
# and/or sell copies of the Software, and to permit persons to whom
10-
# the Software is furnished to do so, subject to the following conditions:
11-
#
12-
# The above copyright notice and this permission notice shall be included
13-
# in all copies or substantial portions of the Software.
14-
#
15-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20-
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21-
# IN THE SOFTWARE.
5+
# SPDX-License-Identifier: MIT
226
#
237
#============================ end_copyright_notice =============================
248

visa/iga/GEDLibrary/GED_external/Source/common/ged_types_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const uintptr_t GED_QWORD_BITS = sizeof(uint64_t) * 8;
183183
const uintptr_t GED_NATIVE_INS_SIZE_BITS = GED_NATIVE_INS_SIZE * 8; // 128
184184
const uintptr_t GED_COMPACT_INS_SIZE_BITS = GED_COMPACT_INS_SIZE * 8; // 64
185185
const uintptr_t GED_MAX_ENTRIES_IN_COMPACT_TABLE = 128; // this is an arbitrary limit, may be changed
186-
const uintptr_t GED_MAX_ENTRIES_IN_OPCODE_TABLE = 1 << 7; // 7 bits used for GEN opcodes, 128 total
186+
const uintptr_t GED_MAX_ENTRIES_IN_OPCODE_TABLE = 1 << 7; // 7 bits used for opcodes, 128 total
187187

188188

189189
const uint8_t dwordLow[GED_NUM_OF_NATIVE_INS_DWORDS] = { 0, 32, 64, 96 };

visa/iga/GEDLibrary/GED_external/Source/ged/xcoder/ged_ins.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class GEDIns
6565
/*!
6666
* Initialize an empty instruction with a new opcode.
6767
*
68-
* @param[in] modelId GEN version as specified by @ref GED_MODEL.
68+
* @param[in] modelId GED model version as specified by @ref GED_MODEL.
6969
* @param[in] opcode The enumerator representing the new opcode.
7070
*
7171
* @return GED_RETURN_VALUE indicating success or invalid opcode.
@@ -76,7 +76,7 @@ class GEDIns
7676
/*!
7777
* Assign raw (undecoded) bytes to the GEDIns object. If the instruction is compact, it is mapped to the native format.
7878
*
79-
* @param[in] modelId GEN version as specified by @ref GED_MODEL.
79+
* @param[in] modelId GED model version as specified by @ref GED_MODEL.
8080
* @param[in] rawBytes An array of size "size" containing the raw bytes.
8181
* @param[in] size The size of the array.
8282
*
@@ -160,7 +160,7 @@ class GEDIns
160160
GED_RETURN_VALUE QueryFieldBitLocation(const /* GED_INS_FIELD */ uint32_t field, uint32_t *fragments, uint32_t *length) const;
161161

162162
/*!
163-
* Get the GED_MODEL Id for the GEN version by which this instruction is decoded.
163+
* Get the GED_MODEL Id for the GED model version by which this instruction is decoded.
164164
*
165165
* @return The requested GED_MODEL Id.
166166
*/
@@ -169,7 +169,7 @@ class GEDIns
169169

170170
/*!
171171
* Get the instruction's opcode in the form of a GED_OPCODE enumerator. Use @ref GetRawOpcode for obtaining the raw encoding of
172-
* the opcode in the GEN instruction.
172+
* the opcode in the GED model instruction.
173173
*
174174
* @return The enumerator representing the instruction's opcode.
175175
*
@@ -179,7 +179,7 @@ class GEDIns
179179

180180

181181
/*!
182-
* Get the instruction raw opcode as it is encoded in the GEN instruction. Use @ref GetOpcode for obtaining the GED_OPCODE for
182+
* Get the instruction raw opcode as it is encoded in the GED model instruction. Use @ref GetOpcode for obtaining the GED_OPCODE for
183183
* this opcode.
184184
*
185185
* @return The opcode encoding.

visa/iga/GEDLibrary/GED_external/build/autogen-ia32/CMakeLists.txt

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ set(GED_autogenia32_cpp
3535
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_field.cpp
3636
${CMAKE_CURRENT_SOURCE_DIR}/ged_mapping_fragments.cpp
3737
${CMAKE_CURRENT_SOURCE_DIR}/ged_mapping_tables.cpp
38-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen10.cpp
39-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen11.cpp
40-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen7.cpp
41-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen7_5.cpp
42-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen8.cpp
43-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen8_1.cpp
44-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen9.cpp
45-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gentgl.cpp
38+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_10.cpp
39+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_11.cpp
40+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_7.cpp
41+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_7_5.cpp
42+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_8.cpp
43+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_8_1.cpp
44+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_9.cpp
45+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_tgl.cpp
46+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hp.cpp
4647
${CMAKE_CURRENT_SOURCE_DIR}/ged_restrictions.cpp
4748
${CMAKE_CURRENT_SOURCE_DIR}/version.cpp
4849
PARENT_SCOPE
@@ -63,14 +64,15 @@ set(GED_autogenia32_h
6364
${CMAKE_CURRENT_SOURCE_DIR}/ged_ins_field_internal.h
6465
${CMAKE_CURRENT_SOURCE_DIR}/ged_mapping_fragments.h
6566
${CMAKE_CURRENT_SOURCE_DIR}/ged_mapping_tables.h
66-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen10.h
67-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen11.h
68-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen7.h
69-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen7_5.h
70-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen8.h
71-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen8_1.h
72-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gen9.h
73-
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_gentgl.h
67+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_10.h
68+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_11.h
69+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_7.h
70+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_7_5.h
71+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_8.h
72+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_8_1.h
73+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_9.h
74+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_tgl.h
75+
${CMAKE_CURRENT_SOURCE_DIR}/ged_model_xe_hp.h
7476
${CMAKE_CURRENT_SOURCE_DIR}/ged_restrictions.h
7577
PARENT_SCOPE
7678
)

0 commit comments

Comments
 (0)