Re: [PATCH] gcc: config: tilegx: Reserve prev insn when delete useless insn

2016-12-12 Thread chengang
From: Chen Gang On Sat, Dec 10, 2016 at 03:38:10PM +, Bernd Edlinger wrote: > On 12/10/16 12:23, cheng...@emindsoft.com.cn wrote: > > From: Chen Gang > > > > When check bundle, gcc may still need modify the prev insn. Original > > implementation will lose the prev insn. > > > > Also correct

[PATCH] gcc: config: tilegx: Reserve prev insn when delete useless insn

2016-12-10 Thread chengang
From: Chen Gang When check bundle, gcc may still need modify the prev insn. Original implementation will lose the prev insn. Also correct the coding styles of relate code. 2016-12-10 Chen Gang gcc/ PR target/78222 * tilegx.c (tilegx_gen_bundle): Reserve prev insn when

[PATCH v4] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount

2016-11-05 Thread chengang
From: Chen Gang r10 may also be as parameter stack pointer for the nested function, so need save it before call mcount. Also clean up code: use '!' instead of "== 0" for checking static_chain_decl and compute_total_frame_size. 2016-11-06 Chen Gang gcc/ PR target/71331

[PATCH v3] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount

2016-06-04 Thread chengang
From: Chen Gang r10 may also be as parameter stack pointer for the nested function, so need save it before call mcount. Also clean up code: use '!' instead of "== 0" for checking static_chain_decl and compute_total_frame_size. 2016-06-04 Chen Gang gcc/ PR target/71331

[PATCH v2] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount

2016-06-02 Thread chengang
From: Chen Gang r10 may also be as parameter stack pointer for the nested function, so need save it before call mcount. 2016-06-03 Chen Gang gcc/ PR target/71331 * config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount. --- gc

[PATCH] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount

2016-05-29 Thread chengang
From: Chen Gang r10 may also be as parameter for the nested function, so need save it before call mcount. 2016-05-29 Chen Gang * config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount. --- gcc/config/tilegx/tilegx.c | 14 -- 1 fil