mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-11 16:46:14 +08:00
Test switching between SPI/SPU.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Fri Feb 13 16:21:13 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* t-sp.s: New test.
|
||||||
|
* Makefile.in (TESTS): Update.
|
||||||
|
|
||||||
Wed Feb 11 17:58:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
Wed Feb 11 17:58:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* t-macros.i: Update trap calls, func in r4, args in
|
* t-macros.i: Update trap calls, func in r4, args in
|
||||||
|
@ -48,6 +48,8 @@ TESTS = \
|
|||||||
t-rac.ok \
|
t-rac.ok \
|
||||||
t-rachi.ok \
|
t-rachi.ok \
|
||||||
t-rep.ok \
|
t-rep.ok \
|
||||||
|
t-rte.ok \
|
||||||
|
t-sp.ok \
|
||||||
t-sub2w.ok \
|
t-sub2w.ok \
|
||||||
t-sub.ok \
|
t-sub.ok \
|
||||||
t-subi.ok \
|
t-subi.ok \
|
||||||
|
17
sim/testsuite/d10v-elf/t-sp.s
Normal file
17
sim/testsuite/d10v-elf/t-sp.s
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.include "t-macros.i"
|
||||||
|
|
||||||
|
start
|
||||||
|
|
||||||
|
;;; Read/Write values to SPU/SPI
|
||||||
|
|
||||||
|
loadpsw2 0
|
||||||
|
ldi sp, 0xdead
|
||||||
|
loadpsw2 PSW_SM
|
||||||
|
ldi sp, 0xbeef
|
||||||
|
|
||||||
|
loadpsw2 0
|
||||||
|
check 1 sp 0xdead
|
||||||
|
loadpsw2 PSW_SM
|
||||||
|
check 2 sp 0xbeef
|
||||||
|
|
||||||
|
exit0
|
5
sim/testsuite/d10v-elf/t-trap.s
Normal file
5
sim/testsuite/d10v-elf/t-trap.s
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
.include "t-macros.i"
|
||||||
|
|
||||||
|
start
|
||||||
|
|
||||||
|
exit47
|
Reference in New Issue
Block a user