From: "Joos, Christina" <christina.joos@intel.com>
To: "Rohr, Stephan" <stephan.rohr@intel.com>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Cc: "pedro@palves.net" <pedro@palves.net>,
"eliz@gnu.org" <eliz@gnu.org>,
"jhb@FreeBSD.org" <jhb@FreeBSD.org>,
"luis.machado@arm.com" <luis.machado@arm.com>
Subject: RE: [PATCH v2 5/5] gdb: add Intel AMX tile registers as user registers
Date: Wed, 4 Nov 2026 09:00:08 +0000 [thread overview]
Message-ID: <SN7PR11MB76386314F33C09FC0AB24DD289682@SN7PR11MB7638.namprd11.prod.outlook.com> (raw)
In-Reply-To: <SN7PR11MB7638F3530D7A717D85D9823389692@SN7PR11MB7638.namprd11.prod.outlook.com>
Hi Stephan,
> -----Original Message-----
> From: Joos, Christina <christina.joos@intel.com>
> Sent: Dienstag, 3. November 2026 16:19
> To: Rohr, Stephan <stephan.rohr@intel.com>; gdb-patches@sourceware.org
> Cc: pedro@palves.net; eliz@gnu.org; jhb@FreeBSD.org;
> luis.machado@arm.com
> Subject: RE: [PATCH v2 5/5] gdb: add Intel AMX tile registers as user registers
>
> Hi Stephan,
>
> Thank you for this patch.
>
> I tested some edge cases and found the following:
>
> 1) Assert for $tilecfg.colsb[0]=200
> ~~~
> gdb) set $tilecfg.colsb[0]=200
> (gdb) p $tmm0_raw
> $1 = {0 <repeats 16 times>}
> (gdb) p $tilecfg
> $2 = {palette = 0, start_row = 0, colsb = {200, 0, 0, 0, 0, 0, 0, 0}, rows = {0, 0, 0,
> 0, 0, 0, 0, 0}}
> (gdb) p $tmm0
> /tmp/gdb/i386-tdep.c:3298: internal-error: i386_tmm_type: Assertion `colsb >
> 0 && colsb <= tilecfg_reg::MAX_BYTES_PER_ROW' failed.
> A problem internal to GDB has been detected, further debugging may prove
> unreliable.
> ----- Backtrace -----
> 0x60228446351d gdb_internal_backtrace_1
> /tmp/gdb/bt-utils.c:122
> 0x602284463569 _Z22gdb_internal_backtracev
> /tmp/gdb/bt-utils.c:173
> [...]
> ~~~
>
> 2) I have one open regarding how we should display values when the data
> type is too large for colsb, for example:
> ~~~
> (gdb) set $tilecfg.colsb[0]=2
> (gdb) p $tmm0
> $4 = {m_int8 = {{0, 0}, {0, 0}}, m_uint8 = {{0, 0}, {0, 0}}, m_int32 = 0x0, m_bf16
> = {{0}, {0}}, m_fp32 = 0x0}
> ~~~
> or for the case colsb[0]=3.
This depends on the interpretations supported by the AMX hardware.
I believe we need to investigate this further to clarify what we want to display in the individual cases.
Thanks for all the work on this topic!
Christina
________________________________________
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.
prev parent reply other threads:[~2026-11-04 9:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 11:50 [PATCH v2 0/5] Add Intel AMX support Stephan Rohr
2026-10-30 11:50 ` [PATCH v2 1/5] gdb: define additional integer built-in types Stephan Rohr
2026-10-30 12:45 ` Eli Zaretskii
2026-10-30 11:50 ` [PATCH v2 2/5] gdb, gdbserver: Add Intel AMX registers Stephan Rohr
2026-10-30 12:47 ` Eli Zaretskii
2026-11-03 10:44 ` Joos, Christina
2026-11-03 14:40 ` Joos, Christina
2026-10-30 11:50 ` [PATCH v2 3/5] gdb: support register groups for user registers Stephan Rohr
2026-10-30 12:48 ` Eli Zaretskii
2026-10-30 11:50 ` [PATCH v2 4/5] gdb: add a "matrix" register group Stephan Rohr
2026-10-30 12:49 ` Eli Zaretskii
2026-10-30 11:50 ` [PATCH v2 5/5] gdb: add Intel AMX tile registers as user registers Stephan Rohr
2026-10-30 12:50 ` Eli Zaretskii
2026-11-03 15:19 ` Joos, Christina
2026-11-04 9:00 ` Joos, Christina [this message]
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=SN7PR11MB76386314F33C09FC0AB24DD289682@SN7PR11MB7638.namprd11.prod.outlook.com \
--to=christina.joos@intel.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=jhb@FreeBSD.org \
--cc=luis.machado@arm.com \
--cc=pedro@palves.net \
--cc=stephan.rohr@intel.com \
/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