summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/sh64/compact/stsl-pr.cgs
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-21 22:02:12 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-21 22:02:12 +0000
commit8330b819a8c7dbbc0e2cb70395fb8102d6b46ca8 (patch)
tree3048ecb55d47c7fa1e5b3d7c31708f29456a2691 /sim/testsuite/sim/sh64/compact/stsl-pr.cgs
parent97bbab97cf3e840e11fa274e0d685fb87aa9302f (diff)
downloadgdb-cvs/cagney_fileio-20030521-branch.tar.gz
2003-05-21 Andrew Cagney <cagney@redhat.com>cvs/cagney_fileio-20030521-branchcagney_fileio-20030521-branch
* fileio.c: Include "gdb_wait.h". 2003-03-10 Corinna Vinschen <vinschen@redhat.com> * fileio.c: New file implementing the remote File-I/O protocol. * fileio.h: New header file defining remote File-I/O interface. * remote.c (remote_write_bytes, remote_read_bytes): Remove static storage class. (remote_wait, remote_async_wait): Call remote_fileio_request() on 'F' packet. (_initialize_remote): Call initialize_remote_fileio(). * remote.h: Declare remote_write_bytes() and remote_read_bytes(). 2002-11-21 Martin M. Hunt <hunt@redhat.com> * Makefile.in (REMOTE_OBS): Add fileio.o (SFILES): Add fileio.c. Add dependencies for building fileio.o. Add fileio.h to dependencies for building remote.o. * defs.h: Declare gdb_stdin, gdb_stdtargerr and gdb_stdtargin. * main.c: New ui_file gdb_stdin, gdb_stdtargerr and gdb_stdtargin. (captured_main): Initialize new ui_files. * ui-file.c: Add read and fgets input functions. (ui_file_new): set ui_file_fputs and ui_file_read to null functions. (null_file_read): New function. (ui_file_read): New function. (set_ui_file_read): New function. (stdio_file_read): New function. * ui-file.h: New type ui_file_read_ftype. (set_ui_file_read): Declare. (ui_file_read): Declare.
Diffstat (limited to 'sim/testsuite/sim/sh64/compact/stsl-pr.cgs')
-rw-r--r--sim/testsuite/sim/sh64/compact/stsl-pr.cgs42
1 files changed, 0 insertions, 42 deletions
diff --git a/sim/testsuite/sim/sh64/compact/stsl-pr.cgs b/sim/testsuite/sim/sh64/compact/stsl-pr.cgs
deleted file mode 100644
index b519c9bb5bd..00000000000
--- a/sim/testsuite/sim/sh64/compact/stsl-pr.cgs
+++ /dev/null
@@ -1,42 +0,0 @@
-# sh testcase for sts.l pr, @-$rn -*- Asm -*-
-# mach: all
-# as: -isa=shcompact
-# ld: -m shelf32
-
- .include "compact/testutils.inc"
-
- start
-
- .global stsl_pr
-stsl_pr:
- # Build up a distinctive bit pattern.
- mov #1, r0
- shll8 r0
- add #12, r0
- shll8 r0
- add #85, r0
- shll8 r0
- add #170, r0
-
- lds r0, pr
- mov #40, r2
- shll8 r2
- # Preserve r2.
- mov r2, r7
- sts.l pr, @-r2
-
- # check results.
- mov.l @r2, r3
- cmp/eq r0, r3
- bf wrong
-
- # Ensure decrement occurred.
- add #4, r2
- cmp/eq r2, r7
- bf wrong
-
-okay:
- pass
-wrong:
- fail
-