]> granicus.if.org Git - python/commitdiff
Update comment: SPARC requires proper alignment
authorChristian Heimes <christian@cheimes.de>
Sun, 14 Oct 2012 12:36:09 +0000 (14:36 +0200)
committerChristian Heimes <christian@cheimes.de>
Sun, 14 Oct 2012 12:36:09 +0000 (14:36 +0200)
Modules/_sha3/sha3module.c

index ac568b83f9281f69d61f0abe8239e294c2e5328a..bde474f8f839526e6eaec2c6df24e10c7d26b29a 100644 (file)
@@ -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 */