mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +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
|
||||
/* 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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue