Skip to content

Commit

Permalink
A little trick with x13mod
Browse files Browse the repository at this point in the history
  • Loading branch information
lasybear committed Jun 3, 2014
1 parent cbdf6b3 commit f10bf3a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions kernel/hamsi_helper.cl
Original file line number Diff line number Diff line change
Expand Up @@ -9283,7 +9283,7 @@ __constant static const sph_u32 T512_62[4][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc >> 6][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down Expand Up @@ -10929,7 +10929,7 @@ __constant static const sph_u32 T512_63[2][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc >> 5][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down Expand Up @@ -12903,7 +12903,7 @@ __constant static const sph_u32 T512_60[16][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc >> 4][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down Expand Up @@ -15630,7 +15630,7 @@ __constant static const sph_u32 T512_60[16][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc >> 3][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down Expand Up @@ -19836,7 +19836,7 @@ __constant static const sph_u32 T512_60[16][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc >> 2][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down Expand Up @@ -26993,7 +26993,7 @@ __constant static const sph_u32 T512_63[2][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc >> 1][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down Expand Up @@ -39491,7 +39491,7 @@ __constant static const sph_u32 T512_56[256][16] = {

#define INPUT_BIG do { \
unsigned acc = buf(0); \
const sph_u32 *rp; \
__constant const sph_u32 *rp; \
rp = &T512_0[acc][0]; \
m0 = rp[0]; \
m1 = rp[1]; \
Expand Down

0 comments on commit f10bf3a

Please sign in to comment.