PATCH: Increase MAX_REGISTER_SIZE to 32

H.J. Lu hongjiu.lu@intel.com
Wed Feb 3 03:38:00 GMT 2010


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. */
 



More information about the Gdb-patches mailing list