diff mbox

[i386] : Make mul operand commutative

Message ID CAFULd4ZFcEMiwDj_+-VK+Lqty7oyS07H3bWYO=+ZnJ3Zj58=aA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak April 24, 2015, 7:42 a.m. UTC
Hello!

2015-04-24  Uros Bizjak  <ubizjak@gmail.com>

    * config/i386/sse.md (*vec_widen_smult_even_v8si<mask_name>):
    Mark operand1 commutative.

Tested on x86_64-linux-gnu {,-m32} and committed to mainline and 5.0 branch.

Uros.
diff mbox

Patch

Index: config/i386/sse.md
===================================================================
--- config/i386/sse.md  (revision 222401)
+++ config/i386/sse.md  (working copy)
@@ -9523,7 +9523,7 @@ 
        (mult:V4DI
          (sign_extend:V4DI
            (vec_select:V4SI
-             (match_operand:V8SI 1 "nonimmediate_operand" "v")
+             (match_operand:V8SI 1 "nonimmediate_operand" "%v")
              (parallel [(const_int 0) (const_int 2)
                         (const_int 4) (const_int 6)])))
          (sign_extend:V4DI