[Bug rtl-optimization/42226] New: [missed optimization] inefficient byte access when -Os is specified

2009-11-30 Thread carrot at google dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42226

[Bug rtl-optimization/42226] [missed optimization] inefficient byte access when -Os is specified

2009-11-30 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-11-30 08:56 --- Created an attachment (id=19184) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19184&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42226

[Bug target/42235] New: redundant memory move from parameter space to spill space

2009-12-01 Thread carrot at google dot com
Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i

[Bug target/42235] redundant memory move from parameter space to spill space

2009-12-01 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-12-01 09:01 --- Created an attachment (id=19194) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19194&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42235

[Bug target/42235] redundant memory move from parameter space to spill space

2009-12-01 Thread carrot at google dot com
--- Comment #3 from carrot at google dot com 2009-12-02 07:00 --- > Could you do some more analysis of where this is coming from using rtl / tree > dumps ? > Everything in tree dump is normal. After rtl expand, every parameter is loaded into a pseudo register at the ent

[Bug target/42258] New: redundant register move around mul instruction

2009-12-02 Thread carrot at google dot com
ter? -- Summary: redundant register move around mul instruction Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42258

[Bug target/41653] not optimal result for multiplication with constant when -Os is specified

2009-12-07 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2009-12-07 08:58 --- Created an attachment (id=19247) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19247&action=view) patch The attached patch can fix this bug. But due to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42258, i

[Bug regression/42258] redundant register move around mul instruction

2009-12-08 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-12-09 02:27 --- Gcc 4.4 doesn't have this problem. It is a new regression caused by patch 152533. -- carrot at google dot com changed: What|Removed |

[Bug regression/42351] New: 64 bit arm gcc consumes huge memory

2009-12-10 Thread carrot at google dot com
ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42351

[Bug target/41653] not optimal result for multiplication with constant when -Os is specified

2009-12-10 Thread carrot at google dot com
--- Comment #7 from carrot at google dot com 2009-12-11 07:54 --- (In reply to comment #6) > (In reply to comment #5) > > > Please submit patches to gcc-patc...@gcc.gnu.org rather than attaching it to > > the bug report. > > Also when doing so can you measure

[Bug target/42486] New: Parameter spilling can be merged into function prologue

2009-12-23 Thread carrot at google dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC

[Bug target/42486] Parameter spilling can be merged into function prologue

2009-12-23 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-12-24 01:47 --- Created an attachment (id=19381) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19381&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42486

[Bug target/42495] New: redundant memory load

2009-12-24 Thread carrot at google dot com
: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42495

[Bug target/42495] redundant memory load

2009-12-24 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-12-25 07:51 --- Created an attachment (id=19388) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19388&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42495

[Bug target/42495] redundant memory load

2009-12-24 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2009-12-25 07:52 --- > instruction. It uses the same number of instructions. -Os should do the same It uses the same number of registers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42495

[Bug target/42496] New: wrong if conversion optimization

2009-12-25 Thread carrot at google dot com
Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42496

[Bug target/42496] wrong if conversion optimization

2009-12-25 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2009-12-25 08:14 --- Created an attachment (id=19389) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19389&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42496

[Bug target/42497] New: GCC can do less work in the frequently executed path

2009-12-25 Thread carrot at google dot com
Compile following code with options -march=armv5te -O2 extern void *memcpy(void *dst, const void *src, int n); void *memmove(void *dst, const void *src, int n) { const char *p = src; char *q = dst; if (__builtin_expect(q < p, 1)) { return memcpy(dst, src, n); } else {

[Bug target/42498] New: GCC can't use smull to compute int * int --> long long

2009-12-25 Thread carrot at google dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42498

[Bug target/42500] New: unnecessary register move

2009-12-25 Thread carrot at google dot com
signedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42500

[Bug target/42500] unnecessary register move

2009-12-29 Thread carrot at google dot com
--- Comment #3 from carrot at google dot com 2009-12-30 06:46 --- My complete command line: "/home/carrot/compiler/armobj/gcc/cc1plus" "-fpreprocessed" "testH.ii" "-quiet" "-dumpbase" "testH.cpp" "-auxbase-strip"

[Bug target/42601] New: Simplify code to address function static variables with option -fpic

2010-01-03 Thread carrot at google dot com
Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target trip

[Bug target/42671] New: Thumb2 generate more instructions than Thumb1 to load GOT address

2010-01-09 Thread carrot at google dot com
Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet

[Bug target/40730] redundant memory load

2010-01-10 Thread carrot at google dot com
--- Comment #10 from carrot at google dot com 2010-01-11 06:47 --- (In reply to comment #9) > With "GCC: (GNU) 4.5.0 20100108 (experimental) [trunk revision 155731]" and my > patch for bug 20070 applied, I get the following code: > > iterate: > push

[Bug target/40730] redundant memory load

2010-01-11 Thread carrot at google dot com
--- Comment #12 from carrot at google dot com 2010-01-11 08:55 --- (In reply to comment #11) > Yes, I would have expected the block starting with .L4 to be *after* > the block starting with .L5, something like so: > > iterate: > push{lr} > ldr

[Bug target/42835] New: Missed merging common code sequence at the end of two basic blocks

2010-01-21 Thread carrot at google dot com
get AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835

[Bug target/42879] New: Replace "tst r3, 1" with "lsl r3, r3, 31" in thumb2

2010-01-26 Thread carrot at google dot com
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42879

[Bug target/42895] New: Low registers are preferred than register ip in thumb2 mode

2010-01-28 Thread carrot at google dot com
Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42895

[Bug target/42895] Low registers are preferred than register ip in thumb2 mode

2010-01-28 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-01-29 00:14 --- Created an attachment (id=19744) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19744&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42895

[Bug target/42895] Low registers are preferred than register ip in thumb2 mode

2010-01-29 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2010-01-29 19:42 --- (In reply to comment #3) > See arm.c:#define REG_ALLOC_ORDER. Comment before it says: " It is good to use > ip since no saving is required (though calls clobber it) and it never contains > function parameter

[Bug target/42895] Low registers are preferred than register ip in thumb2 mode

2010-01-29 Thread carrot at google dot com
--- Comment #6 from carrot at google dot com 2010-01-29 22:47 --- I tried to change the register order in REG_ALLOC_ORDER, moved ip and lr after r4/r5/r6/r7, but I still got the same result. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42895

[Bug target/48328] New: GCC failed to generate 16bit relative jump table

2011-03-29 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48328 Summary: GCC failed to generate 16bit relative jump table Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo:

[Bug target/48328] GCC failed to generate 16bit relative jump table

2011-03-30 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48328 --- Comment #1 from Carrot 2011-03-30 07:25:31 UTC --- Another possible enhancement is we can also use HImode jump table entries. Similar to cases min<0, although tbh is not available in arm mode, we can use separate instruction to load offset an

[Bug target/44999] New: "and r0, r0, #255" can be replace with uxtb in thumb2

2010-07-20 Thread carrot at google dot com
on: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: a

[Bug target/45039] New: memory access and address update in one instruction for thumb2

2010-07-22 Thread carrot at google dot com
: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45039

[Bug middle-end/45098] New: Missed induction variable optimization

2010-07-27 Thread carrot at google dot com
Compile the following code with options -march=armv7-a -mthumb -Os extern void foo(int*); void tr(int array[], int n) { int i; for (i=0; ihttp://gcc.gnu.org/bugzilla/show_bug.cgi?id=45098

[Bug target/45252] New: unnecessary register move

2010-08-10 Thread carrot at google dot com
u dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45252

[Bug target/45335] New: Use ldrd to load two consecutive words

2010-08-19 Thread carrot at google dot com
Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45335

[Bug target/45335] Use ldrd to load two consecutive words

2010-08-19 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-08-20 03:13 --- By simply define the following pattern (define_insn "*thumb2_ldrd" [(parallel [(set (match_operand:SI 0 "s_register_operand" "") (mem:SI (match_operand:SI

[Bug target/44999] "and r0, r0, #255" can be replace with uxtb in thumb2

2010-08-21 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2010-08-22 04:34 --- Both have been fixed. But I don't have the permission to close PR43461.(In reply to comment #3) > Didn't Carrot's r163184 fix this PR and its dupe PR43461? > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44999

[Bug target/45937] New: unnecessary push/pop to reserve stack memory

2010-10-07 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45937 Summary: unnecessary push/pop to reserve stack memory Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unas

[Bug target/45980] New: Use not in stead of add to generate new constant

2010-10-12 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45980 Summary: Use not in stead of add to generate new constant Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo:

[Bug target/45980] Use not in stead of add to generate new constant

2010-10-17 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45980 --- Comment #1 from Carrot 2010-10-18 06:24:04 UTC --- The replacement of constant loading with add operations is occurred at pass postreload in function reload_cse_move2add. It is straight forward to extend that to other ALU operations, such as

[Bug target/46092] New: Improve constant handling of thumb2 instructions

2010-10-20 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46092 Summary: Improve constant handling of thumb2 instructions Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo:

[Bug target/46127] New: Use 16bit add instead of 32bit in thumb2

2010-10-22 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46127 Summary: Use 16bit add instead of 32bit in thumb2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig.

[Bug target/46548] New: Build arm gcc failure after patch 165463

2010-11-18 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46548 Summary: Build arm gcc failure after patch 165463 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig.

[Bug target/46631] New: Change operands order so we can use 16bit and instead of 32bit in thumb2

2010-11-23 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46631 Summary: Change operands order so we can use 16bit and instead of 32bit in thumb2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/46932] New: Inefficient code sequence to access local variable

2010-12-13 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46932 Summary: Inefficient code sequence to access local variable Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo

[Bug target/46975] New: Replace 32 bit instructions with 16 bit instructions in thumb2

2010-12-15 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46975 Summary: Replace 32 bit instructions with 16 bit instructions in thumb2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug target/43920] Choosing conditional execution over conditional branches for code size in some cases.

2010-04-28 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2010-04-29 02:23 --- It is not only good to code size, but also benefit performance. For any path to any successor block, the same number of taken branch executed, but less alu instructions executed. It may be difficult to calculate the

[Bug target/43988] New: unnecessary memory store

2010-05-04 Thread carrot at google dot com
org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43988

[Bug rtl-optimization/44025] New: Multiple load 0 to register

2010-05-07 Thread carrot at google dot com
gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44025

[Bug rtl-optimization/44025] Multiple load 0 to register

2010-05-07 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-05-07 13:19 --- Created an attachment (id=20596) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20596&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44025

[Bug target/42879] Replace "tst r3, 1" with "lsl r3, r3, 31" in thumb2

2010-05-10 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2010-05-11 03:21 --- Fixed by http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00263.html. -- carrot at google dot com changed: What|Removed |Added

[Bug target/44072] New: Use 'add r0, 1' to replace 'cmp r0, -1' in thumb2

2010-05-11 Thread carrot at google dot com
Summary: Use 'add r0, 1' to replace 'cmp r0, -1' in thumb2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org

[Bug target/44072] Use 'add r0, 1' to replace 'cmp r0, -1' in thumb2

2010-05-11 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-05-12 02:22 --- It turns out that my original test case matches a conditional move pattern. It shows another opportunity. The following code demonstrates a simple compare and branch case void foo1(); void bar5(int x) { if (x == -1

[Bug target/44227] Invalid instruction generation in Thumb2 for tst instruction.

2010-05-24 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2010-05-25 02:28 --- Fixed by http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00860.html. Ramana, could you help to verify and close it? thanks Carrot -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44227

[Bug target/44278] New: Use ubfx to extract unsigned bit fields at the low end

2010-05-25 Thread carrot at google dot com
ields at the low end Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linu

[Bug rtl-optimization/44374] New: Hoist same instructions in different branches

2010-06-02 Thread carrot at google dot com
dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44374

[Bug rtl-optimization/44374] Hoist same instructions in different branches

2010-06-02 Thread carrot at google dot com
--- Comment #1 from carrot at google dot com 2010-06-02 08:20 --- Created an attachment (id=20805) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20805&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44374

[Bug rtl-optimization/44675] New: Inefficient code to return a large struct

2010-06-25 Thread carrot at google dot com
gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux

[Bug target/40657] allocate local variables with fewer instructions

2010-07-02 Thread carrot at google dot com
--- Comment #10 from carrot at google dot com 2010-07-02 17:41 --- The patch optimizes the prologue part only, the epilogue can also be enhanced. Now compile the attached test case, I get push{r0, r1, r2, lr} add r0, sp, #4 bl bar ldr r0

[Bug rtl-optimization/44883] New: Combine separate shift and add instructions into a single one

2010-07-08 Thread carrot at google dot com
imization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: carrot at google dot com GCC build triplet: i686-linux GCC host triplet: i686-linux GCC target triplet: arm-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44883

[Bug target/44883] Combine separate shift and add instructions into a single one

2010-07-08 Thread carrot at google dot com
--- Comment #2 from carrot at google dot com 2010-07-09 00:04 --- (In reply to comment #1) > >So in function fwprop_addr before deciding propagate an expression should we > also check if it is the only use of the corresponding def? > > It does somewhat. Though addres

[Bug target/44883] Combine separate shift and add instructions into a single one

2010-07-09 Thread carrot at google dot com
--- Comment #4 from carrot at google dot com 2010-07-09 22:11 --- Consider following case: add r3, r1, r2 ldr r4, [r3] Suppose there is no other usage of r3, propagate the first instruction into the second and remove the first is the correct behavior and beneficial. This is

[Bug rtl-optimization/49573] New: wrong rtl pre transformation

2011-06-28 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49573 Summary: wrong rtl pre transformation Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...

[Bug rtl-optimization/49573] wrong rtl pre transformation

2011-07-07 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49573 Carrot changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/49799] New: gcc arm generates illegal sbfx instruction

2011-07-21 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 Summary: gcc arm generates illegal sbfx instruction Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassi

[Bug rtl-optimization/49799] gcc arm generates illegal sbfx instruction

2011-07-25 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 Carrot changed: What|Removed |Added Component|target |rtl-optimization --- Comment #4 from Carrot 201

[Bug rtl-optimization/49799] gcc arm generates illegal sbfx instruction

2011-07-25 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 --- Comment #6 from Carrot 2011-07-25 09:25:22 UTC --- (In reply to comment #5) > We should never generate a shift of -1. Instead the code that does that > should > return (clobber const_int 0). I'm afraid this method may impact gcc too much.

[Bug rtl-optimization/49799] gcc arm generates illegal sbfx instruction

2011-07-25 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 --- Comment #8 from Carrot 2011-07-26 02:51:39 UTC --- (In reply to comment #7) > No, you miss the point. > > Internally we must not generate (ashift (reg) (const_int)) where the const is > negative. > > Note that your testcasegenerates a reg s

[Bug rtl-optimization/49799] gcc arm generates illegal sbfx instruction

2011-08-02 Thread carrot at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799 Carrot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

<    1   2   3