]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Somewhat reduce the number of immediate values in test-with-immediate
authorJulian Seward <jseward@acm.org>
Tue, 15 Mar 2005 16:51:30 +0000 (16:51 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 15 Mar 2005 16:51:30 +0000 (16:51 +0000)
style tests.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1035

VEX/switchback/test_ppc_jm1.c

index 34fa1d15a40f39b9e15be554e6ed8d89e1c77d9d..b33b4e6c7c79fe59d6c30b9a31f10c1d0e9aa740 100644 (file)
@@ -3694,7 +3694,7 @@ static void build_ii16_table (void)
 
     ii16 = my_malloc(200 * sizeof(uint32_t));
     i = 0;
-    for (tmp = 0; ; tmp = tmp + 1 + (tmp >> 2)) {
+    for (tmp = 0; ; tmp = tmp + 1 + (tmp>>1)+(tmp>>2)+(tmp>>3)) {
         if (tmp >= 0x10000)
             tmp = 0xFFFF;
         ii16[i++] = tmp;