This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Suboptimal code generation if if - conversion
- From: Richard Henderson <rth at redhat dot com>
- To: Hartmut Penner <HPENNER at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Oct 2002 11:29:29 -0700
- Subject: Re: Suboptimal code generation if if - conversion
- References: <OFCA78C3FC.19E49A5E-ONC1256C4C.003F2CD9@de.ibm.com>
On Tue, Oct 08, 2002 at 01:42:01PM +0200, Hartmut Penner wrote:
> icm %r1,15,0(%r2) # 12 *tstsi/2 [length = 4]
> jeq .L2 # 13 cjump [length = 4]
> mvc 0(4,%r1),.LC1-.L3(%r3) # 21 *movsi/7 [length = 6]
> .L2:
> br %r14 # 56 *return_si [length = 2]
I don't know why you think this is an if-conversion problem.
There's nothing to if-convert in this test, unless you have
a predicated store, which you don't.
The layout issue you see belongs to bb-reorder.
r~