Search
lxdream.org :: lxdream/test/sh4/undef.s :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/undef.s
changeset 358:65043a8f5785
prev233:f8333b94f503
next523:f33381d87c2a
author nkeynes
date Fri Sep 28 07:24:14 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Add GLSL loader framework
file annotate diff log raw
1.1 --- a/test/sh4/undef.s Wed Sep 27 10:21:34 2006 +0000
1.2 +++ b/test/sh4/undef.s Fri Sep 28 07:24:14 2007 +0000
1.3 @@ -18,6 +18,28 @@
1.4 .word 0xFFFD
1.5 assert_exc_caught test_undef_str_k test_undef_1_pc
1.6
1.7 +test_undef_1a: ! 0xFFFD with FPU disabled - should still be an 0x180
1.8 + add #1, r12
1.9 + stc sr, r0
1.10 + xor r1, r1
1.11 + add #32, r1
1.12 + shll2 r1
1.13 + shll8 r1
1.14 + or r0, r1
1.15 + ldc r1, sr
1.16 + expect_exc 0x00000180
1.17 +test_undef_1a_pc:
1.18 + .word 0xFFFD
1.19 + assert_exc_caught test_undef_str_k test_undef_1a_pc
1.20 + stc sr, r0
1.21 + xor r1, r1
1.22 + add #32, r1
1.23 + shll2 r1
1.24 + shll8 r1
1.25 + not r1, r1
1.26 + and r0, r1
1.27 + ldc r1, sr
1.28 +
1.29 ! Gaps in the STC range (0x0nn2)
1.30 test_undef_2: ! 0x52
1.31 add #1, r12
.