diff options
author | Christian Heimes <christian@cheimes.de> | 2012-10-14 12:36:09 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-10-14 12:36:09 (GMT) |
commit | 1f476504fe64b5ea066cdd027bded4c50b2f3d82 (patch) | |
tree | 3e5ac983360025ecc664ea896da23cb74e16b418 /Modules/_sha3 | |
parent | 12e6a53b99298f8bb8ad00bf2f0ad22f78e92ae6 (diff) | |
download | cpython-1f476504fe64b5ea066cdd027bded4c50b2f3d82.zip cpython-1f476504fe64b5ea066cdd027bded4c50b2f3d82.tar.gz cpython-1f476504fe64b5ea066cdd027bded4c50b2f3d82.tar.bz2 |
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 ac568b8..bde474f 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 */ |