Re: Add an array_mode_supported_p target hook

2011-04-21 Thread Richard Sandiford
To get back to this... Richard Sandiford writes: > Richard Guenther writes: >> On Thu, Mar 31, 2011 at 3:32 PM, Richard Sandiford >> wrote: >>> This patch adds an array_mode_supported_p hook, which says whether >>> MAX_FIXED_MODE_SIZE should be ignored for a given type of array. >>> It follows

Re: Add an array_mode_supported_p target hook

2011-04-21 Thread Richard Guenther
On Thu, Apr 21, 2011 at 11:50 AM, Richard Sandiford wrote: > To get back to this... > > Richard Sandiford writes: >> Richard Guenther writes: >>> On Thu, Mar 31, 2011 at 3:32 PM, Richard Sandiford >>> wrote: This patch adds an array_mode_supported_p hook, which says whether MAX_FIXED_

Re: Add an array_mode_supported_p target hook

2011-05-06 Thread Richard Earnshaw
On Thu, 2011-04-21 at 10:50 +0100, Richard Sandiford wrote: > To get back to this... > > Richard Sandiford writes: > > Richard Guenther writes: > >> On Thu, Mar 31, 2011 at 3:32 PM, Richard Sandiford > >> wrote: > >>> This patch adds an array_mode_supported_p hook, which says whether > >>> MAX

Re: Add an array_mode_supported_p target hook

2011-05-06 Thread Richard Earnshaw
On Fri, 2011-05-06 at 11:35 +0100, Richard Sandiford wrote: > Richard Earnshaw writes: > >> +/* Implements target hook array_mode_supported_p. */ > >> + > >> +static bool > >> +arm_array_mode_supported_p (enum machine_mode mode, > >> + unsigned HOST_WIDE_INT nelems) > >> +{

Re: Add an array_mode_supported_p target hook

2011-05-06 Thread Richard Sandiford
Richard Earnshaw writes: >> +/* Implements target hook array_mode_supported_p. */ >> + >> +static bool >> +arm_array_mode_supported_p (enum machine_mode mode, >> +unsigned HOST_WIDE_INT nelems) >> +{ >> + if (TARGET_NEON >> + && (VALID_NEON_DREG_MODE (mode) || VALID_

Re: Add an array_mode_supported_p target hook

2011-03-31 Thread Richard Guenther
On Thu, Mar 31, 2011 at 3:32 PM, Richard Sandiford wrote: > This patch adds an array_mode_supported_p hook, which says whether > MAX_FIXED_MODE_SIZE should be ignored for a given type of array. > It follows on from the discussion here: > >    http://gcc.gnu.org/ml/gcc/2011-03/msg00342.html > > The

Re: Add an array_mode_supported_p target hook

2011-03-31 Thread Richard Sandiford
Richard Guenther writes: > On Thu, Mar 31, 2011 at 3:32 PM, Richard Sandiford > wrote: >> This patch adds an array_mode_supported_p hook, which says whether >> MAX_FIXED_MODE_SIZE should be ignored for a given type of array. >> It follows on from the discussion here: >> >>    http://gcc.gnu.org/m