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]

[PATCH, alpha]: Switch alpha to TARGET_SUPPORTS_WIDE_INT


Hello!

The patch also further removes dead HWI < 64 code in a couple of places.

2015-05-12  Uros Bizjak  <ubizjak@gmail.com>

    * config/alpha/alpha.h (TARGET_SUPPORTS_WIDE_INT): New define.
    * config/alpha/alpha.c (alpha_rtx_costs): Handle CONST_WIDE_INT.
    (alpha_extract_integer): Ditto.
    (alpha_legitimate_constant_p): Ditto.
    (alpha_split_tmode_pair): Ditto.
    (alpha_preferred_reload_class): Add CONST_WIDE_INT.
    (alpha_expand_mov): Ditto.
    (print_operand): Remove handling of 'H' modifier.
    <case 'm'>: Remove CONST_DOUBLE handling.
    (summarize_insn): Handle CONST_WIDE_INT.
    * config/alpha/alpha.md (*andsi_internal): Remove H constraint.
    (anddi3): Ditto.
    (movti): Handle CONST_WIDE_INT.
    * config/alpha/constraints.md ('H'): Remove constraint definition.
    ('G'): Do not match MODE_FLOAT class.
    * config/alpha/predicates.md (const0_operand): Also match
    const_wide_int.
    (non_add_const_operand): Ditto.
    (non_zero_const_operand): Ditto.
    (some_operand): Ditto.
    (input_operand): Ditto.  Handle CONST_WIDE_INT.
    (and_operand): Do not match const_double.
    * config/alpha/sync.md (fetchop_constr): Remove H constraint.

Bootstrapped and regression tested on alphaev68-linux-gnu,
bootstrapped on alpha-linux-gnu, regression test on alpha-linux-gnu
still in the progress.

OK for mainline?

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]