2002-08-19 Elena Zannoni <ezannoni@redhat.com>

From  matthew green  <mrg@redhat.com>

        * e500.s: New tests for e500 instructions.
        * e500.d: Results for new test.
        * ppc.exp: Test e500.s.
This commit is contained in:
Elena Zannoni 2002-08-19 21:01:02 +00:00
parent 2397604975
commit 5578ad9c7c
4 changed files with 49 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2002-08-19 Elena Zannoni <ezannoni@redhat.com>
From matthew green <mrg@redhat.com>
* e500.s: New tests for e500 instructions.
* e500.d: Results for new test.
* ppc.exp: Test e500.s.
2002-08-16 Stephen Clarke <stephen.clarke@superh.com>
* gas/sh/sh64/datal32-3.d: Formatting change to match the current

View File

@ -0,0 +1,22 @@
#as: -mppc -me500
#objdump: -Dr -Me500
#name: e500 tests
.*: +file format elf(32)?(64)?-powerpc
Disassembly of section \.text:
0+0000000 <start>:
0: 7c 43 25 de isel r2,r3,r4,23
4: 7c 85 33 0c dcblc 4,r5,r6
8: 7c e8 49 4c dcbtls 7,r8,r9
c: 7d 4b 61 0c dcbtstls 10,r11,r12
10: 7d ae 7b cc icbtls 13,r14,r15
14: 7e 11 91 cc icblc 16,r17,r18
18: 7c 89 43 9c mtpmr r41,r4
1c: 7c ab 52 9c mfpmr r5,r43
20: 7c 00 04 0c bblels
24: 7c 00 04 4c bbelr
28: 7d 00 83 a6 mtspefscr r8
2c: 7d 20 82 a6 mfspefscr r9
Disassembly of section \.data:

View File

@ -0,0 +1,15 @@
# Motorola PowerPC e500 tests
.section ".text"
start:
isel 2, 3, 4, 23
dcblc 4, 5, 6
dcbtls 7, 8, 9
dcbtstls 10, 11, 12
icbtls 13, 14, 15
icblc 16, 17, 18
mtpmr 201, 4
mfpmr 5, 203
bblels
bbelr
mtspefscr 8
mfspefscr 9

View File

@ -37,3 +37,7 @@ if { [istarget powerpc*-*-*] } then {
run_dump_test "booke"
}
}
if { [istarget powerpc*-*-*] } then {
run_dump_test "e500"
}