On Wed, Nov 13, 2013 at 7:26 PM, Richard Biener
wrote:
> On Wed, Nov 13, 2013 at 12:18 PM, Bin.Cheng wrote:
>> On Thu, Nov 7, 2013 at 6:47 PM, Richard Biener
>> wrote:
>>> On Wed, Nov 6, 2013 at 6:06 PM, Richard Sandiford
>>> wrote:
Hi,
"bin.cheng" writes:
> Index: gcc/tree-
On Wed, Nov 13, 2013 at 12:18 PM, Bin.Cheng wrote:
> On Thu, Nov 7, 2013 at 6:47 PM, Richard Biener
> wrote:
>> On Wed, Nov 6, 2013 at 6:06 PM, Richard Sandiford
>> wrote:
>>> Hi,
>>>
>>> "bin.cheng" writes:
Index: gcc/tree-ssa-loop-ivopts.c
===
On Thu, Nov 7, 2013 at 6:47 PM, Richard Biener
wrote:
> On Wed, Nov 6, 2013 at 6:06 PM, Richard Sandiford
> wrote:
>> Hi,
>>
>> "bin.cheng" writes:
>>> Index: gcc/tree-ssa-loop-ivopts.c
>>> ===
>>> --- gcc/tree-ssa-loop-ivopts.c
On Wed, Nov 6, 2013 at 6:06 PM, Richard Sandiford
wrote:
> Hi,
>
> "bin.cheng" writes:
>> Index: gcc/tree-ssa-loop-ivopts.c
>> ===
>> --- gcc/tree-ssa-loop-ivopts.c(revision 203267)
>> +++ gcc/tree-ssa-loop-ivopts.c(w
On Thu, Nov 7, 2013 at 1:06 AM, Richard Sandiford
wrote:
> Hi,
>
> "bin.cheng" writes:
>> Index: gcc/tree-ssa-loop-ivopts.c
>> ===
>> --- gcc/tree-ssa-loop-ivopts.c(revision 203267)
>> +++ gcc/tree-ssa-loop-ivopts.c(w
Hi,
"bin.cheng" writes:
> Index: gcc/tree-ssa-loop-ivopts.c
> ===
> --- gcc/tree-ssa-loop-ivopts.c(revision 203267)
> +++ gcc/tree-ssa-loop-ivopts.c(working copy)
> @@ -2037,12 +2037,12 @@ find_interesting_uses (struc
t;>
>>>> Patch a:
>>>> 2013-10-17 Bin Cheng
>>>>
>>>> * tree-ssa-loop-ivopts.c (strip_offset_1): Change parameter type.
>>>> Count DECL_FIELD_BIT_OFFSET when computing offset for
>>>> COMPONENT_REF.
>>>&g
t;>>
>>> Patch b:
>>> 2013-10-17 Bin Cheng
>>>
>>> * fold-const.c (fold_plusminus_mult_expr): Use int_cst_value instead
>>> of TREE_INT_CST_LOW.
>>>
>>> gcc/testsuite/ChangeLog
>&g
t_cst_value instead
>> of TREE_INT_CST_LOW.
>>
>> gcc/testsuite/ChangeLog
>> 2013-10-17 Bin Cheng
>>
>> * gcc.dg/tree-ssa/ivopts-outside-loop-use-1.c: New test.
>>
>>> -Original Message-
>>> From: Richard Biene
Bin Cheng
>>
>> * fold-const.c (fold_plusminus_mult_expr): Use int_cst_value instead
>> of TREE_INT_CST_LOW.
>>
>> gcc/testsuite/ChangeLog
>> 2013-10-17 Bin Cheng
>>
>> * gcc.dg/tree-ssa/ivopts-outside-loop-use-1.c: New test.
On Fri, Oct 18, 2013 at 2:26 PM, Bernd Schmidt wrote:
> On 10/18/2013 02:10 PM, Richard Biener wrote:
>> On Fri, Oct 18, 2013 at 2:02 PM, Bernd Schmidt
>> wrote:
>>> On 10/18/2013 01:18 PM, Richard Biener wrote:
>>>
Index: gcc/fold-const.c
==
On 10/18/2013 02:10 PM, Richard Biener wrote:
> On Fri, Oct 18, 2013 at 2:02 PM, Bernd Schmidt
> wrote:
>> On 10/18/2013 01:18 PM, Richard Biener wrote:
>>
>>> Index: gcc/fold-const.c
>>> ===
>>> --- gcc/fold-const.c (revision 203267
On Fri, Oct 18, 2013 at 2:02 PM, Bernd Schmidt wrote:
> On 10/18/2013 01:18 PM, Richard Biener wrote:
>
>> Index: gcc/fold-const.c
>> ===
>> --- gcc/fold-const.c (revision 203267)
>> +++ gcc/fold-const.c (working copy)
>> @@ -7270,8 +
On 10/18/2013 01:18 PM, Richard Biener wrote:
> Index: gcc/fold-const.c
> ===
> --- gcc/fold-const.c (revision 203267)
> +++ gcc/fold-const.c (working copy)
> @@ -7270,8 +7270,8 @@ fold_plusminus_mult_expr (location_t loc, enum tre
>
0-17 Bin Cheng
>
> * gcc.dg/tree-ssa/ivopts-outside-loop-use-1.c: New test.
>
>> -Original Message-
>> From: Richard Biener [mailto:richard.guent...@gmail.com]
>> Sent: Wednesday, October 02, 2013 4:32 PM
>> To: Bin.Cheng
>> Cc: Bin Cheng; GCC Patch
s
> Subject: Re: [PATCH]Fix computation of offset in ivopt
>
> On Tue, Oct 1, 2013 at 6:13 PM, Bin.Cheng wrote:
> > On Tue, Oct 1, 2013 at 6:50 PM, Richard Biener
> > wrote:
> >> On Mon, Sep 30, 2013 at 7:39 AM, bin.cheng
> wrote:
> >>>
> >>>
On Tue, Oct 1, 2013 at 6:50 PM, Richard Biener
wrote:
> On Mon, Sep 30, 2013 at 7:39 AM, bin.cheng wrote:
>>
>
> I don't think you need
>
> + /* Sign extend off if expr is in type which has lower precision
> + than HOST_WIDE_INT. */
> + if (TYPE_PRECISION (TREE_TYPE (expr)) <= HOST_BITS_P
Sorry that I don't understand tree type system well, so here are two
more questions, could you please explain little bit more? Thanks very
much.
On Tue, Oct 1, 2013 at 6:50 PM, Richard Biener
wrote:
> On Mon, Sep 30, 2013 at 7:39 AM, bin.cheng wrote:
>
> I don't think you need
>
> + /* Sign ex
On Tue, Oct 1, 2013 at 6:13 PM, Bin.Cheng wrote:
> On Tue, Oct 1, 2013 at 6:50 PM, Richard Biener
> wrote:
>> On Mon, Sep 30, 2013 at 7:39 AM, bin.cheng wrote:
>>>
>>>
>>
>> I don't think you need
>>
>> + /* Sign extend off if expr is in type which has lower precision
>> + than HOST_WIDE_IN
On Tue, Oct 1, 2013 at 6:50 PM, Richard Biener
wrote:
> On Mon, Sep 30, 2013 at 7:39 AM, bin.cheng wrote:
>>
>>
>
> I don't think you need
>
> + /* Sign extend off if expr is in type which has lower precision
> + than HOST_WIDE_INT. */
> + if (TYPE_PRECISION (TREE_TYPE (expr)) <= HOST_BITS
On Mon, Sep 30, 2013 at 7:39 AM, bin.cheng wrote:
>
>
>> -Original Message-
>> From: Richard Biener [mailto:richard.guent...@gmail.com]
>> Sent: Friday, September 27, 2013 4:30 PM
>> To: Bin Cheng
>> Cc: GCC Patches
>> Subject: Re: [PATCH]Fix c
> -Original Message-
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of Oleg Endo
> Sent: Wednesday, September 25, 2013 1:41 AM
> To: Richard Biener
> Cc: Bin Cheng; GCC Patches
> Subject: Re: [PATCH]Fix computati
> -Original Message-
> From: Richard Biener [mailto:richard.guent...@gmail.com]
> Sent: Friday, September 27, 2013 4:30 PM
> To: Bin Cheng
> Cc: GCC Patches
> Subject: Re: [PATCH]Fix computation of offset in ivopt
>
> On Fri, Sep 27, 2013 at 7:07 AM, bin.cheng w
On Fri, Sep 27, 2013 at 7:07 AM, bin.cheng wrote:
>
>
>> -Original Message-
>> From: Richard Biener [mailto:richard.guent...@gmail.com]
>> Sent: Tuesday, September 24, 2013 6:31 PM
>> To: Bin Cheng
>> Cc: GCC Patches
>> Subject: Re: [PATCH]Fix c
> -Original Message-
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-
> ow...@gcc.gnu.org] On Behalf Of bin.cheng
> Sent: Friday, September 27, 2013 1:07 PM
> To: 'Richard Biener'
> Cc: GCC Patches
> Subject: RE: [PATCH]Fix
> -Original Message-
> From: Richard Biener [mailto:richard.guent...@gmail.com]
> Sent: Tuesday, September 24, 2013 6:31 PM
> To: Bin Cheng
> Cc: GCC Patches
> Subject: Re: [PATCH]Fix computation of offset in ivopt
>
> On Tue, Sep 24, 2013 at 11
On Tue, 2013-09-24 at 12:31 +0200, Richard Biener wrote:
> On Tue, Sep 24, 2013 at 11:13 AM, bin.cheng wrote:
> > Hi,
> > This patch fix two minor bugs when computing offset in IVOPT.
> > 1) Considering below example:
> > #define MAX 100
> > struct tag
> > {
> > int i;
> > int j;
> > }
> > str
On Tue, Sep 24, 2013 at 11:13 AM, bin.cheng wrote:
> Hi,
> This patch fix two minor bugs when computing offset in IVOPT.
> 1) Considering below example:
> #define MAX 100
> struct tag
> {
> int i;
> int j;
> }
> struct tag arr[MAX]
>
> int foo (int len)
> {
> int i = 0;
> for (; i < len; i
Hi,
This patch fix two minor bugs when computing offset in IVOPT.
1) Considering below example:
#define MAX 100
struct tag
{
int i;
int j;
}
struct tag arr[MAX]
int foo (int len)
{
int i = 0;
for (; i < len; i++)
{
access arr[i].j;
}
}
Without this patch, the offset computed by st
29 matches
Mail list logo