minor code-quality regression vs. 2.95

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sun Apr 23 14:01:00 GMT 2000


    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.


More information about the Gcc mailing list