From: Florian Krohm Date: Sun, 3 Jun 2012 22:37:15 +0000 (+0000) Subject: Tweak testcase. Invalidate cc, making sure it is set later. X-Git-Tag: svn/VALGRIND_3_8_0~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817bee19ddeac876f159609942c055bb346abeba;p=thirdparty%2Fvalgrind.git Tweak testcase. Invalidate cc, making sure it is set later. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12604 --- diff --git a/none/tests/s390x/cs.c b/none/tests/s390x/cs.c index 72b56c2527..ab1021d502 100644 --- a/none/tests/s390x/cs.c +++ b/none/tests/s390x/cs.c @@ -9,7 +9,7 @@ test(int32_t op1_init, int32_t op2_init, int32_t op3_init, int expected_cc) register int32_t op3 asm("9") = op3_init; int32_t op2 = op2_init; - int cc = 1; + int cc = 1 - expected_cc; printf("before op1 = %#x\n", op1); printf("before op2 = %#x\n", op2); diff --git a/none/tests/s390x/csg.c b/none/tests/s390x/csg.c index 1a5e8ffae2..398c4612c9 100644 --- a/none/tests/s390x/csg.c +++ b/none/tests/s390x/csg.c @@ -9,7 +9,7 @@ test(int64_t op1_init, int64_t op2_init, int64_t op3_init, int expected_cc) register int64_t op3 asm("9") = op3_init; int64_t op2 = op2_init; - int cc = 1; + int cc = 1 - expected_cc; printf("before op1 = %#lx\n", op1); printf("before op2 = %#lx\n", op2);