diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-04-30 06:46:53 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2004-04-30 06:46:53 +0000 |
commit | f3806e43d9c7e6ff84ac5245e37ed21827783f4c (patch) | |
tree | 2d0d14602238aae8b4f06d32575e59aff0990a4a /gas | |
parent | f7458fc96abdd1f9b2e5d2bc06a611210b60d60c (diff) | |
download | gdb-f3806e43d9c7e6ff84ac5245e37ed21827783f4c.zip gdb-f3806e43d9c7e6ff84ac5245e37ed21827783f4c.tar.gz gdb-f3806e43d9c7e6ff84ac5245e37ed21827783f4c.tar.bz2 |
* ppc-opc.c (powerpc_opcodes): Add "dbczl" instruction for PPC970.
[testsuite]
* gas/ppc/power4.s: Add dcbz and dcbzl test cases.
* gas/ppc/power4.d: Update accordingly.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power4.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/power4.s | 4 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9ec1aff..1cfce64 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-04-30 Ben Elliston <bje@au.ibm.com> + + * gas/ppc/power4.s: Add dcbz and dcbzl test cases. + * gas/ppc/power4.d: Update accordingly. + 2004-04-26 H.J. Lu <hongjiu.lu@intel.com> * gas/elf/elf.exp: Add group0a, group0b and group1 for section diff --git a/gas/testsuite/gas/ppc/power4.d b/gas/testsuite/gas/ppc/power4.d index 6094848..4a56a27 100644 --- a/gas/testsuite/gas/ppc/power4.d +++ b/gas/testsuite/gas/ppc/power4.d @@ -10,7 +10,7 @@ start address 0x0+ Sections: Idx Name +Size +VMA +LMA +File off +Algn - +0 \.text +0+b8 +0+ +0+ +.* + +0 \.text +0+c4 +0+ +0+ +.* +CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE +1 \.data +0+10 +0+ +0+ +.* +CONTENTS, ALLOC, LOAD, DATA @@ -99,3 +99,6 @@ Disassembly of section \.text: +ac: 7c 72 00 26 mfcr r3,32 +b0: 7c 74 00 26 mfcr r3,64 +b4: 7c 78 00 26 mfcr 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 diff --git a/gas/testsuite/gas/ppc/power4.s b/gas/testsuite/gas/ppc/power4.s index 3514e63..f2a162d 100644 --- a/gas/testsuite/gas/ppc/power4.s +++ b/gas/testsuite/gas/ppc/power4.s @@ -68,6 +68,10 @@ dsym1: mfcr 3,0x40 mfcr 3,0x80 + dcbz 1, 2 + dcbzl 3, 4 + dcbz 5, 6 + .section ".data" usym0: .llong 0xcafebabe usym1: |