mirror of
https://github.com/pmai/sha3.git
synced 2025-12-21 15:24:28 +01:00
Use 32bit implementation for 64bit LispWorks.
Quick and dirty benchmarks seem to imply that 32bit implementation is faster for 64bit LispWorks than 16bit implementation, even though it causes more consing.
This commit is contained in:
14
sha3.asd
14
sha3.asd
@ -26,7 +26,7 @@
|
||||
;;;; other dealings in this Software without prior written authorization
|
||||
;;;; from the author.
|
||||
;;;;
|
||||
;;;; $Id$
|
||||
;;;; $Id: 2cbc5857639b13160ef580514a78749c02b70c0b $
|
||||
|
||||
(cl:in-package #:cl-user)
|
||||
|
||||
@ -50,9 +50,11 @@
|
||||
(:file "keccak-64bit" :depends-on ("pkgdef" "common"))
|
||||
#+(or (and :sbcl (not (or :x86-64 :alpha)))
|
||||
:cmucl
|
||||
(and :ccl :64-bit-target))
|
||||
(and :ccl :64-bit-target)
|
||||
(and :lispworks :lispworks-64bit))
|
||||
(:file "keccak-32bit" :depends-on ("pkgdef" "common"))
|
||||
#-(or :sbcl :cmucl (and :ccl :64-bit-target))
|
||||
#-(or :sbcl :cmucl (and :ccl :64-bit-target)
|
||||
(and :lispworks :lispworks-64bit))
|
||||
(:file "keccak-16bit" :depends-on ("pkgdef" "common"))
|
||||
(:file "sha3"
|
||||
:depends-on ("pkgdef"
|
||||
@ -61,7 +63,9 @@
|
||||
"keccak-64bit"
|
||||
#+(or (and :sbcl (not (or :x86-64 :alpha)))
|
||||
:cmucl
|
||||
(and :ccl :64-bit-target))
|
||||
(and :ccl :64-bit-target)
|
||||
(and :lispworks :lispworks-64bit))
|
||||
"keccak-32bit"
|
||||
#-(or :sbcl :cmucl (and :ccl :64-bit-target))
|
||||
#-(or :sbcl :cmucl (and :ccl :64-bit-target)
|
||||
(and :lispworks :lispworks-64bit))
|
||||
"keccak-16bit"))))
|
||||
|
||||
Reference in New Issue
Block a user