i386.md (*jcc_bt<mode>): Only allow const_int values more than or equal 8 and less...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 8 Jul 2015 09:31:34 +0000 (11:31 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 8 Jul 2015 09:31:34 +0000 (11:31 +0200)
* config/i386/i386.md (*jcc_bt<mode>): Only allow const_int values
more than or equal 8 and less than 32 when optimizing for size.

From-SVN: r225539

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

index 796706c..fa6df55 100644 (file)
@@ -1,3 +1,8 @@
+2015-07-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*jcc_bt<mode>): Only allow const_int values
+       more than or equal 8 and less than 32 when optimizing for size.
+
 2015-07-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/arm/arm.c (arm_new_rtx_costs): Initialise cost to
index 93c5772..e7df31d 100644 (file)
    && (CONST_INT_P (operands[2])
        ? (INTVAL (operands[2]) < GET_MODE_BITSIZE (<MODE>mode)
          && INTVAL (operands[2])
-              >= (optimize_function_for_size_p (cfun) ? 0 : 32))
+              >= (optimize_function_for_size_p (cfun) ? 8 : 32))
        : register_operand (operands[2], SImode))
    && can_create_pseudo_p ()"
   "#"