mirror of
https://github.com/python/cpython.git
synced 2025-10-18 20:58:48 +00:00
Update comment: SPARC requires proper alignment
This commit is contained in:
parent
12e6a53b99
commit
1f476504fe
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue