Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

The 10**21 Problem (Part 3)

by eyepopslikeamosquito (Archbishop)
on May 11, 2014 at 13:04 UTC ( [id://1085685]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    d8 = (d7 ^ q8) * H_PRIME ^ HASH_LEN;
    d9 = d8 & ~127;
    ...
    dist = d9 < 500 ? 500 - d9 : d9 - 500;
    q9 = (d8 & 127) ^ dist;
    if (q9 == 0 || q9 == 10 || q9 == 13) continue;
    
  2. or download this
    c9 = (c7 ^ q8) * H_PRIME ^ HASH_LEN ^ q9;
    c9 %= 1001; if (c9 < 0) c9 += 1001;
    if (c9 != 100) continue;
    
  3. or download this
    #define H_PRIME   1000003
    #define HASH_LEN  11
    ...
      }
      return iret;
    }
    
  4. or download this
    _mm_prefetch(&bytevecM[(unsigned int)m7 & 0xffffff80], _MM_HINT_T0);
    _mm_prefetch(&bytevecM[64+((unsigned int)m7 & 0xffffff80)], _MM_HINT_T
    +0);
    
  5. or download this
    BOOL MySetLockPagesPrivilege(HANDLE hProcess, BOOL bEnable)
    {
    ...
       printf("VirtualAlloc ok p=%p\n", pMem);
       return pMem;
    }
    
  6. or download this
    #include <emmintrin.h>
    #include <smmintrin.h>
    ...
      }
      return iret;
    }
    
  7. or download this
    #define UNROLL(qx) \
      q9 = bytevecM[(unsigned int)(m7 ^ qx)];                         \
    ...
          }                                                           \
        }                                                             \
      }
    
  8. or download this
    for (q8 = 1; q8 < 128; ++q8) {
      if (q8 == 10 || q8 == 13) continue;
    ...
      ps[iret].m128i_i16[6] = q9;
      ++iret;
    }
    
  9. or download this
    UNROLL(1)
    UNROLL(2)
    ...
    for (q8 = 14; q8 < 128; ++q8) {
      UNROLL(q8)
    }
    
  10. or download this
    UNROLL(1)
    UNROLL(2)
    UNROLL(3)
    ...
    UNROLL(127)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1085685]
Approved by lidden
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-29 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found