* gcc/genrecog.cc (print_nonbool_test): Fix type error of
SUBREG_BYTE
---
gcc/genrecog.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/genrecog.cc b/gcc/genrecog.cc
index 77f8fb97853..319e437e334 100644
--- a/gcc/genrecog.cc
+++ b/gcc/genrecog.cc
@@ -4619,6 +4619,7 @@
Hi,
Thank you for your review & help.
I could not fetch the merged patch from gcc master of git.
Is there any problem for this ?
Thanks.
— Jojo
在 2021年12月3日 +0800 PM10:57,Jeff Law ,写道:
>
>
> On 12/2/2021 9:26 PM, Jojo R wrote:
> > Skip renaming if
Skip renaming if instruction is noop move, and it will
been removed for performance.
gcc/
* regrename.c (find_rename_reg): Return satisfied regno
if instruction is noop move.
---
gcc/regrename.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/gcc/regrename.c
Skip renaming if instruction is noop move, and it will
been removed for performance.
gcc/
* regrename.c (find_rename_reg): Return satisfied regno
if instruction is noop move.
---
gcc/regrename.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/gcc/regrename.c
— Jojo
在 2021年11月19日 +0800 AM12:13,Jeff Law ,写道:
>
>
> On 11/16/2021 7:20 PM, Jojo R via Gcc-patches wrote:
> > — Jojo
> > 在 2021年11月16日 +0800 PM8:12,Richard Biener ,写道:
> > > On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patches
> > > wrote:
> >
— Jojo
在 2021年11月16日 +0800 PM8:12,Richard Biener ,写道:
> On Tue, Nov 16, 2021 at 12:45 PM Jojo R via Gcc-patches
> wrote:
> >
> > Skip renaming if instruction is noop move, and it will
> > been removed for performance.
>
> Is there any (target specific) test
Skip renaming if instruction is noop move, and it will
been removed for performance.
gcc/
* regrename.c (find_rename_reg): Return satisfied regno
if instruction is noop move.
---
gcc/regrename.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/regrename.c
] https://github.com/rjiejie/thead-bin-qemu
[3] lifang_...@c-sky.com
Thanks,
— Jojo
在 2021年7月22日 +0800 AM10:16,Jojo R ,写道:
>
> — Jojo
> 在 2021年7月22日 +0800 AM4:53,Jim Wilson ,写道:
> > On Tue, Jul 13, 2021 at 11:06 AM Palmer Dabbelt wrote:
> > > Is there are documentation
— Jojo
在 2021年8月16日 +0800 PM3:15,Richard Biener ,写道:
> On Fri, Aug 13, 2021 at 3:59 AM Jojo R wrote:
> >
> >
> > — Jojo
> > 在 2021年8月11日 +0800 PM6:44,Richard Biener ,写道:
> >
> > On Wed, Aug 11, 2021 at 11:28 AM Richard Sandiford
> > wrote:
>
— Jojo
在 2021年8月11日 +0800 PM6:44,Richard Biener ,写道:
> On Wed, Aug 11, 2021 at 11:28 AM Richard Sandiford
> wrote:
> >
> > Richard Biener writes:
> > > On Tue, Aug 10, 2021 at 10:33 AM Jojo R via Gcc-patches
> > > wrote:
> > > >
> > >
— Jojo
在 2021年8月10日 +0800 PM7:03,Richard Biener ,写道:
> On Tue, Aug 10, 2021 at 10:33 AM Jojo R via Gcc-patches
> wrote:
> >
> > Some target like RISC-V allow to group vector register as a whole,
> > and only operate part of it in fact, but the 'init-regs' pass will
— Jojo
在 2021年8月10日 +0800 PM7:03,Richard Biener ,写道:
> On Tue, Aug 10, 2021 at 10:33 AM Jojo R via Gcc-patches
> wrote:
> >
> > Some target like RISC-V allow to group vector register as a whole,
> > and only operate part of it in fact, but the 'init-regs' pass will
Some target like RISC-V allow to group vector register as a whole,
and only operate part of it in fact, but the 'init-regs' pass will add
initialization
for uninitialized registers. Add this hook to reject this action for reducing
instruction.
gcc/
* init-regs.c
— Jojo
在 2021年7月22日 +0800 AM4:53,Jim Wilson ,写道:
> On Tue, Jul 13, 2021 at 11:06 AM Palmer Dabbelt wrote:
> > Is there are documentation as to what this "theadc" extension is?
>
> The best doc I know of is https://github.com/isrc-cas/c910-llvmThe README
> is in Chinese, but google translate
gcc/
* gcc/config/riscv/riscv-opts.h (TARGET_LDR): New.
(TARGET_LDUR): Likewise.
* gcc/config/riscv/riscv.h (INDEX_REG_CLASS): Use TARGET_LDR.
(REGNO_OK_FOR_INDEX_P): Use TARGET_LDR.
(REG_OK_FOR_INDEX_P): Use REGNO_OK_FOR_INDEX_P.
*
gcc/
* gcc/config/riscv/riscv.opt (riscv_x_subext): New.
* gcc/config/riscv/riscv-opts.h (MASK_XTHEAD_C): New.
(TARGET_XTHEAD_C): Likewise.
* gcc/common/config/riscv/riscv-common.c
(riscv_ext_flag_table): Use riscv_x_subext & MASK_XTHEAD_C.
---
T-HEAD extends some customized ISAs for Cores.
The patches support ldr/str insns, it likes arm's LDR insn, the
memory model is a base register indexed by (optionally scaled) register.
gcc/
* config/riscv/riscv.c (thead_c906_tune_info): New.
* config/riscv/riscv.c (riscv_tune_info_table): Use new tune.
---
gcc/config/riscv/riscv.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/gcc/config/riscv/riscv.c b/gcc/config/riscv/riscv.c
index
Ping … ...
Jojo
在 2020年11月6日 +0800 PM5:38,Jojo R ,写道:
> Insn seqs before sched:
>
> .L1:
> a5 = insn-1 (a0)
> a6 = insn-2 (a1)
> a7 = insn-3 (a7, a5)
> a8 = insn-4 (a8, a6)
> Jmp .L1
>
> Insn-3 & insn-4 is REG_DEP_TRUE of insn-1 & insn-2,
> so insn-3 &
Jojo
在 2020年11月6日 +0800 AM11:18,Jeff Law ,写道:
On 11/5/20 7:52 PM, Jim Wilson wrote:
On Thu, Nov 5, 2020 at 6:10 PM Jojo R wrote:
> > gcc/
> > * haifa-sched.c (rank_for_schedule): Add bypass_p
> > cost check in flag_sched_l
Jojo
在 2020年11月6日 +0800 AM11:18,Jeff Law ,写道:
On 11/5/20 7:50 PM, Jim Wilson wrote:
On Thu, Nov 5, 2020 at 6:03 PM Jojo R wrote:
> > gcc/
> > * haifa-sched.c (dep_list_costs): New.
> > (rank_for_schedule): Use dep_list_costs.
>
> Wh
Insn seqs before sched:
.L1:
a5 = insn-1 (a0)
a6 = insn-2 (a1)
a7 = insn-3 (a7, a5)
a8 = insn-4 (a8, a6)
Jmp .L1
Insn-3 & insn-4 is REG_DEP_TRUE of insn-1 & insn-2,
so insn-3 & insn-4 will be as the last of ready list.
And this patch will put 0 cost dependency due to a bypass
as highest numbered
gcc/
* haifa-sched.c (rank_for_schedule): Add bypass_p
cost check in flag_sched_last_insn_heuristic.
---
gcc/haifa-sched.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 62d1816a55d..adf63659d15
gcc/
* haifa-sched.c (dep_list_costs): New.
(rank_for_schedule): Use dep_list_costs.
---
gcc/haifa-sched.c | 31 +--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index
gcc/
* haifa-sched.c (rank_for_schedule): Add bypass_p
cost check in flag_sched_last_insn_heuristic.
---
gcc/haifa-sched.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 62d1816a55d..7d826483f55
gcc/
* haifa-sched.c (dep_list_costs): New.
(rank_for_schedule): Use dep_list_costs.
---
gcc/haifa-sched.c | 26 --
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 350178c82b8..62d1816a55d
Jojo
在 2020年10月30日 +0800 PM11:29,Richard Sandiford ,写道:
> Jojo R writes:
> > Jojo
> > 在 2020年10月27日 +0800 PM10:14,Richard Sandiford
> > ,写道:
> > > Jojo R writes:
> > > > gcc/ChangeLog:
> > > >
> > > > * genemit.c (main): Pri
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 35 +++-
gcc/genemit.c | 104 +---
2 files changed, 90 insertions(+), 49 deletions(-)
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 33 +++
gcc/genemit.c | 104 +---
2 files changed, 89 insertions(+), 48 deletions(-)
Jojo
在 2020年10月27日 +0800 PM10:14,Richard Sandiford ,写道:
> Jojo R writes:
> > gcc/ChangeLog:
> >
> > * genemit.c (main): Print 'split line'.
> > * Makefile.in (insn-emit.c): Define split count and file
> >
> > ---
> > gcc/Makef
Ping …. ….
Jojo
在 2020年10月24日 +0800 PM2:02,Jojo R ,写道:
> Hi,
>
> Has this patch been merged ?
>
> I track this some weeks and the patch has reviewed still on the way ...
>
> Could someone help me ?
>
> Thanks so much.
>
> Jojo
> 在
Hi,
Has this patch been merged ?
I track this some weeks and the patch has reviewed still on the way ...
Could someone help me ?
Thanks so much.
Jojo
在 2020年10月8日 +0800 AM10:01,Jojo R ,写道:
> Ping …...
>
> Jojo
> 在 2020年9月27日 +0800 AM10:34,Jojo R
Ping …...
Jojo
在 2020年9月27日 +0800 AM10:34,Jojo R ,写道:
> Hi,
>
> Has this patch been merged ?
>
> Jojo
> 在 2020年9月15日 +0800 PM5:16,Jojo R ,写道:
> > gcc/ChangeLog:
> >
> > * genemit.c (main): Print 'split line'.
> > * Makefile.in (insn-emit.c): Defin
Hi,
Has this patch been merged ?
Jojo
在 2020年9月15日 +0800 PM5:16,Jojo R ,写道:
> gcc/ChangeLog:
>
> * genemit.c (main): Print 'split line'.
> * Makefile.in (insn-emit.c): Define split count and file
>
> ---
> gcc/Makefile.in | 19 +
gcc/ChangeLog:
* config/csky/csky.opt (msim): New.
* doc/invoke.texi (C-SKY Options): Document -msim.
* config/csky/csky-elf.h (LIB_SPEC): Add simulator runtime.
---
gcc/config/csky/csky-elf.h | 10 --
gcc/config/csky/csky.opt | 4
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog:
* lib/target-supports.exp (check_profiling_available): Refine name of
elf target.
---
gcc/testsuite/lib/target-supports.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/lib/target-supports.exp
gcc/ChangeLog:
* config.gcc (C-SKY): Set use_gcc_stdint=wrap for elf target.
---
gcc/config.gcc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 797f0ad..845f10e 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1543,6 +1543,7 @@ csky-*-*)
libgcc/ChangeLog:
* config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf
target.
---
libgcc/config.host | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgcc/config.host b/libgcc/config.host
index 7a3e29d..dbb378f 100644
--- a/libgcc/config.host
+++
gcc/ChangeLog:
* config/csky/t-csky-linux (CSKY_MULTILIB_OSDIRNAMES): Use mfloat-abi.
(MULTILIB_OPTIONS): Likewise.
* config/csky/t-csky-elf (MULTILIB_OPTIONS): Likewise.
(MULTILIB_EXCEPTIONS): Likewise.
---
gcc/config/csky/t-csky-elf | 13 -
gcc/ChangeLog:
* config/csky/csky-linux-elf.h (GLIBC_DYNAMIC_LINKER): Use mfloat-abi.
---
gcc/config/csky/csky-linux-elf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/csky/csky-linux-elf.h b/gcc/config/csky/csky-linux-elf.h
index 9a57dd04..cf587ae
Hi,
Ok & Thanks, I will do my best for it :)
It’s fixed in patch v7.
Jojo
在 2020年9月11日 +0800 PM11:29,Segher Boessenkool ,写道:
> Hi!
>
> On Fri, Sep 11, 2020 at 03:26:17PM +0800, Jojo R wrote:
> > +#define printf_include() do { \
>
> Don't use macr
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 19 +
gcc/genemit.c | 104 +---
2 files changed, 83 insertions(+), 40 deletions(-)
diff
gcc/ChangeLog:
* config/csky/csky.md (CSKY_NPARM_FREGS): New.
(call_value_internal_vs/d): New.
(untyped_call): New.
* config/csky/csky.h (TARGET_SINGLE_FPU): New.
(TARGET_DOUBLE_FPU): New.
(FUNCTION_VARG_REGNO_P): New.
(CSKY_VREG_MODE_P):
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 19 +++
gcc/genemit.c | 128 ++--
2 files changed, 89 insertions(+), 58 deletions(-)
diff
Hi,
Ok & Thanks,
It’s fixed in patch v6.
Jojo
在 2020年8月28日 +0800 PM5:52,Richard Sandiford ,写道:
> Thanks for doing this. In addition to what Segher said:
>
> Jojo R writes:
> > gcc/ChangeLog:
> >
> > * genemit.c (main): Print 'split line'.
> >
Hi,
Ok & Thanks,
It’s fixed in patch v6.
Jojo
在 2020年8月28日 +0800 AM4:40,Segher Boessenkool ,写道:
> Hi!
>
> On Thu, Aug 27, 2020 at 08:47:19PM +0800, Jojo R wrote:
> > +insn-emit-split-c = $(foreach o, $(shell for i in
> > {1..$(insn-generated-split
gcc/ChangeLog:
* config.gcc (C-SKY): Add compatibility of elf target name.
libgcc/ChangeLog:
* config.host (C-SKY): Add compatibility of elf target name.
---
gcc/config.gcc | 2 +-
libgcc/config.host | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
Hi,
Ok & thanks, I will reroll this :)
Jojo
在 2020年8月26日 +0800 AM4:22,Jeff Law ,写道:
> On Fri, 2020-08-21 at 14:18 +0800, Jojo R wrote:
> > gcc/ChangeLog:
> >
> > * config/csky/csky.opt (TARGET_BACKTRACE): New.
> > * doc/invoke.texi (C-SKY Options): Docume
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 15 +
gcc/genemit.c | 87 -
2 files changed, 64 insertions(+), 38 deletions(-)
diff
Jojo
在 2020年8月2日 +0800 AM8:09,Segher Boessenkool ,写道:
> On Sat, Aug 01, 2020 at 07:02:07PM +0800, Jojo R wrote:
> > +insn-generated-split-num = $(shell nproc)
>
> nproc isn't portable, is not the same on every system, and can lead to
> a number of processes quadratic in the nu
gcc/ChangeLog:
* config/csky/csky.opt (TARGET_BACKTRACE): New.
* doc/invoke.texi (C-SKY Options): Document -mbacktrace.
---
gcc/config/csky/csky.opt | 4
gcc/doc/invoke.texi | 7 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git
ns of C formatting style, which use the
> defualt 8 clumns tab wide.
>
>
> On 8/18/20 9:42 AM, Jojo R wrote:
> > Hi,
> >
> > Is there coding rule with it ?
> >
> > I can not find it from
> > https://www.gnu.org/prep/standards/html_node/index.html
> &g
Hi Jojo,
>
>
> On 8/17/20 7:09 PM, Jojo R wrote:
> > diff --git a/gcc/config/csky/csky.c b/gcc/config/csky/csky.c
> > index 7ba3ed3..b71291a 100644
> > --- a/gcc/config/csky/csky.c
> > +++ b/gcc/config/csky/csky.c
> > @@ -328,6 +328,16 @
gcc/ChangeLog:
* config/csky/csky.md (CSKY_NPARM_FREGS): New.
(call_value_internal_vs/d): New.
(untyped_call): New.
* config/csky/csky.h (TARGET_SINGLE_FPU): New.
(TARGET_DOUBLE_FPU): New.
(FUNCTION_VARG_REGNO_P): New.
(CSKY_VREG_MODE_P):
gcc/ChangeLog:
* config/csky/csky.md (CSKY_NPARM_FREGS): New.
(call_value_internal_vs/d): New.
(untyped_call): New.
* config/csky/csky.h (TARGET_SINGLE_FPU): New.
(TARGET_DOUBLE_FPU): New.
(FUNCTION_VARG_REGNO_P): New.
(CSKY_VREG_MODE_P):
Hi,
Ok & thanks.
Jojo
在 2020年8月14日 +0800 PM3:02,Xianmiao Qu ,写道:
> Hi Jojo,
>
> > gcc/ChangeLog:
> > * gcc/config/csky/csky-elf.h (ASM_SPEC): Use mfloat-abi.
> > * gcc/config/csky/csky-linux-elf.h (ASM_SPEC): mfloat-abi.
> >
> I have committed it to trunk. But there two points you shoud
gcc/ChangeLog:
* gcc/config/csky/csky-elf.h (ASM_SPEC): Use mfloat-abi.
* gcc/config/csky/csky-linux-elf.h (ASM_SPEC): mfloat-abi.
---
gcc/config/csky/csky-elf.h | 2 ++
gcc/config/csky/csky-linux-elf.h | 2 ++
2 files changed, 4 insertions(+)
diff --git
From: jojo
gcc/ChangeLog:
* config/csky/csky_opts.h (float_abi_type): New.
* config/csky/csky.h (TARGET_SOFT_FLOAT): New.
(TARGET_HARD_FLOAT): New.
(TARGET_HARD_FLOAT_ABI): New.
(OPTION_DEFAULT_SPECS): Use mfloat-abi.
* config/csky/csky.opt
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 11 +++
gcc/genemit.c | 87 -
2 files changed, 60 insertions(+), 38 deletions(-)
diff
gcc/ChangeLog:
* config/csky/csky_opts.h (float_abi_type): New.
* config/csky/csky.h (TARGET_SOFT_FLOAT): New.
(TARGET_HARD_FLOAT): New.
(TARGET_HARD_FLOAT_ABI): New.
(OPTION_DEFAULT_SPECS): Use mfloat-abi.
* config/csky/csky.opt (mfloat-abi): New.
在 2020年7月24日 +0800 PM9:19,Segher Boessenkool ,写道:
> On Fri, Jul 24, 2020 at 12:03:16PM +0200, Richard Biener via Gcc-patches
> wrote:
> > On Fri, Jul 24, 2020 at 10:13 AM Rainer Orth
> > wrote:
> > > Jojo R writes:
> > > > +insn-generated-split-num = $
在 2020年7月24日 +0800 PM9:57,Joseph Myers ,写道:
> On Fri, 24 Jul 2020, Jojo R wrote:
>
> > + -csplit insn-$*.c /parallel\ compilation/ -k -s
> > {$(insn-generated-split-num)} -f insn-$* -b "%d.c"
> > + -( [ ! -s insn-$*0.c ] && for i in {1..$(insn-generat
在 2020年7月24日 +0800 PM6:03,Richard Biener ,写道:
> On Fri, Jul 24, 2020 at 10:13 AM Rainer Orth
> wrote:
> >
> > Jojo R writes:
> >
> > > gcc/ChangeLog:
> > >
> > > * genemit.c (main): Print 'split line'.
> > > * Makefile.in (insn-emi
在 2020年7月24日 +0800 PM4:12,Rainer Orth ,写道:
> Jojo R writes:
>
> > gcc/ChangeLog:
> >
> > * genemit.c (main): Print 'split line'.
> > * Makefile.in (insn-emit.c): Define split count and file
> [...]
> > diff --git a/gcc/Makefile.in b/gcc/Makefile.in
&g
gcc/ChangeLog:
* genemit.c (main): Print 'split line'.
* Makefile.in (insn-emit.c): Define split count and file
---
gcc/Makefile.in | 10 ++
gcc/genemit.c | 87 -
2 files changed, 59 insertions(+), 38 deletions(-)
diff --git
在 2020年7月21日 +0800 PM2:55,Bin.Cheng ,写道:
> On Tue, Jul 21, 2020 at 11:14 AM Jojo wrote:
> >
> > gcc/ChangeLog:
> >
> > * genemit.c (main): Print 'split line'.
> > * Makefile.in (insn-emit.c): Define split count and file
> >
>
> Thanks for working one this, following comments are based on the
>
Hi,
The size of generated file like insn-emit.c is very huge
if we add lots of define_expand patten or define_insn patten.
It’s present easily when there are much more intrinsic interfaces
it costs much more time to create toolchain with compiling these files
:(
67 matches
Mail list logo