public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add AMX support.
@ 2022-05-06 12:12 Felix Willgerodt
  2022-05-06 12:12 ` [PATCH 1/4] gdb: define int512 and uint512 as built-in types Felix Willgerodt
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Felix Willgerodt @ 2022-05-06 12:12 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2022-08-08 17:16 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 12:12 [PATCH 0/4] Add AMX support Felix Willgerodt
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

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).