[PATCH][ARM] Disable store_minmaxsi pattern for arm_restrict_i
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 1 Oct 2014 13:12:37 +0000 (13:12 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 1 Oct 2014 13:12:37 +0000 (13:12 +0000)
* config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.

From-SVN: r215760

gcc/ChangeLog
gcc/config/arm/arm.md

index 8fe588c444dc490cfa01bb278c88e5a2d7c51ff6..89c8efc31be35ea6577c3085c5e14f121b7bd7a8 100644 (file)
@@ -1,3 +1,7 @@
+2014-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/arm/arm.md (*store_minmaxsi): Disable for arm_restrict_it.
+
 2014-09-30  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (fmodxf3): Enable for flag_finite_math_only only.
index e691562ac751f2dbbddd14725125e2a56626b8cd..2e7b0799c9e7363deb32b2df2d50c610547fef57 100644 (file)
         [(match_operand:SI 1 "s_register_operand" "r")
          (match_operand:SI 2 "s_register_operand" "r")]))
    (clobber (reg:CC CC_REGNUM))]
-  "TARGET_32BIT && optimize_function_for_size_p (cfun)"
+  "TARGET_32BIT && optimize_function_for_size_p (cfun) && !arm_restrict_it"
   "*
   operands[3] = gen_rtx_fmt_ee (minmax_code (operands[3]), SImode,
                                operands[1], operands[2]);