Add AMD btver1 and btver2 support
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 17 Aug 2012 17:12:36 +0000 (17:12 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 17 Aug 2012 17:12:36 +0000 (17:12 +0000)
commit7b458c12dc33fc7af4c67c138feaa5f034351bac
tree3604f01b9d8e24bfde32c776ffdda492bf0bbc34
parentee8206a9d3d82b01d3108b83e36491fd6693db4d
Add AMD btver1 and btver2 support

gas/

2012-08-17  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>

* config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
CPU_BTVER2_FLAGS.
(i386_align_code): Add case for PROCESSOR_BT.

* config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.

* doc/c-i386.texi: Add -march={btver1, btver2} options.

gas/testsuite/

2012-08-17  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>

* gas/i386/i386.exp: Run btver1 and btver2 test cases.

* gas/i386/nops-1-btver1.d: New.
* gas/i386/nops-1-btver2.d: New.
* gas/i386/arch-10-btver1.d: New.
* gas/i386/arch-10-btver2.d: New.
* gas/i386/x86-64-nops-1-btver1.d: New.
* gas/i386/x86-64-nops-1-btver2.d: New.
* gas/i386/x86-64-arch-2-btver1.d: New.
* gas/i386/x86-64-arch-2-btver2.d: New.

opcodes/

2012-08-17  Nagajyothi Eggone  <nagajyothi.eggone@amd.com>

* i386-gen.c (cpu_flag_init): Add CPU_BTVER1_FLAGS and
CPU_BTVER2_FLAGS.

* i386-opc.h: Update CpuPRFCHW comment.

* i386-opc.tbl: Enable prefetch instruction for CpuPRFCHW.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
20 files changed:
gas/ChangeLog
gas/config/tc-i386.c
gas/config/tc-i386.h
gas/doc/c-i386.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/arch-10-btver1.d [new file with mode: 0644]
gas/testsuite/gas/i386/arch-10-btver2.d [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/nops-1-btver1.d [new file with mode: 0644]
gas/testsuite/gas/i386/nops-1-btver2.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-arch-2-btver1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-arch-2-btver2.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops-1-btver1.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-nops-1-btver2.d [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-init.h
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.072582 seconds and 4 git commands to generate.