aboutsummaryrefslogtreecommitdiff
path: root/test_arm.s
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2010-09-22 14:40:50 +0100
committerPeter Maydell <peter.maydell@linaro.org>2010-09-22 14:40:50 +0100
commit3b853981ef8f742f95b59d43656f953cec04ac0c (patch)
treea4643c07b81bc67db6cc8c8e50cb69cf72ca0eb4 /test_arm.s
parent503f9ee2bce05df59aafb65a8d333446183afd4b (diff)
Handle CPSR correctly in test images and in comparisons.
This commit lets valgrind-vs-native pass on the trivial test.
Diffstat (limited to 'test_arm.s')
-rw-r--r--test_arm.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_arm.s b/test_arm.s
index 4fdcb3d..8cf8ca5 100644
--- a/test_arm.s
+++ b/test_arm.s
@@ -6,6 +6,7 @@ ldmia r0, {r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r14}
b next
.int 0,1,2,3,4,5,6,7,8,9,10,11,12,14
next:
+msr CPSR_fs, #0
/* do compare.
* The space 0xE7F___F_ is guaranteed to always UNDEF
* and not to be allocated for insns in future architecture