[Bug rtl-optimization/103296] Select satisfied register for deleting noop move instruction.

2021-11-16 Thread rjiejie at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103296 --- Comment #1 from jojo --- My patch here: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584589.html

[Bug rtl-optimization/103296] New: Select satisfied register for deleting noop move instruction.

2021-11-16 Thread rjiejie at me dot com via Gcc-bugs
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- I found this case in my riscv vector test case, and following is snippets of problematic RTL: before register renamer

[Bug tree-optimization/98673] pass fre4 inhibit pass dom3 to create much more optimized code

2021-02-03 Thread rjiejie at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98673 --- Comment #5 from jojo --- Sorry for late :) Please test with following c case: long YTableLookup (long xValue, long xEntries, const long *xAxis, const long *yTable ) { int i ; long xDelta ; long outValue ; for (i=0;

[Bug tree-optimization/98673] pass fre4 inhibit pass dom3 to create much more optimized code

2021-01-17 Thread rjiejie at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98673 --- Comment #3 from jojo --- (In reply to jojo from comment #2) > (In reply to Richard Biener from comment #1) > > The analysis sounds a bit confused. What is the transform that DOM cannot > > do after the transform that FRE does? There's some

[Bug tree-optimization/98673] pass fre4 inhibit pass dom3 to create much more optimized code

2021-01-14 Thread rjiejie at me dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98673 --- Comment #2 from jojo --- (In reply to Richard Biener from comment #1) > The analysis sounds a bit confused. What is the transform that DOM cannot > do after the transform that FRE does? There's some older bug about > out-of-SSA >

[Bug tree-optimization/98673] New: pass fre4 inhibit pass dom3 to create much more optimized code

2021-01-14 Thread rjiejie at me dot com via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- Created attachment 49962 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49962=edit bug test file a, compiler option:

[Bug rtl-optimization/97170] Wrong optimization in fwprop pass

2020-09-23 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97170 --- Comment #2 from jojo --- (In reply to Andrew Pinski from comment #1) > target_fcvt is wrong. > try: > (define_insn "target_fcvt" > [(set (match_operand:SI 0 "register_operand" "=r") > (unspec:SI [(match_operand:SF 1

[Bug rtl-optimization/97170] New: Wrong optimization in fwprop pass

2020-09-22 Thread rjiejie at me dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- insn seqs: s1: __builtin_set_float_convert_mode(0); r1 = __builtin_load(a1, a2); r2 = __builtin_float_convert(r1); __builtin_store(a3, r2

[Bug ipa/96352] inflated text section with ipa inline

2020-07-29 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96352 --- Comment #2 from jojo --- (In reply to Richard Biener from comment #1) > It was a bugfix. If you want to have small binaries use -Os. You can also > tune the inliner with various knobs, the most important maybe > --param inline-unit-growth

[Bug ipa/96352] New: inflated text section with ipa inline

2020-07-28 Thread rjiejie at me dot com
Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 48942 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48942=edit inflated text section with ipa inline My c

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2020-07-12 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 --- Comment #38 from jojo --- (In reply to Martin Liška from comment #36) > (In reply to jojo from comment #35) > > (In reply to Martin Liška from comment #30) > > > A possible solution can be usage of '-flinker-output=nolto-rel -r' for > > >

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2020-07-09 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 jojo changed: What|Removed |Added CC||rjiejie at me dot com --- Comment #35 from jojo

[Bug target/96026] New: overlap register bewteen DEST and SOURCE in different machine mode

2020-07-02 Thread rjiejie at me dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- GCC seems to overlap register bewteen DEST and SOURCE in different machine mode, e.g. RISCV vector extension: when VMUL > 1, m

[Bug c/93045] New: gc bug with test "start_unit-test-1.c"

2019-12-22 Thread rjiejie at me dot com
mponent: c Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- /lhome/software/jojo/csky-toolchain-build-riscv/build-riscv64-linux-glibc-opt4mabi-lp64_march-rv64gc/gcc-riscv/build-gcc-linux-stage2/gcc/xgcc -B/lhome/software/jojo/csky-toolc

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-05-16 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #13 from jojo --- Hi, guys, Any solution for this issue ? My be the following patch is choice :) ? Are there issue with applied this patch ? --- tree-ssa-loop-ivopts-orig.c 2019-05-17 09:32:58.05200 +0800 +++

[Bug libstdc++/90371] gcc with newlib do not support std::mutex, std:: thread

2019-05-07 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90371 --- Comment #2 from jojo --- Thanks for your reply:) (In reply to Andrew Pinski from comment #1) > For your target, needs to fully support pthreads and a few other things. > You can look at what is needed via libstdc++/configure.ac and related

[Bug libstdc++/90371] New: gcc with newlib do not support std::mutex, std:: thread

2019-05-07 Thread rjiejie at me dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- with the following code, it's compiled error with gcc-newlib*: error: ‘mutex’ is not a member of ‘std’ and it's ok in the "gcc-

[Bug tree-optimization/90270] [8/9/10 Regression] Do not select best induction variable optimization

2019-04-28 Thread rjiejie at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90270 --- Comment #3 from jojo --- Haha..., get_address_cost() will cost down some address which is not my expected, you can get that code from my the 1st comment, i can not understand why adding that code in new version :( (In reply to Andrew

[Bug tree-optimization/90270] New: Do not select best induction variable optimization

2019-04-28 Thread rjiejie at me dot com
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rjiejie at me dot com Target Milestone: --- Using built-in specs. COLLECT_GCC=/home/jojo/work/csky/cskytoolchain/csky-toolchain-build-riscv/riscv-install/bin/riscv64-unknown-linux-gnu-gcc