]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Another m{t,f}{xer,lr,ctr} simplification.
authorJulian Seward <jseward@acm.org>
Sat, 19 Nov 2005 20:54:57 +0000 (20:54 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 19 Nov 2005 20:54:57 +0000 (20:54 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5212

none/tests/ppc32/jm-insns.c

index 99b8880fcf6bd3c25d0b4683a00a29c4ebe966ad..276f179c3827dcb0159bd5b5031ac3cd9b88455b 100644 (file)
@@ -4572,8 +4572,8 @@ static void mfcr_cb (const char* name, test_func_t func,
 static void mfspr_cb (const char* name, test_func_t func,
                       unused uint32_t test_flags)
 {
-   volatile uint32_t res, flags, xer, ctr, lr, tmpcr, tmpxer;
-   int j, k;
+   //volatile uint32_t res, flags, xer, ctr, lr, tmpcr, tmpxer;
+   int j, k, res;
    
    // Call func, just to stop compiler complaining
    (*func)();
@@ -4860,6 +4860,7 @@ static void mtcrf_cb (const char* name, test_func_t func,
 static void mtspr_cb (const char* name, test_func_t func,
                       unused uint32_t test_flags)
 {
+#if 0
    volatile uint32_t flags, xer, ctr, lr, tmpcr, tmpxer;
    int j, k;
    
@@ -4991,6 +4992,7 @@ static void mtspr_cb (const char* name, test_func_t func,
       printf("%s %d, %08x => (%08x %08x, %08x, %08x)\n",
              name, j, iargs[k], flags, xer, lr, ctr);
    }
+#endif
 }