[PATCH] speedup reg_overlap_mentioned_p

Paolo Bonzini bonzini@gnu.org
Sun Feb 1 18:20:00 GMT 2004


> For a construct like this, I would use a 'retry:' label and a goto,
> instead of a fake loop.

Here is the updated patch.

Paolo

2004-02-01  Paolo Bonzini  <bonzini@gnu.org>

        * rtlanal.c (reg_overlap_mentioned_p) [!ENABLE_CHECKING]:
        Don't test CONSTANT_P (x).
        (reg_overlap_mentioned_p): Merge check for STRICT_LOWPART,
        ZERO_EXTRACT, SIGN_EXTRACT with the switch statement.
        Fix misindentation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-speedup-reg-overlap-mentioned-p.patch
Type: application/octet-stream
Size: 1606 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040201/e79ef71f/attachment.obj>


More information about the Gcc-patches mailing list