filename | test/sh4/fmov.s |
changeset | 732:f05753bbe723 |
prev | 358:65043a8f5785 |
author | nkeynes |
date | Tue Feb 28 18:22:52 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Add a GL-only video driver for android usage (since the Java code is responsible for creating the context) |
file | annotate | diff | log | raw |
1.1 --- a/test/sh4/fmov.s Thu Aug 23 12:31:31 2007 +00001.2 +++ b/test/sh4/fmov.s Tue Feb 28 18:22:52 2012 +10001.3 @@ -304,17 +304,83 @@1.4 .long 01.5 test_fmov_7_data_b:1.6 .long 01.7 +test_fmov_str_k:1.8 + .long test_fmov_str1.10 -test_fmov_8:1.11 +! Test non-64-bit aligned memory read/writes with FMOV variants1.12 +1.13 +test_fmov_8: ! @Rm to DRn1.14 + add #1, r121.15 + mova test_fmov_ua64_a, r01.16 + expect_exc 0x000000E01.17 +test_fmov_8_exc_pc:1.18 + fmov @r0, fr81.19 + assert_exc_caught test_fmov_str_k_2 test_fmov_8_exc_pc1.20 +1.21 +test_fmov_9: ! DRm to @Rm1.22 + add #1, r121.23 + mova test_fmov_ua64_a, r01.24 + expect_exc 0x000001001.25 +test_fmov_9_exc_pc:1.26 + fmov fr8, @r01.27 + assert_exc_caught test_fmov_str_k_2 test_fmov_9_exc_pc1.28 +1.29 +test_fmov_10: ! @Rm+ to DRn1.30 + add #1, r121.31 + mova test_fmov_ua64_a, r01.32 + expect_exc 0x000000E01.33 +test_fmov_10_exc_pc:1.34 + fmov @r0+, fr81.35 + assert_exc_caught test_fmov_str_k_2 test_fmov_10_exc_pc1.36 +1.37 +test_fmov_11: ! DRm to @Rm-1.38 + add #1, r121.39 + mova test_fmov_ua64_a, r01.40 + expect_exc 0x000001001.41 +test_fmov_11_exc_pc:1.42 + fmov fr8, @-r01.43 + assert_exc_caught test_fmov_str_k_2 test_fmov_11_exc_pc1.44 +1.45 +test_fmov_12: ! @(R0,Rm) to DRn1.46 + add #1, r121.47 + mova test_fmov_ua64_pad, r01.48 + mov #4, r41.49 + expect_exc 0x000000E01.50 +test_fmov_12_exc_pc:1.51 + fmov @(r0,r4), fr81.52 + assert_exc_caught test_fmov_str_k_2 test_fmov_12_exc_pc1.53 +1.54 +test_fmov_13: ! DRm to @(R0,Rn)1.55 + add #1, r121.56 + mova test_fmov_ua64_pad, r01.57 + mov #4, r41.58 + expect_exc 0x000001001.59 +test_fmov_13_exc_pc:1.60 + fmov fr8, @(r0,r4)1.61 + assert_exc_caught test_fmov_str_k_2 test_fmov_13_exc_pc1.62 +1.63 +1.64 + bra test_fmov_end1.65 +1.66 +1.67 +.align 81.68 +test_fmov_ua64_pad:1.69 + .long 0 ! ensure not aligned on 64-bit boundaries1.70 +test_fmov_ua64_a:1.71 + .long 0x090807061.72 +test_fmov_u64_b:1.73 + .long 0x142536471.74 +1.76 test_fmov_end:1.77 xor r0, r01.78 lds r0, fpscr1.79 - end_test test_fmov_str_k1.80 + end_test test_fmov_str_k_21.82 test_fmov_str:1.83 .string "FMOV"1.85 .align 41.86 -test_fmov_str_k:1.87 +test_fmov_str_k_2:1.88 .long test_fmov_str1.89 +1.90 \ No newline at end of file
.