Add support for AMD64 processors and Microsoft Windows.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 21 May 2016 13:33:28 +0000 (14:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 21 May 2016 16:17:26 +0000 (17:17 +0100)
commit0f23f75ff53acadf80e9d3dfd2dfd14cb526074f
tree0612ad3ee65d8ba1b7b3fb880e20c2f46c77db6e
parente297526c6cfe427a9d70204966745651eac50fdb
Add support for AMD64 processors and Microsoft Windows.

  * Slightly modify CPU-feature-probing code in `base/dispatch.c',
    mostly to use wider registers for the stack operations since there
    are no 32-bit `push' instructions.  The feature codes are the same
    for both, so there's no corresponding header-file change.

  * Add appropriate macros to `base/asm-common.h' for dealing with PIC
    on AMD64.  It's refreshingly straightforward.

  * Modify the existing assembler code to support the new environments.
    This is mostly tuning register allocation and prologue/epilogue
    sequences.

  * Use the fancy code on the new platforms.
base/asm-common.h
base/dispatch.c
configure.ac
symm/Makefile.am
symm/chacha-x86ish-sse2.S [moved from symm/chacha-x86-sse2.S with 65% similarity]
symm/chacha.c
symm/rijndael-base.c
symm/rijndael-x86ish-aesni.S [moved from symm/rijndael-x86-aesni.S with 53% similarity]
symm/rijndael.c
symm/salsa20-x86ish-sse2.S [moved from symm/salsa20-x86-sse2.S with 63% similarity]
symm/salsa20.c