2006-06-16 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Jun 2006 15:46:11 +0000 (15:46 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 16 Jun 2006 15:46:11 +0000 (15:46 +0000)
commit9103f4f44aefc60c4b0cc21f477bb567c2d2f2a1
tree283386ea8d73e3116b7bdd57f090662b00f58f3b
parent14e60db5bc5d53c7f7986e23c9a5bb4a140b341b
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