From eb63d211c026c60a3dcbddac31042e5e39975d90 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 8 Jul 2015 11:31:34 +0200 Subject: [PATCH] i386.md (*jcc_bt): Only allow const_int values more than or equal 8 and less than 32 when... * config/i386/i386.md (*jcc_bt): Only allow const_int values more than or equal 8 and less than 32 when optimizing for size. From-SVN: r225539 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 796706cafe7..fa6df55e5ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-08 Uros Bizjak + + * config/i386/i386.md (*jcc_bt): Only allow const_int values + more than or equal 8 and less than 32 when optimizing for size. + 2015-07-08 Kyrylo Tkachov * config/arm/arm.c (arm_new_rtx_costs): Initialise cost to diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 93c57723814..e7df31dd57c 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -10811,7 +10811,7 @@ && (CONST_INT_P (operands[2]) ? (INTVAL (operands[2]) < GET_MODE_BITSIZE (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 ()" "#" -- 2.30.2