https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82098

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-09-04
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com
     Ever confirmed|0                           |1

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Oops ... patch in testing.

--cut here--
Index: i386.md
===================================================================
--- i386.md     (revision 251662)
+++ i386.md     (working copy)
@@ -11033,8 +11033,9 @@
                (match_operand:SI 2 "const_int_operand")) 0))
          (match_operand:SWI48 3 "register_operand")))
    (clobber (reg:CC FLAGS_REG))]
-  "(INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
-   == GET_MODE_BITSIZE (<MODE>mode)-1
+  "TARGET_USE_BT
+   && (INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
+      == GET_MODE_BITSIZE (<MODE>mode)-1
    && can_create_pseudo_p ()"
   "#"
   "&& 1"
@@ -11073,8 +11074,9 @@
                (match_operand:SI 2 "const_int_operand")) 0))
          (match_operand:SWI48 3 "register_operand")))
    (clobber (reg:CC FLAGS_REG))]
-  "(INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
-   == GET_MODE_BITSIZE (<MODE>mode)-1
+  "TARGET_USE_BT
+   && (INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
+      == GET_MODE_BITSIZE (<MODE>mode)-1
    && can_create_pseudo_p ()"
   "#"
   "&& 1"
--cut here--

Reply via email to