gas/testsuite/

* gas/ppc/booke.s ("dcbt", "dcbtst"): New tests.
	* gas/ppc/booke.d: Likewise.
	* gas/ppc/power4_32.s: Likewise.
	* gas/ppc/power4_32.d: Likewise.

opcodes/
        * ppc-opc.c: Update copyright year.
        (powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
        ordering for POWER4 and later and use the correct Server ordering.
This commit is contained in:
Peter Bergner 2009-02-06 01:50:54 +00:00
parent 6d097e655a
commit 80890a619b
7 changed files with 31 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
* gas/ppc/booke.s ("dcbt", "dcbtst"): New tests.
* gas/ppc/booke.d: Likewise.
* gas/ppc/power4_32.s: Likewise.
* gas/ppc/power4_32.d: Likewise.
2009-02-05 Catherine Moore <clm@codesourcery.com>
* gas/elf/elf.exp: Really run the symtab test.

View File

@ -38,3 +38,6 @@ Disassembly of section \.text:
68: 7c 07 42 a6 mfsprg r0,7
6c: 7c 17 43 a6 mtsprg 7,r0
70: 7c 17 43 a6 mtsprg 7,r0
74: 7c 05 32 2c dcbt r5,r6
78: 7c 05 32 2c dcbt r5,r6
7c: 7d 05 32 2c dcbt 8,r5,r6

View File

@ -36,3 +36,7 @@ branch_target_2:
mfsprg7 0
mtsprg 7, 0
mtsprg7 0
dcbt 5,6
dcbt 0,5,6
dcbt 8,5,6

View File

@ -41,3 +41,6 @@ Disassembly of section \.text:
7c: 7c 01 17 ec dcbz r1,r2
80: 7c 23 27 ec dcbzl r3,r4
84: 7c 05 37 ec dcbz r5,r6
88: 7c 05 32 2c dcbt r5,r6
8c: 7c 05 32 2c dcbt r5,r6
90: 7d 05 32 2c dcbt r5,r6,8

View File

@ -34,3 +34,6 @@ start:
dcbz 1, 2
dcbzl 3, 4
dcbz 5, 6
dcbt 5,6
dcbt 5,6,0
dcbt 5,6,8

View File

@ -1,3 +1,9 @@
2009-02-05 Peter Bergner <bergner@vnet.ibm.com>
* ppc-opc.c: Update copyright year.
(powerpc_opcodes) <"dcbt", "dcbtst">: Deprecate the Embedded operand
ordering for POWER4 and later and use the correct Server ordering.
2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (January, 2009)

View File

@ -1,6 +1,6 @@
/* ppc-opc.c -- PowerPC opcode list
Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004,
2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support
This file is part of the GNU opcodes library.
@ -3636,7 +3636,8 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"mtsrin", X(31,242), XRA_MASK, PPC32, PPCNONE, {RS, RB}},
{"mtsri", X(31,242), XRA_MASK, POWER32, PPCNONE, {RS, RB}},
{"dcbtst", X(31,246), X_MASK, PPC, PPCNONE, {CT, RA, RB}},
{"dcbtst", X(31,246), X_MASK, PPC, POWER4, {CT, RA, RB}},
{"dcbtst", X(31,246), X_MASK, POWER4, PPCNONE, {RA, RB, CT}},
{"stbux", X(31,247), X_MASK, COM, PPCNONE, {RS, RAS, RB}},
@ -3667,7 +3668,8 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{"lscbx", XRC(31,277,0), X_MASK, M601, PPCNONE, {RT, RA, RB}},
{"lscbx.", XRC(31,277,1), X_MASK, M601, PPCNONE, {RT, RA, RB}},
{"dcbt", X(31,278), X_MASK, PPC, PPCNONE, {CT, RA, RB}},
{"dcbt", X(31,278), X_MASK, PPC, POWER4, {CT, RA, RB}},
{"dcbt", X(31,278), X_MASK, POWER4, PPCNONE, {RA, RB, CT}},
{"lhzx", X(31,279), X_MASK, COM, PPCNONE, {RT, RA0, RB}},