Lines Matching defs:word
219 static inline uint32_t CC_ROL(uint32_t word, int i)
222 :"=r" (word)
223 :"0" (word),"c" (i));
224 return word;
227 static inline uint32_t CC_ROR(uint32_t word, int i)
230 :"=r" (word)
231 :"0" (word),"c" (i));
232 return word;
236 #define CC_ROLc(word, i) \
237 ({ uint32_t _word=(word); \
245 #define CC_RORc(word, i) \
246 ({ uint32_t _word=(word); \
257 static inline uint32_t CC_ROL(uint32_t word, int i)
259 return ( (word<<(i&31)) | (word>>(32-(i&31))) );
262 static inline uint32_t CC_ROR(uint32_t word, int i)
264 return ( (word>>(i&31)) | (word<<(32-(i&31))) );
277 static inline uint64_t CC_ROL64(uint64_t word, int i)
280 :"=r" (word)
281 :"0" (word),"c" (i));
282 return word;
285 static inline uint64_t CC_ROR64(uint64_t word, int i)
288 :"=r" (word)
289 :"0" (word),"c" (i));
290 return word;
294 #define CC_ROL64c(word, i) \
296 uint64_t _word=(word); \
303 #define CC_ROR64c(word, i) \
305 uint64_t _word=(word); \
317 static inline uint64_t CC_ROL64(uint64_t word, int i)
319 return ( (word<<(i&63)) | (word>>(64-(i&63))) );
322 static inline uint64_t CC_ROR64(uint64_t word, int i)
324 return ( (word>>(i&63)) | (word<<(64-(i&63))) );