OSDN Git Service

PR target/45327
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Aug 2010 22:37:03 +0000 (22:37 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Aug 2010 22:37:03 +0000 (22:37 +0000)
* config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use
ix86_binary_operator_ok.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163357 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.md

index 83ab94b..f7e5e33 100644 (file)
@@ -1,5 +1,11 @@
 2010-08-18  Uros Bizjak  <ubizjak@gmail.com>
 
+       PR target/45327
+       * config/i386/i386.md (<any_or:code><SWI:mode>_3): Do not use
+       ix86_binary_operator_ok.
+
+2010-08-18  Uros Bizjak  <ubizjak@gmail.com>
+
        * config/i386/i386.md (*add<mode>_1) <TYPE_LEA>: Split insn to lea.
        <default>:  Swap operands 1 and 2 for alternative 2 to use existing
        code to output insn mnemonic.  Fix comment.
index 8d61bb6..6215f19 100644 (file)
                 (const_int 0)))
    (clobber (match_scratch:SWI 0 "=<r>"))]
   "ix86_match_ccmode (insn, CCNOmode)
-   && ix86_binary_operator_ok (<CODE>, <MODE>mode, operands)"
+   && !(MEM_P (operands[1]) && MEM_P (operands[2]))"
   "<logic>{<imodesuffix>}\t{%2, %0|%0, %2}"
   [(set_attr "type" "alu")
    (set_attr "mode" "<MODE>")])