gas/
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 23 Jun 2006 21:47:36 +0000 (21:47 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 23 Jun 2006 21:47:36 +0000 (21:47 +0000)
commitccc9c02779b72934b539448ac4d6020501adf309
tree9da9793178077b8c42759ad125766e07db1444d4
parentd4dc2f22f5996cf5b296206b87983b382ed64a43
gas/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch_tune_set): New.
(cpu_arch_isa): Likewise.
(i386_align_code): Use xchg %ax,%ax for 2 byte nop. Optimize
nops with short or long nop sequences based on -march=/.arch
and -mtune=.
(set_cpu_arch): Set cpu_arch_isa.  If cpu_arch_tune_set is 0,
set cpu_arch_tune and cpu_arch_tune_flags.
(md_parse_option): For -march=, set cpu_arch_isa and set
cpu_arch_tune and cpu_arch_tune_flags if cpu_arch_tune_set is
0.  Set cpu_arch_tune_set to 1 for -mtune=.
(i386_target_format): Don't set cpu_arch_tune.

gas/testsuite/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run nops-1, nops-1-i386, nops-1-i686,
nops-1-merom, nops-2, nops-2-i386, nops-2-merom, x86-64-nops-1,
x86-64-nops-1-k8, x86-64-nops-1-nocona and x86-64-nops-1-merom.

* gas/i386/nops-1.s: New file.
* gas/i386/nops-2.s: Likewise.
* gas/i386/nops-1-i386.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-1-merom.d: Likewise.
* gas/i386/nops-1.d: Likewise.
* gas/i386/nops-2-i386.d: Likewise.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-1.s: Likewise.
* gas/i386/x86-64-nops-1-k8.d: Likewise.
* gas/i386/x86-64-nops-1-merom.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.

* gas/i386/sse2.d: Updated to expect xchg %ax,%ax as 2 byte
nop.
19 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/nops-1-i386.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-1-i686.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-1-merom.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-1.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/nops-2-i386.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-2-merom.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-2.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-2.s [new file with mode: 0644]
gas/testsuite/gas/i386/sse2.d
gas/testsuite/gas/i386/x86-64-nops-1-k8.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops-1-merom.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops-1-nocona.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops-1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops-1.s [new file with mode: 0644]
This page took 0.024922 seconds and 4 git commands to generate.