On 06/05/14 15:37, Richard Sandiford wrote:
This patch extends patch 4 to have a CT_CONST_INT type for CONST_INT
constraints ('I'-'P'), which are already handled by things like
constraint_satisfied_p.  On its own this has little effect, since most
places handle 'I'-'P' as a separate case statement anyway.  It's really
just making way for the final patch.

It might be worth adding a define_const_int_constraint so that 'I'-'P'
are less special.

Richard


gcc/
        * genpreds.c (const_int_start, const_int_end): New variables.
        (choose_enum_order): Output CONST_INT constraints before memory
        constraints.
        (write_tm_preds_h): Always define insn_const_int_ok_for_constraint.
        Add CT_CONST_INT.
        * ira-costs.c (record_reg_classes): Handle CT_CONST_INT.
        * ira.c (ira_setup_alts): Likewise.
        * lra-constraints.c (process_alt_operands): Likewise.
        * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
        * reload.c (find_reloads): Likewise.
OK once prerequisites are OK'd.

Jeff

Reply via email to