* sim/m32r/uread16.ms: New testcase.
* sim/m32r/uread32.ms: New testcase. * sim/m32r/uwrite16.ms: New testcase. * sim/m32r/uwrite32.ms: New testcase.
This commit is contained in:
parent
71d0d0a788
commit
b58ffc7b4e
6 changed files with 81 additions and 0 deletions
|
@ -10,6 +10,11 @@
|
|||
|
||||
* sim/m32r/trap.cgs: Properly align trap2_handler.
|
||||
|
||||
* sim/m32r/uread16.ms: New testcase.
|
||||
* sim/m32r/uread32.ms: New testcase.
|
||||
* sim/m32r/uwrite16.ms: New testcase.
|
||||
* sim/m32r/uwrite32.ms: New testcase.
|
||||
|
||||
1998-12-14 Dave Brolley <brolley@cygnus.com>
|
||||
|
||||
* sim/fr30/call.cgs: Test ret here as well.
|
||||
|
|
|
@ -168,6 +168,10 @@ xor3.cgs
|
|||
|
||||
hello.ms
|
||||
hw-trap.ms
|
||||
uread16.ms
|
||||
uread32.ms
|
||||
uwrite16.ms
|
||||
uwrite32.ms
|
||||
|
||||
Things-to-lose:
|
||||
|
||||
|
|
18
sim/testsuite/sim/m32r/uread16.ms
Normal file
18
sim/testsuite/sim/m32r/uread16.ms
Normal file
|
@ -0,0 +1,18 @@
|
|||
# mach: m32r m32rx
|
||||
# xerror:
|
||||
# output: *misaligned read*
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
start
|
||||
|
||||
; construct bra trap2_handler in trap 2 slot
|
||||
ld24 r0,#foo+1
|
||||
ldh r0,@r0
|
||||
fail
|
||||
exit 0
|
||||
|
||||
.data
|
||||
.p2align 2
|
||||
foo:
|
||||
.short 42
|
18
sim/testsuite/sim/m32r/uread32.ms
Normal file
18
sim/testsuite/sim/m32r/uread32.ms
Normal file
|
@ -0,0 +1,18 @@
|
|||
# mach: m32r m32rx
|
||||
# xerror:
|
||||
# output: *misaligned read*
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
start
|
||||
|
||||
; construct bra trap2_handler in trap 2 slot
|
||||
ld24 r0,#foo+1
|
||||
ld r0,@r0
|
||||
fail
|
||||
exit 0
|
||||
|
||||
.data
|
||||
.p2align 2
|
||||
foo:
|
||||
.word 42
|
18
sim/testsuite/sim/m32r/uwrite16.ms
Normal file
18
sim/testsuite/sim/m32r/uwrite16.ms
Normal file
|
@ -0,0 +1,18 @@
|
|||
# mach: m32r m32rx
|
||||
# xerror:
|
||||
# output: *misaligned write*
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
start
|
||||
|
||||
; construct bra trap2_handler in trap 2 slot
|
||||
ld24 r0,#foo+1
|
||||
sth r0,@r0
|
||||
fail
|
||||
exit 0
|
||||
|
||||
.data
|
||||
.p2align 2
|
||||
foo:
|
||||
.short 42
|
18
sim/testsuite/sim/m32r/uwrite32.ms
Normal file
18
sim/testsuite/sim/m32r/uwrite32.ms
Normal file
|
@ -0,0 +1,18 @@
|
|||
# mach: m32r m32rx
|
||||
# xerror:
|
||||
# output: *misaligned write*
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
start
|
||||
|
||||
; construct bra trap2_handler in trap 2 slot
|
||||
ld24 r0,#foo+1
|
||||
st r0,@r0
|
||||
fail
|
||||
exit 0
|
||||
|
||||
.data
|
||||
.p2align 2
|
||||
foo:
|
||||
.word 42
|
Loading…
Reference in a new issue