From db511584c9ed185ed587a12329067c002ffadb70 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 9 Sep 1997 02:22:07 +0000 Subject: [PATCH] Add basic tests for d10v-elf simulator. --- sim/testsuite/d10v-elf/exit47.s | 8 ++++++++ sim/testsuite/d10v-elf/loop.s | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100644 sim/testsuite/d10v-elf/exit47.s create mode 100644 sim/testsuite/d10v-elf/loop.s diff --git a/sim/testsuite/d10v-elf/exit47.s b/sim/testsuite/d10v-elf/exit47.s new file mode 100644 index 00000000000..e37682fcc73 --- /dev/null +++ b/sim/testsuite/d10v-elf/exit47.s @@ -0,0 +1,8 @@ + .text + .align 2 + .globl _start +_start: + # exit (47) + ldi r6, 1 + ldi r2, 47 + trap 15 diff --git a/sim/testsuite/d10v-elf/loop.s b/sim/testsuite/d10v-elf/loop.s new file mode 100644 index 00000000000..e1371e4d951 --- /dev/null +++ b/sim/testsuite/d10v-elf/loop.s @@ -0,0 +1,6 @@ + .text + .globl _start + +_start: + bra _start + nop