Search
lxdream.org :: lxdream/test/sh4/ldc.s :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/ldc.s
changeset 976:e57a25d9eb7d
prev823:8a592668322f
author nkeynes
date Mon Jan 26 12:32:23 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Add some initial TLB test cases
file annotate diff log raw
1.1 --- a/test/sh4/ldc.s Sun Aug 24 01:40:58 2008 +0000
1.2 +++ b/test/sh4/ldc.s Mon Jan 26 12:32:23 2009 +0000
1.3 @@ -4,17 +4,19 @@
1.4 .global _test_ldc
1.5 _test_ldc:
1.6 start_test
1.7 + mov.l r8, @-r15
1.8 + mov.l r9, @-r15
1.9
1.10 test_ldcsr_1:
1.11 add #1, r12
1.12
1.13 - stc sr, r0
1.14 + stc sr, r8
1.15 mov #-1, r1
1.16 ldc r1, sr
1.17 - stc sr, r2
1.18 - ldc r0, sr
1.19 + stc sr, r9
1.20 + ldc r8, sr
1.21 mov.l sr_mask, r3
1.22 - cmp/eq r2, r3
1.23 + cmp/eq r9, r3
1.24 bt test_ldsfpscr_1
1.25 fail test_ldc_str_k
1.26
1.27 @@ -31,6 +33,8 @@
1.28 fail test_ldc_str_k
1.29
1.30 test_ldc_end:
1.31 + mov.l @r15+, r9
1.32 + mov.l @r15+, r8
1.33 end_test test_ldc_str_k
1.34
1.35 test_ldc_str:
.