Fix -m 9000 speed (AMD ONLY)

pull/30/head
jsteube 9 years ago
parent 0e5b37a537
commit 18d5f4126a

@ -303,7 +303,7 @@ __constant u32 c_pbox[18] =
0x9216d5d9, 0x8979fb1b
};
/*
#ifdef IS_AMD
#define BF_ROUND(L,R,N) \
{ \
uchar4 c = as_uchar4 ((L)); \
@ -317,9 +317,9 @@ __constant u32 c_pbox[18] =
\
(R) ^= tmp ^ P[(N)]; \
}
*/
#endif
#ifdef IS_NV
#define BF_ROUND(L,R,N) \
{ \
u32 tmp; \
@ -331,6 +331,7 @@ __constant u32 c_pbox[18] =
\
(R) ^= tmp ^ P[(N)]; \
}
#endif
#define BF_ENCRYPT(L,R) \
{ \

Loading…
Cancel
Save