public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Felix Willgerodt <felix.willgerodt@intel.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/4] Add AMX support.
Date: Fri,  6 May 2022 14:12:22 +0200	[thread overview]
Message-ID: <20220506121226.137608-1-felix.willgerodt@intel.com> (raw)

Hi all,

This is a series to add support for the new Advanced Matrix Extensions (AMX)
on x86 architectures. They add new registers that require modeling
in GDB and gdbserver.

Happy about any feedback!

Regards,
Felix

Aleksandar Paunovic (1):
  gdb: define int512 and uint512 as built-in types.

Felix Willgerodt (3):
  gdb, gdbserver: Add AMX registers.
  gdb, gdbserver: Allocate only a sane amount of buffer when fetching
    registers.
  gdb: Clear tilecfg.start_row for any PC modification.

 gdb/amd64-linux-nat.c                         |   2 +
 gdb/amd64-linux-tdep.c                        |  36 +-
 gdb/amd64-tdep.c                              | 214 +++++++++++-
 gdb/amd64-tdep.h                              |   2 +
 gdb/arch/amd64.c                              |   4 +
 gdb/doc/gdb.texinfo                           |  44 +++
 gdb/features/Makefile                         |   1 +
 gdb/features/i386/64bit-amx.c                 |  60 ++++
 gdb/features/i386/64bit-amx.xml               |  36 ++
 gdb/gdbtypes.c                                |   4 +
 gdb/gdbtypes.h                                |   2 +
 gdb/i386-linux-tdep.c                         |   2 +
 gdb/i386-linux-tdep.h                         |   2 +-
 gdb/i386-tdep.c                               | 321 +++++++++++++++++-
 gdb/i386-tdep.h                               | 122 ++++++-
 gdb/i387-tdep.c                               | 156 ++++++++-
 gdb/i387-tdep.h                               |   8 +
 gdb/target-descriptions.c                     |   6 +
 gdb/testsuite/gdb.arch/amd64-amx-corefile.exp | 113 ++++++
 gdb/testsuite/gdb.arch/amd64-amx-startrow.c   | 122 +++++++
 gdb/testsuite/gdb.arch/amd64-amx-startrow.exp |  91 +++++
 gdb/testsuite/gdb.arch/amd64-amx.c            | 173 ++++++++++
 gdb/testsuite/gdb.arch/amd64-amx.exp          | 231 +++++++++++++
 gdb/testsuite/lib/gdb.exp                     |  67 ++++
 gdbserver/i387-fp.cc                          |  70 +++-
 gdbserver/linux-amd64-ipa.cc                  |   2 +-
 gdbserver/linux-i386-ipa.cc                   |   2 +-
 gdbserver/linux-x86-low.cc                    |   4 +-
 gdbserver/linux-x86-tdesc.cc                  |   3 +
 gdbserver/linux-x86-tdesc.h                   |   3 +-
 gdbserver/server.h                            |   2 +-
 gdbsupport/tdesc.cc                           |   2 +
 gdbsupport/tdesc.h                            |   2 +
 gdbsupport/x86-xstate.h                       |  33 +-
 34 files changed, 1901 insertions(+), 41 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-corefile.exp
 create mode 100644 gdb/testsuite/gdb.arch/amd64-amx-startrow.c
 create mode 100755 gdb/testsuite/gdb.arch/amd64-amx-startrow.exp
 create mode 100644 gdb/testsuite/gdb.arch/amd64-amx.c
 create mode 100755 gdb/testsuite/gdb.arch/amd64-amx.exp

-- 
2.34.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


             reply	other threads:[~2022-05-06 12:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06 12:12 Felix Willgerodt [this message]
2022-05-06 12:12 ` [PATCH 1/4] gdb: define int512 and uint512 as built-in types Felix Willgerodt
2022-05-06 12:19   ` Eli Zaretskii
2022-06-27 18:17   ` Pedro Alves
2022-05-06 12:12 ` [PATCH 2/4] gdb, gdbserver: Add AMX registers Felix Willgerodt
2022-05-06 12:25   ` Eli Zaretskii
2022-05-11  8:14     ` Willgerodt, Felix
2022-05-11 11:41       ` Eli Zaretskii
2022-06-27 18:16         ` Pedro Alves
2022-06-27 18:24           ` Eli Zaretskii
2022-06-27 19:15             ` Pedro Alves
2022-06-28 12:09               ` Eli Zaretskii
2022-06-28 13:35                 ` Pedro Alves
2022-05-06 16:17   ` John Baldwin
2022-05-09  7:04     ` Willgerodt, Felix
2022-05-09 16:31       ` John Baldwin
2022-06-27 18:12   ` Pedro Alves
2022-07-14 10:54     ` Willgerodt, Felix
2022-07-15 11:51       ` Willgerodt, Felix
2022-08-08  9:15     ` Willgerodt, Felix
2022-08-08 17:16       ` John Baldwin
2022-05-06 12:12 ` [PATCH 3/4] gdb, gdbserver: Allocate only a sane amount of buffer when fetching registers Felix Willgerodt
2022-05-06 16:08   ` John Baldwin
2022-05-09  7:04     ` Willgerodt, Felix
2022-06-27 18:30   ` Pedro Alves
2022-05-06 12:12 ` [PATCH 4/4] gdb: Clear tilecfg.start_row for any PC modification Felix Willgerodt
2022-06-27 18:55   ` Pedro Alves

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=20220506121226.137608-1-felix.willgerodt@intel.com \
    --to=felix.willgerodt@intel.com \
    --cc=gdb-patches@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).