Add specific declarations, switch 16bit SBCL to not use rotate-byte.

This commit is contained in:
2012-11-03 23:12:35 +01:00
parent de0b98d114
commit aca911af4a
3 changed files with 3 additions and 8 deletions

View File

@ -139,7 +139,7 @@
(declare (fixnum y))
(dotimes (x #.+keccak-state-columns+)
(declare (fixnum x))
(let* ((element (+ (* y +keccak-state-columns+) x))
(let* ((element (+ (the fixnum (* y +keccak-state-columns+)) x))
(part (* element +keccak-state-splits+))
(offset (* element +keccak-1600-lane-byte-width+))
(index (the fixnum (+ start offset))))