diff options
author | Christian Heimes <christian@cheimes.de> | 2012-10-14 14:36:09 +0200 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-10-14 14:36:09 +0200 |
commit | 1f476504fe64b5ea066cdd027bded4c50b2f3d82 (patch) | |
tree | 3e5ac983360025ecc664ea896da23cb74e16b418 /Modules/_sha3 | |
parent | get 64bit platforms without uint64 right again (diff) | |
download | cpython-1f476504fe64b5ea066cdd027bded4c50b2f3d82.tar.gz cpython-1f476504fe64b5ea066cdd027bded4c50b2f3d82.tar.bz2 cpython-1f476504fe64b5ea066cdd027bded4c50b2f3d82.zip |
Update comment: SPARC requires proper alignment
Diffstat (limited to 'Modules/_sha3')
-rw-r--r-- | Modules/_sha3/sha3module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_sha3/sha3module.c b/Modules/_sha3/sha3module.c index ac568b83f92..bde474f8f83 100644 --- a/Modules/_sha3/sha3module.c +++ b/Modules/_sha3/sha3module.c @@ -96,7 +96,8 @@ * *************************************************************************/ #ifdef __sparc - /* On SPARC with Solaris CC opt64 fails with 'invalid address alignment' */ + /* opt64 uses un-aligned memory access that causes a BUS error with msg + * 'invalid address alignment' on SPARC. */ #define KeccakOpt 32 #elif SIZEOF_VOID_P == 8 && defined(PY_UINT64_T) /* opt64 works only for 64bit platforms with unsigned int64 */ |