Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v3 0/1] Add Intel APX support
@ 2026-09-29 15:09 Christina Joos
  2026-09-29 15:09 ` [PATCH v3 1/1] gdb, gdbserver: Add Intel APX register support Christina Joos
  2026-09-29 15:15 ` [PATCH v3 0/1] Add Intel APX support Joos, Christina
  0 siblings, 2 replies; 3+ messages in thread
From: Christina Joos @ 2026-09-29 15:09 UTC (permalink / raw)
  To: gdb-patches; +Cc: keiths, ssbssa

Hi all,

this is my v3 of the patch to enable Intel APX support in GDB.
It addresses the feedback of Keith, Eli and Hannes, plus some issues
that I noted myself. Also, some upstream tests for xsave core files
were added recently.  I aligned the APX core file testing with them.
 
Changes since v2:
- Adapted core file tests based on a recently merged patch. Now the testing
is similar to the tests added by
"gdb: Enable OS generated core files on systems with Intel AMX support".
- Fixed documentation
- Fixed copyright year in gdb/features/i386/64bit-apx.xml
- Added comment in i387_guess_xsave_layout
- Changed long to uint64_t in the APX test program for Windows
- Removed unused masks in gdbsupport/x86-xstate.h

I am looking forward to your feedback!
Christina

H.J. Lu (1):
  gdb, gdbserver: Add Intel APX register support

 gdb/NEWS                             |   4 +
 gdb/amd64-linux-tdep.c               |   2 +
 gdb/amd64-tdep.c                     | 262 +++++++++++++++++++++------
 gdb/amd64-tdep.h                     |   2 +
 gdb/arch/amd64.c                     |   4 +
 gdb/arch/x86-linux-tdesc-features.c  |   1 +
 gdb/doc/gdb.texinfo                  |   5 +
 gdb/features/Makefile                |   1 +
 gdb/features/i386/64bit-apx.c        |  29 +++
 gdb/features/i386/64bit-apx.xml      |  26 +++
 gdb/i386-tdep.c                      |  32 +++-
 gdb/i386-tdep.h                      |  26 +++
 gdb/i387-tdep.c                      | 108 ++++++++++-
 gdb/i387-tdep.h                      |   6 +
 gdb/nat/x86-xstate.c                 |   1 +
 gdb/target-debug.h                   |   1 +
 gdb/testsuite/gdb.arch/amd64-apx.c   |  71 ++++++++
 gdb/testsuite/gdb.arch/amd64-apx.exp | 124 +++++++++++++
 gdb/testsuite/lib/gdb.exp            |  58 ++++++
 gdbserver/i387-fp.cc                 |  43 +++++
 gdbserver/linux-x86-low.cc           |   4 +-
 gdbsupport/x86-xstate.h              |   9 +-
 22 files changed, 757 insertions(+), 62 deletions(-)
 create mode 100644 gdb/features/i386/64bit-apx.c
 create mode 100644 gdb/features/i386/64bit-apx.xml
 create mode 100644 gdb/testsuite/gdb.arch/amd64-apx.c
 create mode 100644 gdb/testsuite/gdb.arch/amd64-apx.exp

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

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

end of thread, other threads:[~2026-09-29 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-29 15:09 [PATCH v3 0/1] Add Intel APX support Christina Joos
2026-09-29 15:09 ` [PATCH v3 1/1] gdb, gdbserver: Add Intel APX register support Christina Joos
2026-09-29 15:15 ` [PATCH v3 0/1] Add Intel APX support Joos, Christina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox