Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: Increase MAX_REGISTER_SIZE to 32
@ 2010-02-03  3:38 H.J. Lu
  2010-02-03  9:18 ` Mark Kettenis
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2010-02-03  3:38 UTC (permalink / raw)
  To: GDB

Hi,

Intel AVX has 32byte/256bit YMM registers. This patch increases
MAX_REGISTER_SIZE to 32.  OK to install?

Thanks.


H.J.
----
2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>

	* defs.h (MAX_REGISTER_SIZE): Increase to 32.

diff --git a/gdb/defs.h b/gdb/defs.h
index b0a212d..5b5c261 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -1023,7 +1023,7 @@ extern void *alloca ();
 /* Maximum size of a register.  Something small, but large enough for
    all known ISAs.  If it turns out to be too small, make it bigger.  */
 
-enum { MAX_REGISTER_SIZE = 16 };
+enum { MAX_REGISTER_SIZE = 32 };
 
 /* Static target-system-dependent parameters for GDB. */
 


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

end of thread, other threads:[~2010-02-03  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-03  3:38 PATCH: Increase MAX_REGISTER_SIZE to 32 H.J. Lu
2010-02-03  9:18 ` Mark Kettenis

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