]> git.ipfire.org Git - thirdparty/gcc.git/commit
config.gcc (powerpc*-*-*): Handle a2.
authorBen Elliston <bje@au.ibm.com>
Tue, 6 Oct 2009 19:37:40 +0000 (19:37 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Tue, 6 Oct 2009 19:37:40 +0000 (06:37 +1100)
commitebde32fd2478df9909e07843451956ce89a02b46
tree1fdda441e43d8a2f06b2fe75cd3d43acb8100a58
parentf1aebde0f5748619c1d2302a126ea2048d907837
config.gcc (powerpc*-*-*): Handle a2.

* config.gcc (powerpc*-*-*): Handle a2.
* config/rs6000/rs6000.md (cpu): Add ppca2.  Include "a2.md".
* config/rs6000/a2.md: New file.
* config/rs6000/rs6000.opt (mno-update): New.
(mupdate): Return to using a mask, not a var.
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for a2.
(enum processor_type): Add PROCESSOR_PPCA2.
* config/rs6000/rs6000.c (ppca2_cost): New costs.
(rs6000_override_options): Add "a2" to processor_target_table.
Update rs6000_always_hint logic.  Correctly set rs6000_cost for
a2.
* doc/invoke.texi (RS/6000 and PowerPC Options): Document
-mcpu=a2.

From-SVN: r152499
gcc/ChangeLog
gcc/config.gcc
gcc/config/rs6000/a2.md [new file with mode: 0644]
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/rs6000.opt
gcc/doc/invoke.texi