Update comment: SPARC requires proper alignment

This commit is contained in:
Christian Heimes 2012-10-14 14:36:09 +02:00
parent 12e6a53b99
commit 1f476504fe
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@
* *************************************************************************/ * *************************************************************************/
#ifdef __sparc #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 #define KeccakOpt 32
#elif SIZEOF_VOID_P == 8 && defined(PY_UINT64_T) #elif SIZEOF_VOID_P == 8 && defined(PY_UINT64_T)
/* opt64 works only for 64bit platforms with unsigned int64 */ /* opt64 works only for 64bit platforms with unsigned int64 */