diff options
author | Edgar E. Iglesias <edgar@axis.com> | 2010-07-29 15:42:06 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2010-07-29 15:42:06 +0200 |
commit | 61eb865acf29cc29043ca6d3ed4770dddd2b9774 (patch) | |
tree | 7e6c2ca86ed4d28eb2bbcd6ff0aad7c1c6ca7f39 /tests | |
parent | bf858897b76926b56e948dbe7a1a491b68dccda7 (diff) |
cris: Correct ADDO and ADDOQ testcases.
Verified on real HW.
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cris/check_addo.c | 4 | ||||
-rw-r--r-- | tests/cris/check_addoq.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/cris/check_addo.c b/tests/cris/check_addo.c index 8a0565a1a9..3d8e789f5a 100644 --- a/tests/cris/check_addo.c +++ b/tests/cris/check_addo.c @@ -85,7 +85,7 @@ int main(void) cris_tst_cc_init(); asm volatile ("setf\tzvnc\n"); cris_addo_pi_b(p, t); - cris_tst_cc(1, 1, 1, 1); + cris_tst_cc(0, 0, 0, 0); asm volatile ("move.d\t$acr, %0\n" : "=r" (r)); if (*(uint16_t*)r != 0xff22) err(); @@ -114,7 +114,7 @@ int main(void) cris_tst_cc_init(); asm volatile ("setf\tzvnc\n"); cris_addo_pi_d(p, t); - cris_tst_cc(1, 1, 1, 1); + cris_tst_cc(0, 0, 0, 0); asm volatile ("move.d\t$acr, %0\n" : "=r" (r)); r = (void*)(((char *)r) + 76789885); if (*r != 0x55aa77ff) diff --git a/tests/cris/check_addoq.c b/tests/cris/check_addoq.c index b8b15c3090..ed509e27e0 100644 --- a/tests/cris/check_addoq.c +++ b/tests/cris/check_addoq.c @@ -27,7 +27,7 @@ int main(void) cris_tst_cc_init(); asm volatile ("setf\tzvnc\n"); cris_addoq(4, t); - cris_tst_cc(1, 1, 1, 1); + cris_tst_cc(0, 0, 0, 0); asm volatile ("move.d\t$acr, %0\n" : "=r" (p)); if (*p != 0x88ccee19) err(); |