Help with expanding compare

2010-05-25 Thread Revital1 Eres
Hello, I am using current mainline to compile a testcase which contains a loop. The target I'm working on supports cmpsi pattern. While expanding the loop condition I get that do_compare_rtx_and_jump () and do_jump_by_parts_greater_rtx () call each other repeatedly. The test I'm compiling

Re: Help with expanding compare

2010-05-25 Thread Paolo Bonzini
On 05/25/2010 12:13 PM, Revital1 Eres wrote: Hello, I am using current mainline to compile a testcase which contains a loop. The target I'm working on supports cmpsi pattern. While expanding the loop condition I get that do_compare_rtx_and_jump () and do_jump_by_parts_greater_rtx () call

Re: Help with expanding compare

2010-05-25 Thread Revital1 Eres
Hello, Just did so... :-) and it indeed solves this. Thanks, Revital From: Paolo Bonzini bonz...@gnu.org To: Revital1 Eres/Haifa/i...@ibmil Cc: gcc@gcc.gnu.org Date: 25/05/2010 03:57 PM Subject:Re: Help with expanding compare Sent by:Paolo Bonzini

Re: Help with expanding compare

2010-05-25 Thread Paolo Bonzini
On 05/25/2010 03:01 PM, Revital1 Eres wrote: Hello, Just did so... :-) and it indeed solves this. Remember to do the same for cstore. Most of the time it will remove more code from your target than it adds. I think that it did so for basically all targets in GCC 4.5, sometimes cutting up