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]: Remove some_operand and some_ni_operand


We can use general_operand instead of some_operand.

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

    * config/alpha/alpha.md (extendqidi2): Use general_operand
    instead of some_operand for operand[1] predicate.
    (extendhidi2): Ditto.
    (cbranchdi4): Use general_operand instead of some_operand
    for operand[1] and operands[2] predicates.
    (cstoredi4): Ditto.
    * config/alpha/predicates.md (some_operand): Remove unused predicate.
    (some_ni_operand): Ditto.

Tested on alpha-linux-gnu.

Richard, does this look OK to you, or is there any other reason that
general_operand predicates were not used here?

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]