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, i386]: Fix a couple of XOP issues


Hello!

There is no point to use nonimmediate_operand predicate, if the insn
accepts only register operands.  Also, the patch fixes wrong selectors
for horizontal add insn.

2012-08-11  Uros Bizjak  <ubizjak@gmail.com>

        * config/i386/sse.md (xop integer multiply/add insns): Use
        register_operand for operand 3 predicate.
        (xop_phadd<u>bq):  Fix vec_select selectors.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline. Wrong
selectors fix will be backported to 4.7.

Uros.

Attachment: x.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]