Skip to content

Commit 95ca718

Browse files
authored
External Release v2025.12.14
This release aligns XED with Intel ISE Revision 060 and adds support for the Nova Lake (NVL) chip configuration. --- ## General Improvements - New instruction metadata export utility (`xed_to_db.py`): Introduced a user-facing utility that exposes XED instruction metadata through a type-safe Python dataclass for direct consumption in Python frameworks, and also supports exporting the same data as structured JSON files. This enables external tools to consume the instruction database either programmatically or via JSON, without parsing internal XED data files, and includes serialization and validation helpers. - Fixed the `xed_decoded_inst_vector_length_bits()` API to consistently return a vector length of 128 bits for SIMD scalar instructions, where EVEX.VL is ignored. - Removed the redundant `ptr` keyword from AMX instruction memory disassembly, since memory width is defined by `LDTILECFG`. - Enhanced the XED examples README with detailed explanations and a standalone build guide. - Improved Python code robustness and general maintainability.
1 parent 722cd23 commit 95ca718

35 files changed

+2446
-1593
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2025.11.23
1+
v2025.12.14

datafiles/4fmaps-512/4fmaps-512-isa.xed.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#BEGIN_LEGAL
22
#
3-
#Copyright (c) 2022 Intel Corporation
3+
#Copyright (c) 2025 Intel Corporation
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ ISA_SET: AVX512_4FMAPS_SCALAR
5151
EXCEPTIONS: AVX512-E2
5252
REAL_OPCODE: Y
5353
ATTRIBUTES: DISP8_TUPLE1_4X MXCSR MULTISOURCE4 MEMORY_FAULT_SUPPRESSION MASKOP_EVEX SIMD_SCALAR
54-
PATTERN: EVV 0x9B VF2 V0F38 MOD[mm] MOD!=3 UBIT=1 REG[rrr] RM[nnn] BCRC=0 MODRM() W0 ESIZE_32_BITS() NELEM_TUPLE1_4X()
54+
PATTERN: EVV 0x9B VF2 V0F38 MOD[mm] MOD!=3 UBIT=1 REG[rrr] RM[nnn] BCRC=0 MODRM() W0 ESIZE_32_BITS() NELEM_TUPLE1_4X() FIX_ROUND_LEN128()
5555
OPERANDS: REG0=XMM_R3():rw:dq:f32 REG1=MASK1():r:mskw:TXT=ZEROSTR REG2=XMM_N3():r:dq:f32:MULTISOURCE4 MEM0:r:dq:f32
5656
IFORM: V4FMADDSS_XMMf32_MASKmskw_XMMf32_MEMf32_AVX512
5757
}
@@ -83,7 +83,7 @@ ISA_SET: AVX512_4FMAPS_SCALAR
8383
EXCEPTIONS: AVX512-E2
8484
REAL_OPCODE: Y
8585
ATTRIBUTES: DISP8_TUPLE1_4X MXCSR MULTISOURCE4 MEMORY_FAULT_SUPPRESSION MASKOP_EVEX SIMD_SCALAR
86-
PATTERN: EVV 0xAB VF2 V0F38 MOD[mm] MOD!=3 UBIT=1 REG[rrr] RM[nnn] BCRC=0 MODRM() W0 ESIZE_32_BITS() NELEM_TUPLE1_4X()
86+
PATTERN: EVV 0xAB VF2 V0F38 MOD[mm] MOD!=3 UBIT=1 REG[rrr] RM[nnn] BCRC=0 MODRM() W0 ESIZE_32_BITS() NELEM_TUPLE1_4X() FIX_ROUND_LEN128()
8787
OPERANDS: REG0=XMM_R3():rw:dq:f32 REG1=MASK1():r:mskw:TXT=ZEROSTR REG2=XMM_N3():r:dq:f32:MULTISOURCE4 MEM0:r:dq:f32
8888
IFORM: V4FNMADDSS_XMMf32_MASKmskw_XMMf32_MEMf32_AVX512
8989
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#BEGIN_LEGAL
2+
#
3+
#Copyright (c) 2025 Intel Corporation
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
#END_LEGAL
18+
19+
XED_ISA_SET_APX_F_AMX : apx_f.7.1.edx.21 amx_tiles.7.0.edx.24
20+
XED_ISA_SET_APX_F_AMX_MOVRS : apx_f.7.1.edx.21 amx_movrs.1e.1.eax.8
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
XED_ISA_SET_APX_F : apx_f.7.1.edx.21
2020
XED_ISA_SET_APX_F_ADX : apx_f.7.1.edx.21 adoxadcx.7.0.ebx.19
21-
XED_ISA_SET_APX_F_AMX : apx_f.7.1.edx.21 amx_tiles.7.0.edx.24
2221
XED_ISA_SET_APX_F_BMI1 : apx_f.7.1.edx.21 bmi1.7.0.ebx.3
2322
XED_ISA_SET_APX_F_BMI2 : apx_f.7.1.edx.21 bmi2.7.0.ebx.8
2423
XED_ISA_SET_APX_F_CET : apx_f.7.1.edx.21 cet.7.0.ecx.7
@@ -34,8 +33,6 @@ XED_ISA_SET_APX_F_VMX : apx_f.7.1.edx.21 vmx.1.0.ecx.5
3433
XED_ISA_SET_APX_F_USER_MSR : apx_f.7.1.edx.21 user_msr.7.1.edx.15
3534
XED_ISA_SET_APX_F_MOVRS : apx_f.7.1.edx.21 movrs.7.1.eax.31
3635

37-
XED_ISA_SET_APX_F_AMX_MOVRS : apx_f.7.1.edx.21 amx_movrs.1e.1.eax.8
38-
3936
### KOP AVX512 Feature bits
4037
XED_ISA_SET_APX_F_KOPB : apx_f.7.1.edx.21 avx512dq.7.0.ebx.17
4138
XED_ISA_SET_APX_F_KOPW : apx_f.7.1.edx.21 avx512f.7.0.ebx.16
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#BEGIN_LEGAL
2+
#
3+
#Copyright (c) 2025 Intel Corporation
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
#END_LEGAL
18+
19+
# APX instructions promoted from AMX
20+
dec-instructions: apx-f-amx-isa.xed.txt
21+
enc-instructions: apx-f-amx-isa.xed.txt
22+
23+
# EVEX/TMM operand NTs
24+
dec-patterns: apx-amx-evex-reg-tables.txt
25+
enc-dec-patterns: apx-amx-evex-reg-tables.txt
26+
27+
cpuid: cpuid-apx-f-amx.xed.txt

datafiles/apx-f/apx-f-future-ext.cfg renamed to datafiles/apx-f/files-apx-f-future-ext.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#BEGIN_LEGAL
22
#
3-
#Copyright (c) 2024 Intel Corporation
3+
#Copyright (c) 2025 Intel Corporation
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
dec-patterns: apx-evgpr-reg-tables.txt
2424
enc-dec-patterns: apx-evgpr-reg-tables.txt
2525

26-
# EVEX/TMM operand NTs
27-
dec-patterns: apx-amx-evex-reg-tables.txt
28-
enc-dec-patterns: apx-amx-evex-reg-tables.txt
29-
3026
##############################################################################
3127
########### APX PATTERN NTs ############
3228
dec-patterns: apx-evex-dec.txt
@@ -37,14 +33,11 @@
3733
# APX promoted and new EVEX instructions
3834
dec-instructions: apx-f-isa.xed.txt
3935
enc-instructions: apx-f-isa.xed.txt
40-
# Promoted from AMX
41-
dec-instructions: apx-f-amx-isa.xed.txt
42-
enc-instructions: apx-f-amx-isa.xed.txt
36+
4337
# APX POP/PUSH PPX
4438
dec-instructions: apx-ppx-isa.xed.txt
4539
enc-instructions: apx-ppx-isa.xed.txt
4640

47-
4841
##############################################################################
4942
########### APX Peripherals ###########
5043
conversion-table: apx-strings.txt
@@ -54,5 +47,5 @@
5447
state: apx-state-bits.txt
5548
fields: apx-fields.txt
5649
registers: apx-regs.txt
57-
cpuid: cpuid.xed.txt
50+
cpuid: cpuid-apx-f.xed.txt
5851

File renamed without changes.

datafiles/avx10-1/files.cfg

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#BEGIN_LEGAL
2+
#
3+
#Copyright (c) 2025 Intel Corporation
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
#END_LEGAL
18+
19+
cpuid: avx10-ver1-cpuid.xed.txt

0 commit comments

Comments
 (0)