Patch (revised): fix compress_float_constant heuristics

Dale Johannesen dalej@apple.com
Tue Jul 12 18:11:00 GMT 2005


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs3.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment.txt>
-------------- next part --------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compress-float-387-pic.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compress-float-387.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment-0001.c>
-------------- next part --------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compress-float-ppc-pic.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment-0002.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compress-float-ppc.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment-0003.c>
-------------- next part --------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compress-float-sse-pic.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment-0004.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: compress-float-sse.c
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050712/47b06d81/attachment-0005.c>
-------------- next part --------------



More information about the Gcc-patches mailing list