[Bug rtl-optimization/57915] [4.8/4.9 Regression] ICE in set_address_disp, at rtlanal.c:5537

2013-09-20 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57915 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug middle-end/58419] [4.9 Regression] wrong code at -O3 on x86_64-linux-gnu in 32-bit mode

2013-09-16 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58419 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com --- (In reply to Zhendong Su from comment #2) (In reply to H.J. Lu from comment #1) It is caused by r202468. So it may have been a dup of 58418? Yes, it is a duplication.

[Bug target/58166] ARMv5: poor register allocation in function containing smull instruction

2013-08-25 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58166 --- Comment #6 from Vladimir Makarov vmakarov at redhat dot com --- On 13-08-22 10:11 AM, rearnsha at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58166 --- Comment #5 from Richard Earnshaw rearnsha at gcc dot gnu.org

[Bug target/58110] Useless GPR push and pop when only xmm registers are used.

2013-08-09 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58110 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com --- Thanks, Ondrej and Jan. GCC with reload generates code with the same problem. I mentioned on RA BOF that we should look at postreload.c and postreload-gcse.c to figure out what

[Bug rtl-optimization/58048] [4.8/4.9 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)

2013-08-08 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58048 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug target/57293] [4.8/4.9 Regression] not needed frame pointers on IA-32 (performance regression?)

2013-08-04 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57293 --- Comment #5 from Vladimir Makarov vmakarov at redhat dot com --- I've started this work. But unfortunately, i have too many things on my plate now. I was too optimistic. Now I can say only that I am planning to fix it on stage1 (so the fix

[Bug rtl-optimization/51041] g++ strange optimisation behaviour

2013-07-29 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51041 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/57960] S/390: LRA ICE building glibc

2013-07-24 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57960 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug bootstrap/57604] LRA related bootstrap comparison failure on s390x --with-arch=zEC12

2013-06-17 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57604 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/57462] ira-costs considers only a single register at a time

2013-05-31 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57462 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug target/57293] [4.8/4.9 Regression] not needed frame pointers on IA-32 (performance regression?)

2013-05-16 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57293 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/55278] [4.8/4.9 Regression] Botan performance regressions apparently due to LRA

2013-05-09 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55278 --- Comment #11 from Vladimir Makarov vmakarov at redhat dot com --- I don't see a code degradation because of LRA. Here what I got using gcc4.8 branch compiler with options -O3 -finline-functions -D_REENTRANT -Wno-long-long -W -Wall -fPIC

[Bug rtl-optimization/57131] [4.8/4.9 Regression] Wrong register assignment?

2013-05-01 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57131 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/57046] [4.8/4.9 Regression] wrong code generated by gcc 4.8.0 on i686

2013-04-23 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57046 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug target/57018] [4.8/4.9 Regression] Miscompilation of bison 2.7.1 under -Os -fomit-frame-pointer

2013-04-22 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57018 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/56999] [4.8/4.9 Regression] LRA caused miscompilation of xulrunner

2013-04-18 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56999 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/56847] [4.8/4.9 Regression] '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705

2013-04-18 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56847 --- Comment #9 from Vladimir Makarov vmakarov at redhat dot com 2013-04-18 20:10:34 UTC --- I am still working on this. I have a patch solving the problem but I'd like to try other solutions too.

[Bug rtl-optimization/56847] [4.8/4.9 Regression] '-fpie' triggers - internal compiler error: in gen_add2_insn, at optabs.c:4705

2013-04-05 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56847 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug middle-end/55889] [4.8 Regression] ICE: in move_op_ascend, at sel-sched.c:6153 with -fschedule-insns -fselective-scheduling

2013-02-14 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55889 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug inline-asm/56148] [4.8 Regression] inline asm matching constraint with different mode

2013-02-12 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56148 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/56195] [4.8 Regression] Error: incorrect register `%rdi' used with `l' suffix (at -O2)

2013-02-07 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56195 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/56195] [4.8 Regression] Error: incorrect register `%rdi' used with `l' suffix (at -O2)

2013-02-07 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56195 --- Comment #7 from Vladimir Makarov vmakarov at redhat dot com 2013-02-07 20:08:47 UTC --- (In reply to comment #6) Actually, that one doesn't really work, because we have pseudo rather than hard reg at that point, which will never

[Bug rtl-optimization/56069] [4.6/4.7/4.8 Regression] RA pessimization

2013-01-22 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56069 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55153] [4.8 Regression] ICE: in begin_move_insn, at sched-ebb.c:205 with -fsched2-use-superblocks and __builtin_prefetch

2013-01-14 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55153 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55829] [4.8 Regression] ICE: in curr_insn_transform, at lra-constraints.c:3069 with -msse3

2013-01-08 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55829 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55458] [4.8 Regression] ICE: in assign_by_spills, at lra-assigns.c:1212 with -fPIC -m32 and simple asm volatile

2012-11-27 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55458 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55330] [4.8 Regression] ICE: Maximum number of LRA constraint passes is achieved (15) on gfortran.dg/actual_array_constructor_1.f90

2012-11-16 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55330 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55247] [4.8 Regression] internal compiler error: Max. number of generated reload insns per insn is achieved (90)

2012-11-09 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55247 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55141] [4.8 Regression] wrong code with -fno-split-wide-types

2012-11-07 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55141 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/55092] [4.8 Regression] LRA doesn't scale

2012-10-26 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55092 --- Comment #2 from Vladimir Makarov vmakarov at redhat dot com 2012-10-26 22:49:23 UTC --- LRA reuses stack memory much better than reload (in all modes but especially in -O0). May be that is the reason of the var-tracking problem.

[Bug rtl-optimization/55092] [4.8 Regression] LRA doesn't scale

2012-10-26 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55092 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2012-10-26 22:57:38 UTC --- (In reply to comment #2) LRA reuses stack memory much better than reload (in all modes but especially in -O0). May be that is the reason

[Bug debug/54402] [4.8 Regression] var-tracking does not scale

2012-10-26 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54402 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug regression/55050] Regression test failure slp-21.c on arm-linux-gnueabi

2012-10-24 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55050 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC

[Bug rtl-optimization/53125] Very slow register allocation on SPARC

2012-05-10 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53125 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com 2012-05-10 18:30:19 UTC --- I've tried a recent trunk on gcc63 of the compiler farm with -O0. The compilation takes about 300sec. I checked also gcc-4.3 (this last version

[Bug rtl-optimization/53125] Very slow register allocation on SPARC

2012-04-28 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53125 --- Comment #2 from Vladimir Makarov vmakarov at redhat dot com 2012-04-29 00:08:54 UTC --- I'll look at this PR in a week.

[Bug rtl-optimization/52208] [4.7 Regression] Useless store

2012-02-15 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52208 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/49800] [4.7 Regression] segfault with -fsched-pressure -fdump-rtl-sched1

2012-02-02 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49800 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com 2012-02-02 18:33:34 UTC --- I am working on it.

[Bug rtl-optimization/40761] IRA memory hog for insanely nested loops

2012-01-19 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40761 --- Comment #17 from Vladimir Makarov vmakarov at redhat dot com 2012-01-19 20:42:57 UTC --- The problem was in building CFG loops which took the most of time. CFG loops were built even if we don't use regional allocation as for -O0. I'll

[Bug rtl-optimization/40761] IRA memory hog for insanely nested loops

2012-01-18 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40761 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug target/49865] [4.7 Regression] Unnecessary reload causes small bloat

2011-12-13 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49865 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/50176] [4.7 Regression] 4.7 generates spill-fill dealing with char-int conversion

2011-12-13 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50176 --- Comment #9 from Vladimir Makarov vmakarov at redhat dot com 2011-12-13 20:04:04 UTC --- (In reply to comment #0) Created attachment 25088 [details] After expanding 4.7 contains: (insn 52 51 53 6 (set (reg:QI 83 [ D.2723

[Bug rtl-optimization/21617] [4.4/4.5/4.6/4.7 Regression] CRC64 algorithm optimization problem on Intel 32-bit

2011-12-09 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21617 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug other/50775] Register allocator sets up frame and frame pointer with low register pressure

2011-12-03 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50775 --- Comment #6 from Vladimir Makarov vmakarov at redhat dot com 2011-12-04 04:09:06 UTC --- (In reply to comment #5) (In reply to comment #4) Wrong profitable hard regs calculation for register files requiring aligned start register

[Bug other/50775] Register allocator sets up frame and frame pointer with low register pressure

2011-11-28 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50775 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-11-28 21:48:20 UTC --- (In reply to comment #2) Also, I have a question about the following fields of `ira_allocno': /* The number of objects tracked in the following

[Bug rtl-optimization/50829] avx extra copy for _mm256_insertf128_pd

2011-11-23 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug target/50829] avx extra copy for _mm256_insertf128_pd

2011-11-23 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829 --- Comment #7 from Vladimir Makarov vmakarov at redhat dot com 2011-11-24 03:45:24 UTC --- As for stack allocation. crtl-stack_realign_needed == 1 results in frame_pointer_needed:=1 in ira.c::ira_setup_eliminable_regset. I don't remember

[Bug target/50164] [IRA, 4.7 Regression] Performance degradation due to increased memory instructions count

2011-08-24 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50164 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug bootstrap/50146] [4.7 regression] unused variable saved_nregs in ira-color.c broke arm-linux-gnueabi bootstrap

2011-08-21 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50146 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/50107] [IRA, i386] allocates registers in very non-optimal way

2011-08-19 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50107 --- Comment #14 from Vladimir Makarov vmakarov at redhat dot com 2011-08-19 16:12:48 UTC --- (In reply to comment #11) (In reply to comment #10) movq%rdi, %rdx mulx%rsi, %rax, %rsi movq%rsi, %rdx ret

[Bug rtl-optimization/49890] IRA spill with plenty of available registers

2011-08-18 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49890 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/50107] [IRA, i386] allocates regiters in very non-optimal way

2011-08-18 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50107 --- Comment #10 from Vladimir Makarov vmakarov at redhat dot com 2011-08-18 18:24:42 UTC --- (In reply to comment #9) With revision 177865 + MULX change, I got [hjl@gnu-6 pr50107]$ cat uti-2.i unsigned __int128 test_mul_64 (unsigned long

[Bug rtl-optimization/50107] [IRA, i386] allocates regiters in very non-optimal way

2011-08-17 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50107 --- Comment #2 from Vladimir Makarov vmakarov at redhat dot com 2011-08-17 17:16:11 UTC --- I guess something wrong with hard register preferencing for multi-register pseudos in ira-color.c::ira_assign. I believe it works fine for one-register

[Bug rtl-optimization/50107] [IRA, i386] allocates regiters in very non-optimal way

2011-08-17 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50107 --- Comment #6 from Vladimir Makarov vmakarov at redhat dot com 2011-08-17 22:21:13 UTC --- (In reply to comment #4) Created attachment 25038 [details] A patch This patch generates: movq%rdi, %rdx mulx%rsi, %r10, %r9

[Bug rtl-optimization/49936] [4.7 Regression] IRA handles CANNOT_CHANGE_MODE_CLASS poorly, + spills to memory on 4.7

2011-08-16 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49936 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-08-16 17:27:12 UTC --- (In reply to comment #3) Hmmm. Is it possible to make the INT/memory/whatever decision based on move costs? Or use a target hook to supply a hint

[Bug rtl-optimization/49936] [4.7 Regression] IRA handles CANNOT_CHANGE_MODE_CLASS poorly, + spills to memory on 4.7

2011-08-15 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49936 --- Comment #2 from Vladimir Makarov vmakarov at redhat dot com 2011-08-16 02:05:02 UTC --- After thorough investigation of the problem I came to a conclusion that fixing it in IRA requires to form regions on pseudo mode usage too (besides just

[Bug rtl-optimization/48633] [4.7 regression] IRA causes ICE in compensate_edge

2011-05-13 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48633 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/48971] [4.7 regression] ICE with -msoft-float -O2

2011-05-13 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48971 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-05-13 15:34:39 UTC --- (In reply to comment #3) (In reply to comment #2) Vlad, this is an abort in setup_pressure_classes which apparently is totally broken for sparc

[Bug rtl-optimization/48971] [4.7 regression] ICE with -msoft-float -O2

2011-05-12 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48971 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com 2011-05-12 17:57:58 UTC --- (In reply to comment #2) Vlad, this is an abort in setup_pressure_classes which apparently is totally broken for sparc -msoft-float. I found the wrong

[Bug rtl-optimization/48455] [4.7 Regression] Huge code size regression for all ARM configurations

2011-04-13 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48455 --- Comment #6 from Vladimir Makarov vmakarov at redhat dot com 2011-04-13 15:21:23 UTC --- I found one problem with reg equivalences. They were just ignored. It is a result of bad merging the big IRA patch and changes in IRA for last half year

[Bug rtl-optimization/48496] [4.7 Regression] 'asm' operand requires impossible reload in libffi/src/ia64/ffi.c

2011-04-11 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48496 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-04-11 17:11:37 UTC --- The new big IRA patch just triggered a latent reload bug. The code in question is in function reload_as_needed /* If this was an ASM, make

[Bug middle-end/48464] [4.7 Regression] @171649: ICE in setup_pressure_classes, at ira.c:877

2011-04-11 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48464 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com 2011-04-11 18:44:59 UTC --- There is typo in a loop condition resulting in taking hard registers of LIM_REG_CLASS which happens a garbage for VAX. I'll send a patch soon.

[Bug rtl-optimization/48272] internal compiler error: in setup_insn_reg_pressure_info, at haifa-sched.c:1124

2011-04-07 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48272 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com 2011-04-07 21:22:49 UTC --- (In reply to comment #2) Confirmed (nice non-sensical set of options, btw.) The problem is that register pressure code is not prepared for new insns

[Bug rtl-optimization/48455] [4.7 Regression] Huge code size regression for all ARM configurations

2011-04-06 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48455 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug inline-asm/48435] [4.7 Regression] Assertion failure during IRA (df_scan)

2011-04-06 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48435 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug target/48366] [4.7 Regression] ICE in extract_constrain_insn_cached, at recog.c:2024

2011-04-03 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48366 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug target/48380] [gcc-4.7 regression] ICE in postreload.c while building trunk

2011-04-01 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48380 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/48381] [4.7 Regression] internal compiler error: in check_allocation, at ira.c:2094

2011-03-31 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48381 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug middle-end/48367] [4.7 Regression] 200.sixtrack/301.apsi in SPEC CPU 2000 are miscompiled

2011-03-30 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48367 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-03-30 23:17:58 UTC --- I've started to work on this. Probably it will take day or two to fix it is hard to find a wrong code in a big program as apsi.

[Bug middle-end/48367] [4.7 Regression] 200.sixtrack/301.apsi in SPEC CPU 2000 are miscompiled

2011-03-30 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48367 --- Comment #6 from Vladimir Makarov vmakarov at redhat dot com 2011-03-31 01:05:33 UTC --- The problem was in a typo in ira-costs.c which in some cases results in assigning INT_MAX to memory_cost and as consequence ALL_REGS to some allocnos

[Bug rtl-optimization/48331] [4.7 Regression] gcc.c-torture/execute/built-in-setjmp.c FAILs with -O -fira-algorithm=priority -fPIC

2011-03-29 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48331 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/48345] [4.7 Regression] [SH] Invalid float register allocated

2011-03-29 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48345 --- Comment #2 from Vladimir Makarov vmakarov at redhat dot com 2011-03-29 23:59:08 UTC --- (In reply to comment #0) It seems that ira-color.c:assign_hard_reg chooses a register of which corresponding bit of ira_prohibited_class_mode_regs

[Bug rtl-optimization/48345] [4.7 Regression] [SH] Invalid float register allocated

2011-03-29 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48345 --- Comment #4 from Vladimir Makarov vmakarov at redhat dot com 2011-03-30 00:49:50 UTC --- (In reply to comment #3) Thanks! Is PR rtl-optimization/48345 * ira-color.c (assign_hard_reg): Skip prohibited hard registers

[Bug middle-end/48342] [4.7 Regression] Failures on powerpc-apple-darwin9 at revision 171653

2011-03-29 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48342 --- Comment #1 from Vladimir Makarov vmakarov at redhat dot com 2011-03-30 01:26:26 UTC --- I've just submitted a patch for approval to solve the problem. I hope it will be fixed soon. Thanks for the report.

[Bug rtl-optimization/46920] suboptimal register allocation with local register variables

2010-12-14 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46920 --- Comment #3 from Vladimir Makarov vmakarov at redhat dot com 2010-12-14 16:02:09 UTC --- (In reply to comment #2) To generate the proposed code, we should assign r12 to p63.  IRA marks p63 conflicting with r12 because DF-infrastructure

[Bug rtl-optimization/46920] suboptimal register allocation with local register variables

2010-12-13 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46920 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/46829] ICE: in spill_failure, at reload1.c:2105 with -fschedule-insns -fsched-pressure and variadic function

2010-12-10 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46829 --- Comment #10 from Vladimir Makarov vmakarov at redhat dot com 2010-12-10 15:45:33 UTC --- (In reply to comment #9) (In reply to comment #5) It should work for x86_64, not necessarily i?86. Do you mean -fsched-pressure should be able

[Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141

2010-11-29 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42536 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug rtl-optimization/44249] [4.4/4.5/4.6 Regression] IRA generates extra register move

2010-11-24 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44249 --- Comment #2 from Vladimir Makarov vmakarov at redhat dot com 2010-11-24 17:40:56 UTC --- Reload creates additional insn for insn (insn 9 7 11 2 (parallel [ (set (reg:DI 71) (lshiftrt:DI (reg/v:DI 60 [ tag

[Bug fortran/42169] [4.4/4.5/4.6 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2010-10-19 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42169 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov

[Bug middle-end/45312] [4.4 Regression] GCC 4.4.4 miscompiles the Linux kernel

2010-09-14 Thread vmakarov at redhat dot com
--- Comment #23 from vmakarov at redhat dot com 2010-09-14 15:46 --- (In reply to comment #22) Fixed everywhere but on 4.3 branch. Maybe commit the patch there too? I think there is a smaller probability that this bug occurs in gcc4.3 because it is based on the old RA. IRA uses

[Bug middle-end/40386] wrong code generation for several SPEC CPU2000 benchmarks (lucas, mgrid, face, applu, apsi) with -O1 -fno-ira-share-spill-slots

2010-09-08 Thread vmakarov at redhat dot com
--- Comment #9 from vmakarov at redhat dot com 2010-09-08 17:44 --- The problem is in that pseudos (r121 in our case) spilled by IRA are not added to live_throughout of reload chain. As the result, pseudo_forbidden_regs are not set up for such pseudos and they can get a hard registers

[Bug middle-end/44554] Stack space after sigsetjmp is reused

2010-09-08 Thread vmakarov at redhat dot com
--- Comment #9 from vmakarov at redhat dot com 2010-09-08 20:06 --- (In reply to comment #8) (In reply to comment #7) Is this still a bug then? Should ira-share-spill-slots be automatically disabled for the caller function when a callee function can return twice? I've never

[Bug middle-end/45312] [4.4 Regression] GCC 4.4.4 miscompiles the Linux kernel

2010-09-07 Thread vmakarov at redhat dot com
--- Comment #17 from vmakarov at redhat dot com 2010-09-07 18:03 --- (In reply to comment #16) I just noticed that even in the complete absence of reload inheritance, the allocate_reload_reg routine performs free_for_value_p checks, and therefore implicitly takes reload ordering

[Bug middle-end/45312] [4.4 Regression] GCC 4.4.4 miscompiles the Linux kernel

2010-09-03 Thread vmakarov at redhat dot com
--- Comment #15 from vmakarov at redhat dot com 2010-09-03 20:45 --- (In reply to comment #14) Ulrih, I've just wanted to post the following when I found that you already posted analogous conclusion. I should have been on CC to see your comment right away. The problem is really

[Bug middle-end/45312] [4.4 Regression] GCC 4.4.4 miscompiles the Linux kernel

2010-09-01 Thread vmakarov at redhat dot com
--- Comment #12 from vmakarov at redhat dot com 2010-09-01 18:06 --- (In reply to comment #10) (insn 1407 1405 1406 78 /mnt/b1/src/linux/set64/arch/x86/include/asm/cmpxchg_32.h:72 (set (reg:SI 2 cx) (mem/c:SI (plus:SI (reg/f:SI 6 bp) (const_int -28

[Bug rtl-optimization/44174] [4.4/4.5/4.6 Regression] can't find a register in class 'CLOBBERED_REGS' while reloading 'asm'

2010-05-18 Thread vmakarov at redhat dot com
--- Comment #1 from vmakarov at redhat dot com 2010-05-18 19:06 --- It will be fixed by IRA without cover classes which I am working on. The code is planned to be included in gcc4.6. For older versions, it should be fixed in reload because I believe it is a hidden reload bug

[Bug rtl-optimization/43332] valgrind warns about using uninitialized variable with -fsched-pressure -fschedule-insns

2010-05-18 Thread vmakarov at redhat dot com
--- Comment #4 from vmakarov at redhat dot com 2010-05-18 21:40 --- Thanks for reporting the problem. The problem has no effect on generated code whatever initialization is used. The code in question tries to get basic block for BARRIER which is wrong. Whatever it gets basic block

[Bug target/44031] [4.4/4.5/4.6 Regression] ice in subst_reloads, at reload.c:6327

2010-05-10 Thread vmakarov at redhat dot com
--- Comment #3 from vmakarov at redhat dot com 2010-05-10 15:22 --- It is caused by revision 152533: http://gcc.gnu.org/ml/gcc-cvs/2009-10/msg00182.html If it is so, the patch triggered some reload bug IMO. The patch itself was very safe because it resulted in creation

[Bug rtl-optimization/44012] [4.5/4.6 Regression] ICE: SIGSEGV in ira_merge_allocno_live_ranges

2010-05-07 Thread vmakarov at redhat dot com
--- Comment #12 from vmakarov at redhat dot com 2010-05-07 17:49 --- When allocno is finished, its some info is propagated into upper allocno. When several allocnos with same regno are finished, info can be propagated directly to survived upper allocno or through one allocno

[Bug rtl-optimization/43413] Powerpc generates worse code for -mvsx on gromacs even though there are no VSX instructions used

2010-03-23 Thread vmakarov at redhat dot com
--- Comment #10 from vmakarov at redhat dot com 2010-03-23 18:45 --- (In reply to comment #5) Still I'll investigate a bit more why there are a lot of unexpected spills during assignment with -mvsx for the current code. The problem is in that part of VSX_REGS (altivec regs) does

[Bug rtl-optimization/43413] Powerpc generates worse code for -mvsx on gromacs even though there are no VSX instructions used

2010-03-22 Thread vmakarov at redhat dot com
--- Comment #5 from vmakarov at redhat dot com 2010-03-22 22:16 --- (In reply to comment #0) In the enclosed test case, it generates the following spills for the options: -O3 -ffast-math -mcpu=power7 -mvsx -maltivec: 117 stfs, 139 lfs -O3 -ffast-math -mcpu=power5 -maltivec: 80 stfs

[Bug rtl-optimization/43413] Powerpc generates worse code for -mvsx on gromacs even though there are no VSX instructions used

2010-03-22 Thread vmakarov at redhat dot com
--- Comment #6 from vmakarov at redhat dot com 2010-03-22 22:20 --- (In reply to comment #4) FWIW, I seem to get considerably worse code from mainline than you -- for -O3 -ffast-math -mcpu=power7 -mvsx -maltivec I get 140 stfs and 192 lfs insns (compared to 117 139 respectively

[Bug middle-end/42973] [4.4/4.5 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-02-10 Thread vmakarov at redhat dot com
--- Comment #10 from vmakarov at redhat dot com 2010-02-10 17:02 --- The big chunk of regmove which did the same what IRA is capable to do was removed when IRA was merged. There are still a lot of important transformations (like dealing with increments, sign/zero extensions etc

[Bug middle-end/42973] [4.4/4.5 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-02-10 Thread vmakarov at redhat dot com
--- Comment #11 from vmakarov at redhat dot com 2010-02-10 17:15 --- (In reply to comment #8) Thanks, we should see if this solves the AMMP problem in a day or two. Are you going to look at the related PR42961? Without the regmove hunk it does not happen at AMMP but it likely

[Bug middle-end/42973] [4.4/4.5 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-02-09 Thread vmakarov at redhat dot com
--- Comment #6 from vmakarov at redhat dot com 2010-02-09 19:56 --- The patch which I'll send in a few minutes solves the problem. The patch avoids the creation of shuffle copies if an involved operand should be bound to some other operand in the current insn. The test code

[Bug middle-end/42973] [4.5 regression] IRA apparently systematically making reload too busy on 2 address instructions with 3 operands

2010-02-05 Thread vmakarov at redhat dot com
--- Comment #4 from vmakarov at redhat dot com 2010-02-06 00:57 --- I have a patch which solves the problem and analogous problem that Jeff recently sent me. I just need a time to do some benchmarking. If everything is all right, I'll submit the patch probably on Monday. -- http

[Bug rtl-optimization/42941] -fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable

2010-02-03 Thread vmakarov at redhat dot com
--- Comment #3 from vmakarov at redhat dot com 2010-02-03 18:57 --- This is a rare case when the algorithm works the same whatever values are in memory. Roughly speaking, if the value is not as expected (for example a garbage) the value is set up to what it needed. If it is one

[Bug target/36539] Poor register allocation from IRA

2010-01-29 Thread vmakarov at redhat dot com
--- Comment #10 from vmakarov at redhat dot com 2010-01-29 20:33 --- Jeff, I saw analogous problem when I worked on improving IRA performance. I checked the approach you are proposing. But it works considerably worse on SPEC2000. Finally, I found that the best conflicting cost

[Bug target/41399] [4.5 Regression] Scheduler gives huge dependence graph compiling fortran/intrinsic.c on ARM

2010-01-29 Thread vmakarov at redhat dot com
--- Comment #21 from vmakarov at redhat dot com 2010-01-29 21:54 --- Thanks everyone who works on the bug. I am sorry that the bug was really introduced by my patch more accurately by the part which should fix reload crashes when the 1st scheduling works for some targets. The patch

[Bug rtl-optimization/41171] register allocator undoing optimal schedule

2009-10-30 Thread vmakarov at redhat dot com
--- Comment #8 from vmakarov at redhat dot com 2009-10-30 21:57 --- Unfortunately, not yet because I had some failures after applying the patch. I postponed work on this but now I have time to continue the work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41171

  1   2   >