From: Stephan Rohr <stephan.rohr@intel.com>
To: gdb-patches@sourceware.org
Cc: pedro@palves.net, jhb@FreeBSD.org, luis.machado@arm.com,
christina.joos@intel.com
Subject: [PATCH v4 0/5] Add Intel AMX support
Date: Tue, 10 Nov 2026 15:57:24 +0000 [thread overview]
Message-ID: <20261110155729.436474-1-stephan.rohr@intel.com> (raw)
From: "Rohr, Stephan" <stephan.rohr@intel.com>
Hi Christina, all,
this is v4 of the series enabling Intel AMX support for GDB.
I addressed the feedback from Christina; here's a detailed list of
changes:
Changes since v3
================
v3 was posted here:
https://sourceware.org/pipermail/gdb-patches/2026-November/231652.html
v4 patch 1/5: gdb: define additional integer built-in types
No changes.
v4 patch 2/5: gdb, gdbserver: Add Intel AMX registers.
Christina posted feedback:
https://sourceware.org/pipermail/gdb-patches/2026-November/231686.html
v4 addresses the feedback posted by Christina:
Use X86_AMX_TILECFG_SIZE and X86_AMX_TMM_SIZE instead of literal sizes.
v4 patch 3/5: gdb: support register groups for user registers
No changes.
v4 patch 4/5: gdb: add a "matrix" register group
No changes.
v4 patch 5/5: gdb: add Intel AMX tile registers as user registers
Christina posted feedback:
https://sourceware.org/pipermail/gdb-patches/2026-November/231692.html
v4 addresses the feedback:
- The user registers are now "void" for all $tilecfg.palette != 1
configurations.
- Updated the amd64-amx.exp testcase to cover invalid tile configurations.
Add tests to cover "ptype <tile user registers>", too".
I appreciate your feedback.
Thanks
Stephan
Aleksandar Paunovic (1):
gdb: define additional integer built-in types
Felix Willgerodt (1):
gdb, gdbserver: Add Intel AMX registers.
Rohr, Stephan (3):
gdb: support register groups for user registers
gdb: add a "matrix" register group
gdb: add Intel AMX tile registers as user registers
gdb/NEWS | 17 +
gdb/amd64-linux-tdep.c | 2 +
gdb/amd64-tdep.c | 134 +++++++-
gdb/amd64-tdep.h | 3 +
gdb/arch/amd64.c | 4 +
gdb/arch/x86-linux-tdesc-features.c | 5 +-
gdb/doc/gdb.texinfo | 79 ++++-
gdb/features/Makefile | 1 +
gdb/features/i386/64bit-amx.c | 26 ++
gdb/features/i386/64bit-amx.xml | 26 ++
gdb/gdbtypes.c | 8 +
gdb/gdbtypes.h | 4 +
gdb/i386-tdep.c | 236 ++++++++++++-
gdb/i386-tdep.h | 120 ++++++-
gdb/i387-tdep.c | 197 ++++++++++-
gdb/i387-tdep.h | 5 +
gdb/infcmd.c | 28 ++
gdb/nat/x86-xstate.c | 2 +
gdb/reggroups.c | 3 +
gdb/reggroups.h | 1 +
gdb/target-debug.h | 2 +
gdb/target-descriptions.c | 12 +
gdb/testsuite/gdb.arch/amd64-amx.c | 142 ++++++++
gdb/testsuite/gdb.arch/amd64-amx.exp | 475 +++++++++++++++++++++++++++
gdb/testsuite/lib/amd64-amx.h | 41 +++
gdb/testsuite/lib/gdb.exp | 75 +++++
gdb/user-regs.c | 46 ++-
gdb/user-regs.h | 17 +-
gdbserver/i387-fp.cc | 70 +++-
gdbserver/linux-x86-low.cc | 2 +
gdbsupport/tdesc.cc | 4 +
gdbsupport/tdesc.h | 4 +
gdbsupport/x86-xstate.h | 26 +-
33 files changed, 1782 insertions(+), 35 deletions(-)
create mode 100644 gdb/features/i386/64bit-amx.c
create mode 100644 gdb/features/i386/64bit-amx.xml
create mode 100644 gdb/testsuite/gdb.arch/amd64-amx.c
create mode 100644 gdb/testsuite/gdb.arch/amd64-amx.exp
create mode 100644 gdb/testsuite/lib/amd64-amx.h
--
2.43.0
________________________________________
Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 (89) 99143-0
www.intel.de
Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitaraman
Chairperson of the Supervisory Board: Sonja Pierer
Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
next reply other threads:[~2026-11-10 15:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 15:57 Stephan Rohr [this message]
2026-11-10 15:57 ` [PATCH v4 1/5] gdb: define additional integer built-in types Stephan Rohr
2026-11-10 15:57 ` [PATCH v4 2/5] gdb, gdbserver: Add Intel AMX registers Stephan Rohr
2026-11-10 15:57 ` [PATCH v4 3/5] gdb: support register groups for user registers Stephan Rohr
2026-11-10 15:57 ` [PATCH v4 4/5] gdb: add a "matrix" register group Stephan Rohr
2026-11-10 15:57 ` [PATCH v4 5/5] gdb: add Intel AMX tile registers as user registers Stephan Rohr
2026-11-24 14:01 ` [PING][PATCH v4 0/5] Add Intel AMX support Rohr, Stephan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261110155729.436474-1-stephan.rohr@intel.com \
--to=stephan.rohr@intel.com \
--cc=christina.joos@intel.com \
--cc=gdb-patches@sourceware.org \
--cc=jhb@FreeBSD.org \
--cc=luis.machado@arm.com \
--cc=pedro@palves.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox