Re: [PATCH, alpha]: Some further HWI == 64 improvements

2015-05-14 Thread Richard Henderson
On 05/14/2015 08:32 AM, Uros Bizjak wrote: > 2015-05-14 Uros Bizjak > > * config/alpha/alpha.c (alpha_extract_integer): Do not handle > CONST_WIDE_INT and CONST_DOUBLE. Assert CONST_INT_P (x). > (alpha_legitimate_constant_p) : Check high and > low part of the constant using alp

Re: [PATCH, alpha]: Some further HWI == 64 improvements

2015-05-14 Thread Uros Bizjak
On Wed, May 13, 2015 at 9:05 PM, Richard Henderson wrote: > On 05/13/2015 10:53 AM, Uros Bizjak wrote: >> The only part that actually processes CONST_WIDE_INT is >> alpha_legitimate_constant and movti expander. The latter immediately >> splits any TImode CONST_WIDE_INTs. >> > > Indeed. Also proba

Re: [PATCH, alpha]: Some further HWI == 64 improvements

2015-05-13 Thread Richard Henderson
On 05/13/2015 10:53 AM, Uros Bizjak wrote: > The only part that actually processes CONST_WIDE_INT is > alpha_legitimate_constant and movti expander. The latter immediately > splits any TImode CONST_WIDE_INTs. > Indeed. Also probably worth cleaning up is using CONST_SCALAR_INT_P, where both CONST

Re: [PATCH, alpha]: Some further HWI == 64 improvements

2015-05-13 Thread Uros Bizjak
On Wed, May 13, 2015 at 6:46 PM, Richard Henderson wrote: > On 05/13/2015 08:04 AM, Uros Bizjak wrote: >> Hello! >> >> 2015-05-13 Uros Bizjak >> >> * config/alpha/alpha.c (alpha_emit_set_long_const): Remove c1 argument. >> (alpha_extract_integer): Redeclare as static HOST_WIDE_INT. >>

Re: [PATCH, alpha]: Some further HWI == 64 improvements

2015-05-13 Thread Richard Henderson
On 05/13/2015 08:04 AM, Uros Bizjak wrote: > Hello! > > 2015-05-13 Uros Bizjak > > * config/alpha/alpha.c (alpha_emit_set_long_const): Remove c1 argument. > (alpha_extract_integer): Redeclare as static HOST_WIDE_INT. > Remove *p0 and *p1 arguments. Rewrite function. > (alpha_l

[PATCH, alpha]: Some further HWI == 64 improvements

2015-05-13 Thread Uros Bizjak
Hello! 2015-05-13 Uros Bizjak * config/alpha/alpha.c (alpha_emit_set_long_const): Remove c1 argument. (alpha_extract_integer): Redeclare as static HOST_WIDE_INT. Remove *p0 and *p1 arguments. Rewrite function. (alpha_legitimate_constant_p): Update call to alpha_extract_integer