This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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, alpha]: Some cleanups


On Tue, May 19, 2015 at 5:10 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> No functional changes.
>
> 2015-05-18  Uros Bizjak  <ubizjak@gmail.com>
>
>     * config/alpha/alpha.c (alpha_legitimize_reload_address)
>     (alpha_preferred_reload_class, alpha_legitimate_constant_p): Use
>     CONST_INT_P, CONST_SCALAR_INT_P and CONST_DOUBLE_P predicates.
>     (alpha_split_reload_pair) <case CONST_INT, case CONST_WIDE_INT>:
>     Use CASE_CONST_SCALAR_INT.
>     (print_operand) <case 'M'>: Use mode_width_operand to check the
>     value of the constant.
>     * config/alpha/alpha.md (movti): Use CONST_SCALAR_INT_P predicate.
>     * config/alpha/predicates.md (input_operand): Use general_operand
>     instead of match_code as operand check.
>     (symbolic_operand): Use match_code with subexpression digits.
>     * config/alpha/constraints.md (Q): Ditto.
>
> Tested on alpha-linux-gnu and committed to mainline SVN.

... now with a patch.

Uros.

Attachment: a.diff.txt
Description: Text document


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