This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Increase MAX_REGISTER_SIZE to 32


> Date: Tue, 2 Feb 2010 19:37:16 -0800
> From: "H.J. Lu" <hongjiu.lu@intel.com>
> 
> Hi,
> 
> Intel AVX has 32byte/256bit YMM registers. This patch increases
> MAX_REGISTER_SIZE to 32.  OK to install?

ok

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]