This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Patch (revised): fix compress_float_constant heuristics


This version incorporates all comments (no one has commented on alpha).
I haven't retested extensively, but all testcases still work.  OK?

2005-07-10 Dale Johannesen <dalej@apple.com>

        * expr.c (compress_float_constant):  Add cost check.
        * config/rs6000.c (rs6000_rtx_cost):  Adjust FLOAT_EXTEND cost.

2005-07-10 Dale Johannesen <dalej@apple.com>

        * gcc.target/i386/compress-float-sse.c:  New.
        * gcc.target/i386/compress-float-sse-pic.c:  New.
        * gcc.target/i386/compress-float-387.c:  New.
        * gcc.target/i386/compress-float-387-pic.c:  New.
        * gcc.dg/compress-float-ppc.c:  New.
        * gcc.dg/compress-float-ppc-pic.c:  New.

Attachment: diffs3.txt
Description: Text document


Attachment: compress-float-387-pic.c
Description: Text document

Attachment: compress-float-387.c
Description: Text document


Attachment: compress-float-ppc-pic.c
Description: Text document

Attachment: compress-float-ppc.c
Description: Text document


Attachment: compress-float-sse-pic.c
Description: Text document

Attachment: compress-float-sse.c
Description: Text document



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