2006-06-16 H.J. Lu <hongjiu.lu@intel.com>
commite90ed00d6ce867c728d8fbd7387be8f370f9c281
authorH.J. Lu <hjl@lucon.org>
Fri, 16 Jun 2006 15:46:11 +0000 (16 15:46 +0000)
committerH.J. Lu <hjl@lucon.org>
Fri, 16 Jun 2006 15:46:11 +0000 (16 15:46 +0000)
treebe6415da4c9b070927e6d9a221a0f3df4b2f5f79
parent10e7437d778ded731f4259bed942ac2e788b86e0
2006-06-16  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (processor_type): New.
(arch_entry): Add type.

* config/tc-i386.c (cpu_arch_tune): New.
(cpu_arch_tune_flags): Likewise.
(cpu_arch_isa_flags): Likewise.
(cpu_arch): Updated.
(set_cpu_arch): Also update cpu_arch_isa_flags.
(md_assemble): Update cpu_arch_isa_flags.
(OPTION_MARCH): New.
(OPTION_MTUNE): Likewise.
(md_longopts): Add -march= and -mtune=.
(md_parse_option): Support -march= and -mtune=.
(md_show_usage): Add -march=CPU/-mtune=CPU.
(i386_target_format): Also update cpu_arch_isa_flags,
cpu_arch_tune and cpu_arch_tune_flags.

* doc/as.texinfo: Add -march=CPU/-mtune=CPU.

* doc/c-i386.texi: Document -march=CPU/-mtune=CPU.
gas/ChangeLog
gas/config/tc-i386.c
gas/config/tc-i386.h
gas/doc/as.texinfo
gas/doc/c-i386.texi