This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: minor code-quality regression vs. 2.95
- To: zack at wolery dot cumb dot org
- Subject: Re: minor code-quality regression vs. 2.95
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sun, 23 Apr 00 17:13:00 EDT
- Cc: gcc at gcc dot gnu dot org
Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* expmed.c (emit_store_flag): If comparing two-word integer
with zero, can optimize NE, EQ, GE, and LT.
I think he was trying to fix a related problem on Alphas. i386.md has
a cmpdi expander, and duplicates (nearly) the expmed.c code to
synthesize DImode comparisons in ix86_expand_branch. We never go
anywhere near this part of the code.
Actually, what I was doing was very specific to emit_store_flag: it
was being called on Alpha for TImode and emitting called to __cmpti2
even when it was just a comparison against zero.