This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Increase MAX_REGISTER_SIZE to 32
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: hjl dot tools at gmail dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 3 Feb 2010 10:17:52 +0100 (CET)
- Subject: Re: PATCH: Increase MAX_REGISTER_SIZE to 32
- References: <20100203033716.GA23257@lucon.org>
> 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. */
>
>