diff options
author | Alan Modra <amodra@gmail.com> | 2004-06-28 14:08:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-06-28 14:08:08 +0000 |
commit | 98e6987548af94aa37069707352398140f003ed2 (patch) | |
tree | 6c2ac05882b6cf792c4ff61358b2740a54401368 /gas | |
parent | 3722b82f100acbc3dbe63a0fd5735e7e34ce5651 (diff) | |
download | gdb-98e6987548af94aa37069707352398140f003ed2.zip gdb-98e6987548af94aa37069707352398140f003ed2.tar.gz gdb-98e6987548af94aa37069707352398140f003ed2.tar.bz2 |
opcodes/
* ppc-opc.c (insert_fxm): Handle mfocrf and mtocrf.
(extract_fxm): Don't test dialect.
(XFXFXM_MASK): Include the power4 bit.
(XFXM): Add p4 param.
(powerpc_opcodes): Add mfocrf and mtocrf. Adjust mtcr.
gas/testsuite/
* gas/ppc/power4.d: Update.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power4.d | 32 |
2 files changed, 20 insertions, 16 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0b853b2..442d5b8 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-06-28 Alan Modra <amodra@bigpond.net.au> + + * gas/ppc/power4.d: Update. + 2004-06-24 Alan Modra <amodra@bigpond.net.au> * gas/i386/prescott.s: Remove fisttpd and fisttpq. diff --git a/gas/testsuite/gas/ppc/power4.d b/gas/testsuite/gas/ppc/power4.d index 4a56a27..6aabc27 100644 --- a/gas/testsuite/gas/ppc/power4.d +++ b/gas/testsuite/gas/ppc/power4.d @@ -82,23 +82,23 @@ Disassembly of section \.text: +68: 7c 6f f1 20 mtcr r3 +6c: 7c 6f f1 20 mtcr r3 +70: 7c 68 11 20 mtcrf 129,r3 - +74: 7c 70 11 20 mtcrf 1,r3 - +78: 7c 70 21 20 mtcrf 2,r3 - +7c: 7c 70 41 20 mtcrf 4,r3 - +80: 7c 70 81 20 mtcrf 8,r3 - +84: 7c 71 01 20 mtcrf 16,r3 - +88: 7c 72 01 20 mtcrf 32,r3 - +8c: 7c 74 01 20 mtcrf 64,r3 - +90: 7c 78 01 20 mtcrf 128,r3 + +74: 7c 70 11 20 mtocrf 1,r3 + +78: 7c 70 21 20 mtocrf 2,r3 + +7c: 7c 70 41 20 mtocrf 4,r3 + +80: 7c 70 81 20 mtocrf 8,r3 + +84: 7c 71 01 20 mtocrf 16,r3 + +88: 7c 72 01 20 mtocrf 32,r3 + +8c: 7c 74 01 20 mtocrf 64,r3 + +90: 7c 78 01 20 mtocrf 128,r3 +94: 7c 60 00 26 mfcr r3 - +98: 7c 70 10 26 mfcr r3,1 - +9c: 7c 70 20 26 mfcr r3,2 - +a0: 7c 70 40 26 mfcr r3,4 - +a4: 7c 70 80 26 mfcr r3,8 - +a8: 7c 71 00 26 mfcr r3,16 - +ac: 7c 72 00 26 mfcr r3,32 - +b0: 7c 74 00 26 mfcr r3,64 - +b4: 7c 78 00 26 mfcr r3,128 + +98: 7c 70 10 26 mfocrf r3,1 + +9c: 7c 70 20 26 mfocrf r3,2 + +a0: 7c 70 40 26 mfocrf r3,4 + +a4: 7c 70 80 26 mfocrf r3,8 + +a8: 7c 71 00 26 mfocrf r3,16 + +ac: 7c 72 00 26 mfocrf r3,32 + +b0: 7c 74 00 26 mfocrf r3,64 + +b4: 7c 78 00 26 mfocrf r3,128 +b8: 7c 01 17 ec dcbz r1,r2 +bc: 7c 23 27 ec dcbzl r3,r4 +c0: 7c 05 37 ec dcbz r5,r6 |