diff options
author | Michael Walle | 2014-04-22 20:18:41 +0200 |
---|---|---|
committer | Michael Walle | 2014-05-24 19:42:29 +0200 |
commit | a946ce802002fe6233adbf1a6222d0837d44fc33 (patch) | |
tree | 8fe532801ec883260159131e6af1ad39f9da4376 /tests/tcg/lm32/test_lb.S | |
parent | Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (diff) | |
download | qemu-a946ce802002fe6233adbf1a6222d0837d44fc33.tar.gz qemu-a946ce802002fe6233adbf1a6222d0837d44fc33.tar.xz qemu-a946ce802002fe6233adbf1a6222d0837d44fc33.zip |
test: lm32: make test cases independent
Make test cases independent from from each other. Eg. if a test case needs
a specific value in register A, don't rely on the fact that it is already
set by the preceding test case.
Signed-off-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'tests/tcg/lm32/test_lb.S')
-rw-r--r-- | tests/tcg/lm32/test_lb.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tcg/lm32/test_lb.S b/tests/tcg/lm32/test_lb.S index f84d21ead9..d677eea4c4 100644 --- a/tests/tcg/lm32/test_lb.S +++ b/tests/tcg/lm32/test_lb.S @@ -8,10 +8,12 @@ lb r3, (r1+0) check_r3 0x7e test_name LB_2 +load r1 data lb r3, (r1+1) check_r3 0x7f test_name LB_3 +load r1 data lb r3, (r1+-1) check_r3 0x7d @@ -21,10 +23,12 @@ lb r3, (r1+0) check_r3 0xfffffffe test_name LB_5 +load r1 data_msb lb r3, (r1+1) check_r3 0xffffffff test_name LB_6 +load r1 data_msb lb r3, (r1+-1) check_r3 0xfffffffd |