mirror of https://github.com/python/cpython
Update comment: SPARC requires proper alignment
This commit is contained in:
parent
12e6a53b99
commit
1f476504fe
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue