summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/sh64/media/subl.cgs
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-17 16:17:56 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-17 16:17:56 +0000
commit23972e9cf424a803e619492265f0ec29c1e3a98a (patch)
tree3309294224bc1b41088ea5bbebf82a25ea3d989a /sim/testsuite/sim/sh64/media/subl.cgs
parent1557b85d755f3373e232f6c3acb643b1e2992eec (diff)
downloadgdb-cvs/cagney_lazyid-20030317-branch.tar.gz
2003-03-17 Andrew Cagney <cagney@redhat.com>cvs/cagney_lazyid-20030317-branchcagney_lazyid-20030317-branch
* frame.c (get_frame_id): If the frame's ID isn't valid, get it. (get_prev_frame): Validate THIS frame's ID before trying to unwind to prev frame. Don't compute PREV's frame's ID. (get_frame_base): Force the update of frame ID before returning the frame. * frame.h (struct frame_info): Add "id_p".
Diffstat (limited to 'sim/testsuite/sim/sh64/media/subl.cgs')
-rw-r--r--sim/testsuite/sim/sh64/media/subl.cgs38
1 files changed, 0 insertions, 38 deletions
diff --git a/sim/testsuite/sim/sh64/media/subl.cgs b/sim/testsuite/sim/sh64/media/subl.cgs
deleted file mode 100644
index 98abe59f666..00000000000
--- a/sim/testsuite/sim/sh64/media/subl.cgs
+++ /dev/null
@@ -1,38 +0,0 @@
-# sh testcase for sub.l $rm, $rn, $rd -*- Asm -*-
-# mach: all
-# as: -isa=shmedia
-# ld: -m shelf64
-
- .include "media/testutils.inc"
-
- start
-
-init:
- pta wrong, tr0
-
-subl1:
- # Test that the top 32 bits are ignored.
- movi 1, r0
- shlli r0, 32, r0
- ori r0, 7, r0
-
- movi 1, r1
- shlli r1, 32, r1
- ori r1, 2, r1
-
- sub.l r0, r1, r2
- bnei r2, 5, tr0
-
-subl2:
- # Test that 0 - 1 is sign extended.
- movi 0, r0
- movi 1, r1
- sub.l r0, r1, r2
- addi r2, 1, r2
- bnei r2, 0, tr0
-
-okay:
- pass
-
-wrong:
- fail