From aa883bb522113a22081f0c0e4573e2112ccc4ae6 Mon Sep 17 00:00:00 2001 From: ezannoni Date: Mon, 19 Aug 2002 21:01:01 +0000 Subject: [PATCH] 2002-08-19 Elena Zannoni From matthew green * e500.s: New tests for e500 instructions. * e500.d: Results for new test. * ppc.exp: Test e500.s. --- gas/testsuite/ChangeLog | 8 ++++++++ gas/testsuite/gas/ppc/e500.d | 22 ++++++++++++++++++++++ gas/testsuite/gas/ppc/e500.s | 15 +++++++++++++++ gas/testsuite/gas/ppc/ppc.exp | 4 ++++ 4 files changed, 49 insertions(+) create mode 100644 gas/testsuite/gas/ppc/e500.d create mode 100644 gas/testsuite/gas/ppc/e500.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index fbe46fd48d..bce7c4ac78 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2002-08-19 Elena Zannoni + + From matthew green + + * e500.s: New tests for e500 instructions. + * e500.d: Results for new test. + * ppc.exp: Test e500.s. + 2002-08-16 Stephen Clarke * gas/sh/sh64/datal32-3.d: Formatting change to match the current diff --git a/gas/testsuite/gas/ppc/e500.d b/gas/testsuite/gas/ppc/e500.d new file mode 100644 index 0000000000..2d4d540e0d --- /dev/null +++ b/gas/testsuite/gas/ppc/e500.d @@ -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 : + 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: diff --git a/gas/testsuite/gas/ppc/e500.s b/gas/testsuite/gas/ppc/e500.s new file mode 100644 index 0000000000..85e53d4aa4 --- /dev/null +++ b/gas/testsuite/gas/ppc/e500.s @@ -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 diff --git a/gas/testsuite/gas/ppc/ppc.exp b/gas/testsuite/gas/ppc/ppc.exp index 5bf4b50cd5..d2c72924fa 100644 --- a/gas/testsuite/gas/ppc/ppc.exp +++ b/gas/testsuite/gas/ppc/ppc.exp @@ -37,3 +37,7 @@ if { [istarget powerpc*-*-*] } then { run_dump_test "booke" } } + +if { [istarget powerpc*-*-*] } then { + run_dump_test "e500" +} -- 2.11.0