Patch: PR 31018 (and update to 31019)
Meissner, Michael
michael.meissner@amd.com
Fri Mar 2 21:25:00 GMT 2007
This patch moves all of the TARGET_{K6,K8,PENT,...} etc. out of i386.md
and converts them to feature test macros. It also has the fix that RTH
requested, eliminating the TUNEMASK/ARCHMASK macros in favor of using
the raw variable. Note, this means that the changes are based on
-mtune= instead of -march=, so it will generate slightly different code
if you use -mtune=. I think these changes should have been under tune
rather than arch anyway.
In terms of 31019, I think you can get more savings by changing the
variables to bool's, and doing the test in override_options, so that
instead of doing an AND, you just test a single variable for equality.
--
Michael Meissner
AMD, MS 83-29
90 Central Street
Boxborough, MA 01719
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imull.patch01
Type: application/octet-stream
Size: 21787 bytes
Desc: imull.patch01
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070302/9ce368cf/attachment.obj>
More information about the Gcc-patches
mailing list