From: Julian Seward Date: Sat, 19 Nov 2005 20:54:57 +0000 (+0000) Subject: Another m{t,f}{xer,lr,ctr} simplification. X-Git-Tag: svn/VALGRIND_3_1_0~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6510134ace03e1e56d8f02807ba4fdd46d14536;p=thirdparty%2Fvalgrind.git Another m{t,f}{xer,lr,ctr} simplification. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5212 --- diff --git a/none/tests/ppc32/jm-insns.c b/none/tests/ppc32/jm-insns.c index 99b8880fcf..276f179c38 100644 --- a/none/tests/ppc32/jm-insns.c +++ b/none/tests/ppc32/jm-insns.c @@ -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 }