Re: FW: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-07-12 Thread Eric Botcazou
> 2013-07-12 Bin Cheng > > * ifcvt.c (ifcvt_after_combine): New static variable. > (cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing > for size. > (if_convert): New parameter after_combine. Set ifcvt_after_combine. > (rest_of_handle_if_conversio

RE: FW: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-07-11 Thread Bin Cheng
> -Original Message- > From: Eric Botcazou [mailto:ebotca...@adacore.com] > Sent: Wednesday, July 10, 2013 5:06 PM > To: Bin Cheng > Cc: gcc-patches@gcc.gnu.org > Subject: Re: FW: [PATCH GCC]Relax the probability condition in CE pass when > optimizing for code size &

Re: FW: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-07-10 Thread Eric Botcazou
> 2013-03-25 Bin Cheng > > * ifcvt.c (ifcvt_after_combine): New static variable. > (cheap_bb_rtx_cost_p): Set scale to REG_BR_PROB_BASE when optimizing > for size. > (rest_of_handle_if_conversion, rest_of_handle_if_after_combine): > Clear/set the variable ifcvt_aft

Re: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-04-08 Thread Jeff Law
ject: RE: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size -Original Message- From: Joern Rennecke [mailto:joern.renne...@embecosm.com] Sent: Monday, March 25, 2013 8:53 PM To: Bin Cheng Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH GCC]Relax the probabi

RE: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-04-06 Thread Bin Cheng
CH GCC]Relax the probability condition in CE pass when > optimizing for code size > > > > > -Original Message- > > From: Joern Rennecke [mailto:joern.renne...@embecosm.com] > > Sent: Monday, March 25, 2013 8:53 PM > > To: Bin Cheng > > Cc: gcc-pa

RE: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-03-26 Thread Bin Cheng
> -Original Message- > From: Joern Rennecke [mailto:joern.renne...@embecosm.com] > Sent: Monday, March 25, 2013 8:53 PM > To: Bin Cheng > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH GCC]Relax the probability condition in CE pass when > optimizing for code

Re: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-03-25 Thread Joern Rennecke
Quoting Bin Cheng : During the work I observed passes before combine might interfere with CE pass, so this patch is enabled for ce2/ce3 after combination pass. It is tested on x86/thumb2 for both normal and Os. Is it ok for trunk? There are bound to be target and application specific variatio

FW: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size

2013-03-25 Thread Bin Cheng
Wrong list. -Original Message- From: Bin Cheng [mailto:bin.ch...@arm.com] Sent: Monday, March 25, 2013 3:01 PM To: g...@gcc.gnu.org Subject: [PATCH GCC]Relax the probability condition in CE pass when optimizing for code size Hi, The CE pass has been adapted to work with the probability