This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: minor code-quality regression vs. 2.95


    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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]