]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386.md (general_sext_operand): New mode attr.
authorJakub Jelinek <jakub@redhat.com>
Tue, 25 Mar 2014 21:47:41 +0000 (22:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 25 Mar 2014 21:47:41 +0000 (22:47 +0100)
commitd1873c577e44f13659140c348df7c46c354e3d26
tree90bb464a57ef483773fda01901c9e456ed83995e
parent5ec16257caebe7fb1fe3595f523acfbb383c9d60
i386.md (general_sext_operand): New mode attr.

* config/i386/i386.md (general_sext_operand): New mode attr.
(addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT,
don't generate (sign_extend (const_int)).
(*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P
operands[2].  Use We constraint instead of <i> and <general_sext_operand>
predicate instead of <general_operand>.
(*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns.
* config/i386/constraints.md (We): New constraint.
* config/i386/predicates.md (x86_64_sext_operand,
sext_operand): New predicates.

From-SVN: r208824
gcc/ChangeLog
gcc/config/i386/constraints.md
gcc/config/i386/i386.md
gcc/config/i386/predicates.md