diff --git a/none/tests/s390x/cs.c b/none/tests/s390x/cs.c index 72b56c252..ab1021d50 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 1a5e8ffae..398c4612c 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);