Changeset 1576


Ignore:
Timestamp:
Oct 22, 2011, 9:29:01 PM (8 years ago)
Author:
cameron
Message:

Use BLOCK_SIZE instead of BLOCKSIZE

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock.hpp

    r1555 r1576  
    2424#endif
    2525
    26 #ifndef BLOCKSIZE
    27 #define BLOCKSIZE 128
     26#ifndef BLOCK_SIZE
     27#define BLOCK_SIZE 128
    2828#endif
    2929
    30 /*  Default BLOCKSIZE is 128, compatible with SSE, Altivec, SPU */
    31 #if (BLOCKSIZE == 128)
     30/*  Default BLOCK_SIZE is 128, compatible with SSE, Altivec, SPU */
     31#if (BLOCK_SIZE == 128)
    3232#include "bitblock128.hpp"
    3333#endif
    3434
    35 /*  BLOCKSIZE 256 for AVX */
    36 #if (BLOCKSIZE == 256)
     35/*  BLOCK_SIZE 256 for AVX */
     36#if (BLOCK_SIZE == 256)
    3737#include "bitblock256.hpp"
    3838#endif
  • trunk/lib/idisa.hpp

    r1543 r1576  
    22#define IDISA_HPP
    33
    4 #ifndef BLOCKSIZE
    5 #define BLOCKSIZE 128
     4#ifndef BLOCK_SIZE
     5#define BLOCK_SIZE 128
    66#endif
    77
    8 #if (BLOCKSIZE == 128)
     8#if (BLOCK_SIZE == 128)
    99#include "idisa128.hpp"
    1010typedef bitblock128_t BitBlock;
     
    3030#endif
    3131
    32 #if (BLOCKSIZE == 256)
     32#if (BLOCK_SIZE == 256)
    3333#include "idisa256.hpp"
    3434typedef bitblock256_t BitBlock;
Note: See TracChangeset for help on using the changeset viewer.