gas/
commitb4aa12290b2bc6d96e971e225464730152c85cb0
authorH.J. Lu <hjl@lucon.org>
Tue, 22 Jan 2008 19:16:45 +0000 (22 19:16 +0000)
committerH.J. Lu <hjl@lucon.org>
Tue, 22 Jan 2008 19:16:45 +0000 (22 19:16 +0000)
treeb43ab0399e82ee18b0f7e5ed6fc324feaed787cf
parentc44f7d98e673004d930b469f12c4fcc42d3090de
gas/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.
(cpu_sub_arch_name): Remove const.
(cpu_arch): Add .vmx and .smx.
(set_cpu_arch): Append cpu_sub_arch_name.
(md_parse_option): Support -march=CPU[,+EXTENSION...].
(md_show_usage): Updated.

* config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.

* doc/as.texinfo: Update i386 -march option.

* doc/c-i386.texi: Update -march= for ISA.

gas/testsuite/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10-1.l: New.
* gas/i386/arch-10-1.s: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-2.s: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-3.s: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-10-4.s: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10.s: Likewise.

* gas/i386/i386.exp: Run arch-10, arch-10-1, arch-10-2,
arch-10-3 and arch-10-4.

* gas/i386/nops-2.s: Use movsbl instead of cmove.
* gas/i386/nops-2-i386.d: Updated.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.

opcodes/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CPU_VMX_FLAGS and
CPU_SMX_FLAGS.
* i386-init.h: Regenerated.
25 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/config/tc-i386.h
gas/doc/as.texinfo
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/arch-10-1.l [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-2.l [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-2.s [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-3.l [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-3.s [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-4.l [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-4.s [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10.d [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/nops-2-i386.d
gas/testsuite/gas/i386/nops-2-merom.d
gas/testsuite/gas/i386/nops-2.d
gas/testsuite/gas/i386/nops-2.s
gas/testsuite/gas/i386/x86-64-nops-2.d
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h