1.1 --- a/test/sh4/fmov.s Thu Aug 23 12:31:31 2007 +0000
1.2 +++ b/test/sh4/fmov.s Tue Oct 14 06:52:06 2008 +0000
1.3 @@ -304,17 +304,83 @@
1.8 + .long test_fmov_str
1.11 +! Test non-64-bit aligned memory read/writes with FMOV variants
1.13 +test_fmov_8: ! @Rm to DRn
1.15 + mova test_fmov_ua64_a, r0
1.16 + expect_exc 0x000000E0
1.17 +test_fmov_8_exc_pc:
1.19 + assert_exc_caught test_fmov_str_k_2 test_fmov_8_exc_pc
1.21 +test_fmov_9: ! DRm to @Rm
1.23 + mova test_fmov_ua64_a, r0
1.24 + expect_exc 0x00000100
1.25 +test_fmov_9_exc_pc:
1.27 + assert_exc_caught test_fmov_str_k_2 test_fmov_9_exc_pc
1.29 +test_fmov_10: ! @Rm+ to DRn
1.31 + mova test_fmov_ua64_a, r0
1.32 + expect_exc 0x000000E0
1.33 +test_fmov_10_exc_pc:
1.35 + assert_exc_caught test_fmov_str_k_2 test_fmov_10_exc_pc
1.37 +test_fmov_11: ! DRm to @Rm-
1.39 + mova test_fmov_ua64_a, r0
1.40 + expect_exc 0x00000100
1.41 +test_fmov_11_exc_pc:
1.43 + assert_exc_caught test_fmov_str_k_2 test_fmov_11_exc_pc
1.45 +test_fmov_12: ! @(R0,Rm) to DRn
1.47 + mova test_fmov_ua64_pad, r0
1.49 + expect_exc 0x000000E0
1.50 +test_fmov_12_exc_pc:
1.51 + fmov @(r0,r4), fr8
1.52 + assert_exc_caught test_fmov_str_k_2 test_fmov_12_exc_pc
1.54 +test_fmov_13: ! DRm to @(R0,Rn)
1.56 + mova test_fmov_ua64_pad, r0
1.58 + expect_exc 0x00000100
1.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_pc
1.68 +test_fmov_ua64_pad:
1.69 + .long 0 ! ensure not aligned on 64-bit boundaries
1.79 - end_test test_fmov_str_k
1.80 + end_test test_fmov_str_k_2
1.90 \ No newline at end of file