]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Tweak testcase. Invalidate cc, making sure it is set later.
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 3 Jun 2012 22:37:15 +0000 (22:37 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 3 Jun 2012 22:37:15 +0000 (22:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12604

none/tests/s390x/cs.c
none/tests/s390x/csg.c

index 72b56c25276fc32d3d3b019c1eeb608dc580d98c..ab1021d50211bbd167f527a8d9008a489f53fee5 100644 (file)
@@ -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);
index 1a5e8ffae2d61b37ccda9d9b2f4aaff669468e9f..398c4612c94e312ea5c38ce0775d772f73a9da93 100644 (file)
@@ -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);